summaryrefslogtreecommitdiff
path: root/newgrf_engine.c
AgeCommit message (Collapse)Author
2006-05-31(svn r5060) - NewGRF: add support for variable 7F (retrieve GRF parameter) ↵peter1138
for vehicles
2006-05-31(svn r5059) - NewGRF: store a GRFFile pointer reference for each pointer, ↵peter1138
instead of just the GRF ID.
2006-05-30(svn r5047) - NewGRF: fix typo of AIRPORT in enumpeter1138
2006-05-23(svn r4960) - NewGRF: explicitly handle unsupported variables, instead of ↵peter1138
returning -1.
2006-05-19(svn r4910) - NewGRF: add and initialize cargo subtype for vehicle visual ↵peter1138
variations
2006-05-18(svn r4902) Newgrf : Introduction of the newgrf_cargo files. belugas
Clearing engine and newgrf_engine from cargo related structures. Apart from moving stuff cargo related, there is nothing really newcargo for now.
2006-05-17(svn r4896) - NewGRF: add support for vehicle property 0x25 (user defined ↵peter1138
data) used by variable 0x42.
2006-05-15(svn r4872) - NewGRF: add support for vehicle variable 0x47 (mart3p)peter1138
2006-05-14(svn r4869) - NewGRF: support setting train list vehicle width to 32 instead ↵peter1138
of 29 pixels, for sets which use 32 pixel long engines/wagons.
2006-05-14(svn r4867) - NewGRF: implement partial support for engine variable 0x42peter1138
2006-05-08(svn r4781) - NewGRF: give _traininfo_vehicle_pitch a proper declarationpeter1138
2006-05-03(svn r4721) - NewGRF: use loading sprites rather than loaded when there is ↵peter1138
no vehicle (fixes issue with purchase list)
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.