Commit Graph

97 Commits (a02417645e4cf1563b01819ac92ab507277b5b56)

Author SHA1 Message Date
belugas 86abe1b229 (svn r9994) -Codechange: Add pointers for Industry and Industry Tiles in the grf file. 17 years ago
belugas 0cb8413a8f (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 17390241e6 (svn r9923) -Add: support for Action 0 Road vehicles, property 1C, bit 0. 17 years ago
rubidium 9060ab4af1 (svn r9918) -Fix: the available roadtypes/railtypes were not updated on GRF updates. 17 years ago
peter1138 d5d94e230f (svn r9916) -Codechange: Free memory used by cargo translation tables 17 years ago
peter1138 f1c0229b5d (svn r9890) -Codechange: Don't allocate space for 0 spriteset ranges 17 years ago
peter1138 1ce633b894 (svn r9883) -Fix (r4965): [NewGRF] Check for overflow and carry over when adding to the existing value. 17 years ago
glx c9d72a900b (svn r9880) -Add: [NewGRF] Add action 7/9 condition 0B/0C (cargo type availability) 17 years ago
peter1138 a58bd26b74 (svn r9877) -Revert (r9876): one file too many... 17 years ago
peter1138 47d17bea9d (svn r9876) -Codechange: [NewHouses] Add support for callback 2E (cargo production) 17 years ago
rubidium ba24c34f85 (svn r9869) -Codechange: replace some bytes with VehicleType, i.e. more type strictness. 17 years ago
belugas 3fb4003534 (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 196ddae1db (svn r9843) -Fix (r9838): tell the newgrfs that we now support proper FIFO loading. 17 years ago
peter1138 5e00e688f8 (svn r9827) -Codechange/Fix: [NewGRF] Text strings of 1 character are perfectly valid... (fixes dbsetxl refits again...) 17 years ago
peter1138 c9018d3e7c (svn r9825) -Codechange: [NewGRF] Add support for early vehicle retirement. 17 years ago
maedhros 3cc31aae86 (svn r9823) -Feature: Add support for house property 1F - minimum life span. 17 years ago
rubidium fe1306ce65 (svn r9799) -Codechange: separate engine class and engine running cost class (mart3p). 17 years ago
peter1138 37a873e03c (svn r9797) -Feature: [NewGRF] Add action 1, 2 and 3 support for canals. 17 years ago
rubidium 5c0a52149d (svn r9795) -Codechange: enumify the EngineClass. 17 years ago
maedhros cf927a9792 (svn r9793) -Fix (r9701): Action D 'TTDPatch variable' 0x0B should be the starting year, not the current year. 17 years ago
peter1138 74bf87dd82 (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 449e76c05a (svn r9775) -Fix: Remove arbitrary limit on length of NewGRF strings. 17 years ago
maedhros 889f2ab48c (svn r9730) -Feature: [NewGRF] Add support for miscellaneous grf feature bit 1 - paved roads on desert tiles. 17 years ago
belugas 5912b08890 (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
peter1138 5b5598b2a6 (svn r9717) -Codechange: (NewGRF) Skip Action 5 & A sprites in all loading stages except activation. 17 years ago
peter1138 a4b3066433 (svn r9701) -Codechange: Add support for returning 'ttdpatch variables' - http://wiki.ttdpatch.net/tiki-index.php?page=ActionDSpecialVariables 17 years ago
peter1138 8e457248a7 (svn r9690) -Codechange: Update another couple of NewGRF TTDPatch flags 17 years ago
peter1138 67529d2e63 (svn r9686) -Codechange: Update a couple of NewGRF TTDPatch flags 17 years ago
rubidium 2dc5589290 (svn r9673) -Cleanup: remove spaces before tabs and replace non-indenting tabs with spaces. 17 years ago
rubidium 80c259f64f (svn r9672) -Cleanup: lots of coding style fixes around operands. 17 years ago
belugas 607a55f4ec (svn r9662) -Documentation: Doxygen corrections and @file omissions 17 years ago
peter1138 2b2cfaeec1 (svn r9655) -Revert (r9094 partial): *Do* calculate refit masks for unavailable vehicle types... things like articulated engines can still build these parts... ... ... dot dot dot 17 years ago
belugas 792339554f (svn r9653) -Codechange: Indicate the proper function names in the GRF messages 17 years ago
peter1138 229eb8cba5 (svn r9646) -Fix (r9645): incorrect count in error message for airport graphics 17 years ago
peter1138 15e112c290 (svn r9645) -Feature: Add NewGRF Action 5 (Sprite Replacement) support for 2cc colour maps, airport, and road stop sprites. 17 years ago
peter1138 49eb9b6fad (svn r9638) -Feature: Increase cargo types from 12 to 32 and enable newcargo flag in NewGRF loader. 17 years ago
peter1138 01ef0284cb (svn r9621) -Codechange: implement newgrf house property 1E (cargo types) 17 years ago
peter1138 69982b1f01 (svn r9601) -Codechange: Store grf file reference in station spec, not just GRF ID 17 years ago
rubidium db91588845 (svn r9560) -Codechange: add support for multiple 'base' directories for newgrf searching.
-Codechange: do not add duplicate files to the newgrf list.
18 years ago
peter1138 f56fbbfed9 (svn r9439) -Codechange: check for valid default cargo type even if a vehicle is not refittable... 18 years ago
peter1138 e74169364c (svn r9438) -Codechange: Map cargo colours from DOS to Windows if necessary. 18 years ago
peter1138 0ceca4140a (svn r9436) -Fix (r9411): don't deactivate GRF in an action 7/9 during reservation (and loading of cargo data), and action 6 should be run also 18 years ago
peter1138 68572f1076 (svn r9418) -Codechange: Implement actions 1/2/3 for cargos, callback handler and custom icon sprites 18 years ago
peter1138 2e32df30dd (svn r9416) -Codechange: Split NewGRF Action 3 handler into separate functions for each feature (vehicles are common, though) 18 years ago
peter1138 85ec21e8c5 (svn r9413) -Codechange: Remove default cargo translation table and use bitnums directly if no table is provided. This lets pre-cargolabel cargo definitions work. 18 years ago
peter1138 4d81a464e2 (svn r9411) -Codechange: Add support for loading of newcargo data. 18 years ago
belugas 06d3669bb5 (svn r9400) -Codechange: Use some more representative enum names for landscape types. 18 years ago
peter1138 d7f56f1550 (svn r9388) -Codechange: variable scope and type, and standardify all CargoID loops. 18 years ago
rubidium a9651a8b8f (svn r9387) -Fix (r9385): termination of a comment forgotten. 18 years ago
belugas dcd510c81f (svn r9385) -Cleanup: doxygen changes. Today, we are exploring the letter N. 18 years ago