summaryrefslogtreecommitdiff
path: root/src/newgrf.cpp
AgeCommit message (Collapse)Author
2007-07-06(svn r10457) -Codechange: Load the newly read definitions of Industries and ↵belugas
Industry tiles. No, this is not the final commit for newindustries (far from it), just another step.
2007-07-06(svn r10456) -Codechange: Enable loading newgrf strings for Industriesbelugas
2007-07-05(svn r10448) -Codechange: Industry Tiles and Houses share almost the same ↵belugas
spritegroup format.
2007-07-05(svn r10442) -Codechange: implement the industry production callback.rubidium
2007-07-04(svn r10436) -Cleanup: Doxygenise some comments, update others, and make a ↵maedhros
few statements more consistent with everything else.
2007-07-04(svn r10435) -Fix (r9315): numinfo starts from 1, not 0, so make it possible ↵maedhros
to define a house with a local id of 255.
2007-07-04(svn r10434) -Fix (r9315): When setting multiple house overrides in one ↵maedhros
Action 0, don't override them all with the first ID.
2007-07-04(svn r10433) -Codechange: Remove FOR_EACH_OBJECT by moving the for loops in ↵maedhros
the Action 0 handlers outside the switch statements. This allows ignoring only the invalid IDs when changing the properties for many objects, rather than ignoring the whole block if one ID is invalid.
2007-06-23(svn r10298) -Fix [FS#903]: show the subdirectory below the default data ↵rubidium
directory in this filename in the newgrf list. The directory was removed in r9560 because then it used to full path instead of the path relative to the data directory, but since the inclusion of "search paths" that is not necessary anymore.
2007-06-18(svn r10211) -Feature: [NewGRF] Add support for action 0Fglx
2007-06-17(svn r10180) -Fix (r10167): do not reset the 2cc loaded feature setting when ↵rubidium
a (later) newgrf does not have 2cc.
2007-06-17(svn r10178) -Fix: Don't deactivate newgrf files when skipping the rest of ↵maedhros
the file during the initialisation stage.
2007-06-15(svn r10167) -Codechange: Change the flagging system of grf loaded feature ↵belugas
from a bitset to a bool evaluation. Like easier to read and faster to evaluate :)
2007-06-14(svn r10157) -Fix: use as indentified for PNGs, the place of the image as it ↵truelight
was in the grf, not the internal SpriteID
2007-06-13(svn r10141) -Fix (FS#848, r8973): Set the newgrf bit for realistic plane ↵celestar
speeds (bulb)
2007-06-13(svn r10128) -Fix (r4811): missing printf parameters in newgrf debug messagepeter1138
2007-06-12(svn r10114) -Fix: Only load newgrf error messages if the language matches ↵maedhros
the current language. Since only one error can be loaded anyway, if the language didn't match you'd get "Undefined string". Also since we're only loading one language there's no need to use AddGRFString any more.
2007-06-12(svn r10110) -Fix: Reset NewGRF errors along with all the other NewGRF data ↵maedhros
so that errors get loaded again when pressing "Apply".
2007-06-11(svn r10097) -Feature: Add support for articulated road vehicles, or ↵maedhros
callbacks 11 and 17 for road vehicles for those who prefer the technical explanation.
2007-06-10(svn r10088) -Codechange: A typo and a code-stylebelugas
2007-06-08(svn r10073) -Codechange: make the NewGRF paths in the config file without ↵rubidium
any full paths (again).
2007-06-07(svn r10059) -Fix (r10045): Pretend GRF is still in initialisation state ↵peter1138
when leaving reservation stage. This fixes action 7/9 tests for grfs that will be active.
2007-06-07(svn r10052) -Codechange: Support reserve/activate stage bits of action 7/9 ↵peter1138
variable 84.
2007-06-05(svn r10045) -Codechange: Process Action 8 during GLS_RESERVATION to allow ↵peter1138
Action 7/Action 9s to work properly
2007-06-05(svn r10044) -Fix: Minor NewGRF debug message fixes, and skip sprites of an ↵peter1138
unsupported Action 5 feature.
2007-06-02(svn r10019) -Codechange: Implement GRM for newcargospeter1138
2007-05-31(svn r10005) -Codechange: Merge two flags (2cc and newhouses) indicating ↵belugas
some newgrf features have been loaded, and introduce the newindustry one.
2007-05-31(svn r10001) -Codechange: Add support for removing dynamically allocated ↵belugas
newgrf data
2007-05-31(svn r9999) -Feature: make it possible to disallow busses and lorries to go ↵rubidium
a specific way on straight pieces of road.
2007-05-31(svn r9994) -Codechange: Add pointers for Industry and Industry Tiles in the ↵belugas
grf file.
2007-05-29(svn r9976) -Codechange: Declare a writable array of specs for industry and ↵belugas
industry tiles. It will be initialized by the original data upon game start. Rename some enums to be more consistent too
2007-05-25(svn r9923) -Add: support for Action 0 Road vehicles, property 1C, bit 0.rubidium
2007-05-25(svn r9918) -Fix: the available roadtypes/railtypes were not updated on GRF ↵rubidium
updates.
2007-05-25(svn r9916) -Codechange: Free memory used by cargo translation tablespeter1138
2007-05-20(svn r9890) -Codechange: Don't allocate space for 0 spriteset rangespeter1138
2007-05-19(svn r9883) -Fix (r4965): [NewGRF] Check for overflow and carry over when ↵peter1138
adding to the existing value.
2007-05-19(svn r9880) -Add: [NewGRF] Add action 7/9 condition 0B/0C (cargo type ↵glx
availability)
2007-05-19(svn r9877) -Revert (r9876): one file too many...peter1138
2007-05-19(svn r9876) -Codechange: [NewHouses] Add support for callback 2E (cargo ↵peter1138
production)
2007-05-18(svn r9869) -Codechange: replace some bytes with VehicleType, i.e. more type ↵rubidium
strictness.
2007-05-15(svn r9850) -Codechange: Introduction of the Override/Substitute manager. ↵belugas
Currently only used for newhouses. Basically, it is more a gathering of IDs from grf files and ingame data.
2007-05-15(svn r9843) -Fix (r9838): tell the newgrfs that we now support proper FIFO ↵rubidium
loading.
2007-05-11(svn r9827) -Codechange/Fix: [NewGRF] Text strings of 1 character are ↵peter1138
perfectly valid... (fixes dbsetxl refits again...)
2007-05-10(svn r9825) -Codechange: [NewGRF] Add support for early vehicle retirement.peter1138
2007-05-10(svn r9823) -Feature: Add support for house property 1F - minimum life span.maedhros
2007-05-06(svn r9799) -Codechange: separate engine class and engine running cost class ↵rubidium
(mart3p).
2007-05-06(svn r9797) -Feature: [NewGRF] Add action 1, 2 and 3 support for canals.peter1138
2007-05-06(svn r9795) -Codechange: enumify the EngineClass.rubidium
2007-05-06(svn r9793) -Fix (r9701): Action D 'TTDPatch variable' 0x0B should be the ↵maedhros
starting year, not the current year.
2007-05-05(svn r9790) -Codechange: [NewGRF] Skip action 1 sprites in all stages except ↵peter1138
activation. This also cleans up some special-case handling of the sprites. Actions 1 and 2 are now not considered unsafe, as an Action 3 (which is unsafe) is required for them.