summaryrefslogtreecommitdiff
path: root/newgrf_engine.c
AgeCommit message (Collapse)Author
2006-05-03(svn r4714) - NewGRF: simplify evaluation of 'real' sprite groups.peter1138
2006-05-03(svn r4708) - NewGRF: fix selection of number of loaded and loading states.peter1138
2006-05-02(svn r4702) - NewGRF: add support for 'special' vehicle callbacks that use a ↵peter1138
different vehicle for parent scope than the first vehicle in the consist.
2006-05-02(svn r4697) - NewGRF: callback IDs can now be 16 bit values.peter1138
2006-05-02(svn r4696) - NewGRF: add support for vehicle variable 0x60, count vehicle ↵peter1138
type occurance.
2006-05-02(svn r4691) - Codechange: don't use unnamed unions as GCC 2.95.ancient won't ↵peter1138
compile it. Needed for our MorphOS user ;)
2006-05-01(svn r4649) - NewGRF: limit helicopter rotor animation frames to the number ↵peter1138
of sprites in the set.
2006-05-01(svn r4644) - NewGRF: support for variable 0x44, aircraft information. (mart3p)peter1138
2006-05-01(svn r4643) - NewGRF: Add support for ttdp aircraft states. This involves ↵peter1138
mapping from our own state. (heavily based on mart3p's code)
2006-05-01(svn r4636) - NewGRF: when dealing with vehicle types other than trains, set ↵peter1138
the parent scope vehicle to be the same as self scope. (Thanks mart3p)
2006-04-30(svn r4632) - NewGRF: support loading of helicopter rotor sprites (mart3p)peter1138
2006-04-30(svn r4629) - NewGRF: constify more code that deals with sprite groups, now ↵peter1138
that ref counting is gone.
2006-04-28(svn r4611) - NewGRF: introduce new vehicle sprite group resolver code. This ↵peter1138
also fixes some known bugs (e.g. the 'Standard Five' in UKRS is now the correct colour)
2006-04-28(svn r4609) - NewGRF: give GetCustomEngineSprite the correct return typepeter1138
2006-04-27(svn r4600) - NewGRF: minor code style tidy uppeter1138
2006-04-26(svn r4583) - NewGRF: Revamp sprite group loading to support advanced ↵peter1138
varadjusts and variable size. These are not yet processed, however.
2006-04-23(svn r4559) - NewGRF: keep a record of which grf an engine is defined in. ↵peter1138
Will be used in the future.
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.