summaryrefslogtreecommitdiff
path: root/newgrf_engine.c
AgeCommit message (Collapse)Author
2006-11-29(svn r7285) -Fix (r7282): Our vehstatus is a byte, not a word.peter1138
2006-11-28(svn r7284) -Fix (r2361): off by one when calculating vehicle newgrf ↵peter1138
variable 41 result, partly blamed by vague documentation... (thanks lakie)
2006-11-28(svn r7282) -Fix (r625): ttdpatch vars are little endianpeter1138
2006-10-21(svn r6870) - Codechange: (re-)unify the code to retrieve the sprite group ↵peter1138
for a vehicle.
2006-10-17(svn r6795) - NewGRF: Add support for cargo-specific wagon overrides.peter1138
2006-10-12(svn r6756) - Fix: When resolving vehicle groups, only fall back to the ↵peter1138
default group if the group chosen is undefined, not if it returns a bad result. This fixes some issues with UKRS.
2006-10-11(svn r6736) - Add a function to get the list position of an engine ID, for ↵peter1138
use with sorting. This is basically a reversed version of GetRailVehAtPosition()
2006-10-11(svn r6735) - Codestyle: Just some tidying up...peter1138
2006-09-27(svn r6532) - Feature: Add support for NewGRF sound effects. Currently sound ↵peter1138
priority isn't supported.
2006-08-20(svn r6013) -Fix: some newgrf properties returned the date in the new format ↵rubidium
where the newgrf's expect the original format. Thanks to michi_cc for finding these and providing the initial patch.
2006-08-20(svn r5975) -Cleanup: use ORIGINAL_BASE_YEAR & ORIGINAL_MAX_YEAR where the ↵rubidium
functions really depend on the original date format. -Cleanup: use DAYS_TILL_ORIGINAL_BASE_YEAR where the date variables are in the old date format and conversions are needed. -Cleanup: replace one (forgotten) instance of uint16 with Date.
2006-08-16(svn r5926) -Codechange: make _cur_year contain the full year, instead of ↵rubidium
the offset since 1920 -Codechange: store all year related variables that are _not_ stored in a savegame/transported over the network in the same format as _cur_year
2006-08-14(svn r5887) -Cleanup: move date related functions, defines and variables to ↵rubidium
date.[ch] -Cleanup: fix whitespace related coding style issues in date.[ch] -Cleanup: make original comments doxygen compatible and remove/change outdated comments
2006-06-23(svn r5346) - Feature: Add 4 new airports. 2 for aircraft, 2 for helicopters.richk
Commuter airport: Small. 5x4. 3 terminals, 2 helipads. Intercontinental: massive. 9x11. 8 terminals, 2 helipads, 4 runways. Helidepot: a small heliport with a depot for helis only. Helistation: a large heliport with 3 helipads and a depot.
2006-06-22(svn r5338) - NewGRF: add support for vehicle variable 48, vehicle type info ↵peter1138
(more mart3p)
2006-06-22(svn r5337) - NewGRF: pass the engine type to the engine resolver, to allow ↵peter1138
support for variable 7F for unbuilt vehicles (mart3p)
2006-06-22(svn r5336) - NewGRF: draw custom helicopter rotor sprites in vehicle info ↵peter1138
window, ensuring the correct direction is used (inspiration from mart3p)
2006-06-22(svn r5335) - Newgrf: correct spelling of hangarpeter1138
2006-06-20(svn r5320) - NewGRF: make sets using TTDPatch's train reversing ↵peter1138
hack/feature happier (and consistent) by returning 0 for the flag it uses.
2006-06-14(svn r5262) Add symbolic names for the aircraft subtypes. not perfect, but ↵tron
better than raw numbers
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