summaryrefslogtreecommitdiff
path: root/newgrf_engine.c
AgeCommit message (Collapse)Author
2006-04-22(svn r4529) - Codechange: Use proper naming for hex numbers in debug prints ↵Darkvater
eg. 0xF3A6. Use fixed lengths where applicable (newgrf). Unfortunately '%#X' is unusable since it gives 0XFF3 and '%#x' gives 0xff3 while we want 0xFF3 :P
2006-04-21(svn r4510) - NewGRF bounds checking:peter1138
- check Engine ID is within range - don't try setting a vehicle name if the string id is not a valid Engine ID
2006-04-21(svn r4500) - NewGRF: When running a callback with no vehicle, use the ↵peter1138
purchase list 'cargo' type first, and then fallback to the default if needed.
2006-04-21(svn r4496) - NewGRF: switch custom engine names from storing a char* to ↵peter1138
using the new StringID based text system. Vehicle name translations now work.
2006-04-20(svn r4486) - NewGRF: Create and use a memory pool to manage sprite groups. ↵peter1138
This reduces the amount of house keeping we do and the chance of memory leaks.
2006-03-31(svn r4198) - NewGRF: Rename GetCallBackResult() to GetVehicleCallback(), as ↵peter1138
other types will exist later, and use separate parameters instead of bitshifting.
2006-03-26(svn r4132) - Missed 3 CargoID'sDarkvater
2006-03-26(svn r4128) - CodeChange: Add proper semantics for CargoID for such ↵Darkvater
variables instead of using the general byte-type.
2006-03-22(svn r4039) - NewGRF: Add support for a few more vehicle variables. These ↵peter1138
are sometimes used for animation of sprites.
2006-03-08(svn r3783) Replace further ints and magic numbers by Direction, ↵tron
DiagDirection and friends
2006-02-12(svn r3594) - NewGRF: Add support for some vehicle specific properties and a ↵peter1138
give a debug message for unknown variables.
2006-02-05(svn r3557) - NewGRF: move callback enums to a new file as more than just ↵peter1138
engines will use them
2006-02-04(svn r3546) - NewGRF feature: Implement rail vehicle 'property' 0x1A: allows ↵peter1138
shuffling order of rail vehicle purchase list (and replace vehicle list)
2006-02-03(svn r3524) - Split newgrf features from engine.[ch] into ↵peter1138
newgrf_engine.[ch], and add the new files to project files.