Darkvater
04628a1979
(svn r7565) -Codechange: Rework DEBUG functionality. Look for appropiate debugging levels to
...
use in debug.h. grfmsg() is now used as a specific debug-function for grf.
2006-12-26 17:36:18 +00:00
peter1138
bc77a4f2b8
(svn r7503) -Codechange: [NewGRF] Add bounds checking for spriteset cargo types. (NewCargo support will change this rule a bit...)
2006-12-18 10:46:06 +00:00
peter1138
93abea25ac
(svn r7285) -Fix (r7282): Our vehstatus is a byte, not a word.
2006-11-29 11:48:47 +00:00
peter1138
00053cd0f7
(svn r7284) -Fix (r2361): off by one when calculating vehicle newgrf variable 41 result, partly blamed by vague documentation... (thanks lakie)
2006-11-28 23:44:12 +00:00
peter1138
23762f9534
(svn r7282) -Fix (r625): ttdpatch vars are little endian
2006-11-28 21:03:28 +00:00
peter1138
0503ba3aa3
(svn r6870) - Codechange: (re-)unify the code to retrieve the sprite group for a vehicle.
2006-10-21 14:53:57 +00:00
peter1138
3625d6f06b
(svn r6795) - NewGRF: Add support for cargo-specific wagon overrides.
2006-10-17 14:52:55 +00:00
peter1138
810d7739dd
(svn r6756) - Fix: When resolving vehicle groups, only fall back to the default group if the group chosen is undefined, not if it returns a bad result. This fixes some issues with UKRS.
2006-10-12 15:05:25 +00:00
peter1138
651317435f
(svn r6736) - Add a function to get the list position of an engine ID, for use with sorting. This is basically a reversed version of GetRailVehAtPosition()
2006-10-11 18:35:40 +00:00
peter1138
2debe11c3b
(svn r6735) - Codestyle: Just some tidying up...
2006-10-11 17:28:31 +00:00
peter1138
8b2e4e970a
(svn r6532) - Feature: Add support for NewGRF sound effects. Currently sound priority isn't supported.
2006-09-27 18:17:01 +00:00
rubidium
29c8097986
(svn r6013) -Fix: some newgrf properties returned the date in the new format where the newgrf's expect the original format. Thanks to michi_cc for finding these and providing the initial patch.
2006-08-20 20:21:00 +00:00
rubidium
b7a3352009
(svn r5975) -Cleanup: use ORIGINAL_BASE_YEAR & ORIGINAL_MAX_YEAR where the 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-20 12:39:17 +00:00
rubidium
e87e065e41
(svn r5926) -Codechange: make _cur_year contain the full year, instead of 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-16 11:39:55 +00:00
rubidium
9fc837ad85
(svn r5887) -Cleanup: move date related functions, defines and variables to date.[ch]
...
-Cleanup: fix whitespace related coding style issues in date.[ch]
-Cleanup: make original comments doxygen compatible and remove/change outdated comments
2006-08-14 14:21:15 +00:00
richk
5d2bff0b78
(svn r5346) - Feature: Add 4 new airports. 2 for aircraft, 2 for helicopters.
...
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-23 22:05:40 +00:00
peter1138
505565c1ce
(svn r5338) - NewGRF: add support for vehicle variable 48, vehicle type info (more mart3p)
2006-06-22 21:31:09 +00:00
peter1138
1e34740946
(svn r5337) - NewGRF: pass the engine type to the engine resolver, to allow support for variable 7F for unbuilt vehicles (mart3p)
2006-06-22 21:25:51 +00:00
peter1138
191023787a
(svn r5336) - NewGRF: draw custom helicopter rotor sprites in vehicle info window, ensuring the correct direction is used (inspiration from mart3p)
2006-06-22 21:15:27 +00:00
peter1138
fed615a997
(svn r5335) - Newgrf: correct spelling of hangar
2006-06-22 21:03:19 +00:00
peter1138
eebcec949b
(svn r5320) - NewGRF: make sets using TTDPatch's train reversing hack/feature happier (and consistent) by returning 0 for the flag it uses.
2006-06-20 13:15:56 +00:00
tron
44829a401c
(svn r5262) Add symbolic names for the aircraft subtypes. not perfect, but better than raw numbers
2006-06-14 11:05:30 +00:00
peter1138
40008b8270
(svn r5060) - NewGRF: add support for variable 7F (retrieve GRF parameter) for vehicles
2006-05-31 17:40:48 +00:00
peter1138
bdfcc8008f
(svn r5059) - NewGRF: store a GRFFile pointer reference for each pointer, instead of just the GRF ID.
2006-05-31 17:31:08 +00:00
peter1138
3f0fb3139d
(svn r5047) - NewGRF: fix typo of AIRPORT in enum
2006-05-30 21:23:01 +00:00
peter1138
1ed3c5778b
(svn r4960) - NewGRF: explicitly handle unsupported variables, instead of returning -1.
2006-05-23 19:36:50 +00:00
peter1138
70306b544f
(svn r4910) - NewGRF: add and initialize cargo subtype for vehicle visual variations
2006-05-19 10:04:03 +00:00
belugas
69f47611db
(svn r4902) Newgrf : Introduction of the newgrf_cargo files.
...
Clearing engine and newgrf_engine from cargo related structures.
Apart from moving stuff cargo related, there is nothing really newcargo for now.
2006-05-18 02:43:23 +00:00
peter1138
7fb02749ac
(svn r4896) - NewGRF: add support for vehicle property 0x25 (user defined data) used by variable 0x42.
2006-05-17 08:20:36 +00:00
peter1138
3aec5f7642
(svn r4872) - NewGRF: add support for vehicle variable 0x47 (mart3p)
2006-05-15 06:49:36 +00:00
peter1138
feed914b97
(svn r4869) - NewGRF: support setting train list vehicle width to 32 instead of 29 pixels, for sets which use 32 pixel long engines/wagons.
2006-05-14 20:58:12 +00:00
peter1138
b621b300a8
(svn r4867) - NewGRF: implement partial support for engine variable 0x42
2006-05-14 15:11:12 +00:00
peter1138
05e2c6b886
(svn r4781) - NewGRF: give _traininfo_vehicle_pitch a proper declaration
2006-05-08 10:01:34 +00:00
peter1138
4359856246
(svn r4721) - NewGRF: use loading sprites rather than loaded when there is no vehicle (fixes issue with purchase list)
2006-05-03 20:51:42 +00:00
peter1138
f104da53e1
(svn r4714) - NewGRF: simplify evaluation of 'real' sprite groups.
2006-05-03 15:46:21 +00:00
peter1138
eafbc33627
(svn r4708) - NewGRF: fix selection of number of loaded and loading states.
2006-05-03 12:17:02 +00:00
peter1138
43451dfbd9
(svn r4702) - NewGRF: add support for 'special' vehicle callbacks that use a different vehicle for parent scope than the first vehicle in the consist.
2006-05-02 21:42:11 +00:00
peter1138
9bb42c1199
(svn r4697) - NewGRF: callback IDs can now be 16 bit values.
2006-05-02 20:44:06 +00:00
peter1138
d7d5789278
(svn r4696) - NewGRF: add support for vehicle variable 0x60, count vehicle type occurance.
2006-05-02 20:17:17 +00:00
peter1138
b945e9249a
(svn r4691) - Codechange: don't use unnamed unions as GCC 2.95.ancient won't compile it. Needed for our MorphOS user ;)
2006-05-02 18:56:07 +00:00
peter1138
e3b84cc7f5
(svn r4649) - NewGRF: limit helicopter rotor animation frames to the number of sprites in the set.
2006-05-01 14:30:24 +00:00
peter1138
8cc28230d7
(svn r4644) - NewGRF: support for variable 0x44, aircraft information. (mart3p)
2006-05-01 12:00:14 +00:00
peter1138
85cd7db702
(svn r4643) - NewGRF: Add support for ttdp aircraft states. This involves mapping from our own state. (heavily based on mart3p's code)
2006-05-01 11:35:18 +00:00
peter1138
726e44aa15
(svn r4636) - NewGRF: when dealing with vehicle types other than trains, set the parent scope vehicle to be the same as self scope. (Thanks mart3p)
2006-05-01 06:38:36 +00:00
peter1138
838ea453dc
(svn r4632) - NewGRF: support loading of helicopter rotor sprites (mart3p)
2006-04-30 18:41:16 +00:00
peter1138
ea54151de5
(svn r4629) - NewGRF: constify more code that deals with sprite groups, now that ref counting is gone.
2006-04-30 18:19:37 +00:00
peter1138
d23e380d6a
(svn r4611) - NewGRF: introduce new vehicle sprite group resolver code. This also fixes some known bugs (e.g. the 'Standard Five' in UKRS is now the correct colour)
2006-04-28 20:04:57 +00:00
peter1138
5b5e274796
(svn r4609) - NewGRF: give GetCustomEngineSprite the correct return type
2006-04-28 19:49:48 +00:00
peter1138
9e18d9098f
(svn r4600) - NewGRF: minor code style tidy up
2006-04-27 23:28:56 +00:00
peter1138
60cc7337e5
(svn r4583) - NewGRF: Revamp sprite group loading to support advanced varadjusts and variable size. These are not yet processed, however.
2006-04-26 20:44:28 +00:00