Commit Graph

123 Commits (5e7d4ffe9fa2a5f0c3fa8349d7beb885e17c475f)

Author SHA1 Message Date
rubidium 4c356457e6 (svn r10442) -Codechange: implement the industry production callback. 17 years ago
maedhros 6fbfa4498c (svn r10436) -Cleanup: Doxygenise some comments, update others, and make a few statements more consistent with everything else. 17 years ago
maedhros 78d74efd3a (svn r10435) -Fix (r9315): numinfo starts from 1, not 0, so make it possible to define a house with a local id of 255. 17 years ago
maedhros fd475d47d8 (svn r10434) -Fix (r9315): When setting multiple house overrides in one Action 0, don't override them all with the first ID. 17 years ago
maedhros d938a4ffe6 (svn r10433) -Codechange: Remove FOR_EACH_OBJECT by moving the for loops in 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.
17 years ago
rubidium 627aa240ba (svn r10298) -Fix [FS#903]: show the subdirectory below the default data 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. 17 years ago
glx 623a848cca (svn r10211) -Feature: [NewGRF] Add support for action 0F 17 years ago
rubidium 7fbd4e4ab4 (svn r10180) -Fix (r10167): do not reset the 2cc loaded feature setting when a (later) newgrf does not have 2cc. 17 years ago
maedhros 8765343e2e (svn r10178) -Fix: Don't deactivate newgrf files when skipping the rest of the file during the initialisation stage. 17 years ago
belugas 0f0b58d429 (svn r10167) -Codechange: Change the flagging system of grf loaded feature from a bitset to a bool evaluation.
Like easier to read and faster to evaluate :)
17 years ago
truelight 5d55a9435b (svn r10157) -Fix: use as indentified for PNGs, the place of the image as it was in the grf, not the internal SpriteID 17 years ago
celestar 8d623faf0d (svn r10141) -Fix (FS#848, r8973): Set the newgrf bit for realistic plane speeds (bulb) 17 years ago
peter1138 19db4ee85c (svn r10128) -Fix (r4811): missing printf parameters in newgrf debug message 17 years ago
maedhros 94d390eac4 (svn r10114) -Fix: Only load newgrf error messages if the language matches 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.
17 years ago
maedhros e5ea54fe22 (svn r10110) -Fix: Reset NewGRF errors along with all the other NewGRF data so that errors get loaded again when pressing "Apply". 17 years ago
maedhros c186f91cbd (svn r10097) -Feature: Add support for articulated road vehicles, or callbacks 11 and 17 for
road vehicles for those who prefer the technical explanation.
17 years ago
belugas 7f8b42b598 (svn r10088) -Codechange: A typo and a code-style 17 years ago
rubidium 9a57a1912d (svn r10073) -Codechange: make the NewGRF paths in the config file without any full paths (again). 17 years ago
peter1138 bbfad49142 (svn r10059) -Fix (r10045): Pretend GRF is still in initialisation state when leaving reservation stage. This fixes action 7/9 tests for grfs that will be active. 17 years ago
peter1138 2e9a4359f0 (svn r10052) -Codechange: Support reserve/activate stage bits of action 7/9 variable 84. 17 years ago
peter1138 f20f1eb47b (svn r10045) -Codechange: Process Action 8 during GLS_RESERVATION to allow Action 7/Action 9s to work properly 17 years ago
peter1138 6c11a1f9b7 (svn r10044) -Fix: Minor NewGRF debug message fixes, and skip sprites of an unsupported Action 5 feature. 17 years ago
peter1138 7660db1716 (svn r10019) -Codechange: Implement GRM for newcargos 17 years ago
belugas 4c243d099c (svn r10005) -Codechange: Merge two flags (2cc and newhouses) indicating some newgrf features have been loaded, and introduce the newindustry one. 17 years ago
belugas 78151810d7 (svn r10001) -Codechange: Add support for removing dynamically allocated newgrf data 17 years ago
rubidium 294a154bf7 (svn r9999) -Feature: make it possible to disallow busses and lorries to go a specific way on straight pieces of road. 17 years ago
belugas 311b04e87a (svn r9994) -Codechange: Add pointers for Industry and Industry Tiles in the grf file. 17 years ago
belugas e4785e0376 (svn r9976) -Codechange: Declare a writable array of specs for industry and industry tiles.
It will be initialized by the original data upon game start.
Rename some enums to be more consistent too
17 years ago
rubidium a8d9b4e040 (svn r9923) -Add: support for Action 0 Road vehicles, property 1C, bit 0. 17 years ago
rubidium 7ec428fe7e (svn r9918) -Fix: the available roadtypes/railtypes were not updated on GRF updates. 17 years ago
peter1138 a507341089 (svn r9916) -Codechange: Free memory used by cargo translation tables 17 years ago
peter1138 d20e06f9b6 (svn r9890) -Codechange: Don't allocate space for 0 spriteset ranges 17 years ago
peter1138 6670d1c018 (svn r9883) -Fix (r4965): [NewGRF] Check for overflow and carry over when adding to the existing value. 17 years ago
glx 1e696cc27b (svn r9880) -Add: [NewGRF] Add action 7/9 condition 0B/0C (cargo type availability) 17 years ago
peter1138 44b7f10db1 (svn r9877) -Revert (r9876): one file too many... 17 years ago
peter1138 d22478a22b (svn r9876) -Codechange: [NewHouses] Add support for callback 2E (cargo production) 17 years ago
rubidium c8d05162c2 (svn r9869) -Codechange: replace some bytes with VehicleType, i.e. more type strictness. 17 years ago
belugas 641d51a5ad (svn r9850) -Codechange: Introduction of the Override/Substitute manager. Currently only used for newhouses.
Basically, it is more a gathering of IDs from grf files and ingame data.
17 years ago
rubidium 3615d2aeee (svn r9843) -Fix (r9838): tell the newgrfs that we now support proper FIFO loading. 17 years ago
peter1138 aae8d359e6 (svn r9827) -Codechange/Fix: [NewGRF] Text strings of 1 character are perfectly valid... (fixes dbsetxl refits again...) 17 years ago
peter1138 f7ccb6e31e (svn r9825) -Codechange: [NewGRF] Add support for early vehicle retirement. 17 years ago
maedhros 304075b389 (svn r9823) -Feature: Add support for house property 1F - minimum life span. 17 years ago
rubidium f47e81c900 (svn r9799) -Codechange: separate engine class and engine running cost class (mart3p). 17 years ago
peter1138 e109773636 (svn r9797) -Feature: [NewGRF] Add action 1, 2 and 3 support for canals. 17 years ago
rubidium 425923c8d2 (svn r9795) -Codechange: enumify the EngineClass. 17 years ago
maedhros b219b7b53a (svn r9793) -Fix (r9701): Action D 'TTDPatch variable' 0x0B should be the starting year, not the current year. 17 years ago
peter1138 9adf583122 (svn r9790) -Codechange: [NewGRF] Skip action 1 sprites in all stages except 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. 17 years ago
peter1138 cef3e9bde1 (svn r9775) -Fix: Remove arbitrary limit on length of NewGRF strings. 17 years ago
maedhros 1d05573950 (svn r9730) -Feature: [NewGRF] Add support for miscellaneous grf feature bit 1 - paved roads on desert tiles. 17 years ago
belugas 73a0ccdf9a (svn r9721) -Codechange: -Codechange: Cleanup of industry_cmd (Step-12). Dynamically build the legends (name and color) for industries in the smallmap_gui.
All the tiny fonts industry names should be removed from language files soon.
17 years ago