peter1138
42bcee22bd
(svn r5819) - NewGRF: add support for refit costs specified in NewGRF. This may affect the default refit costs for the default rail vehicles.
18 years ago
tron
d2f6cb9e2d
(svn r5262) Add symbolic names for the aircraft subtypes. not perfect, but better than raw numbers
19 years ago
peter1138
dfa60b0832
(svn r5201) - NewGRF: add loading of default refit costs. This information is not yet used
19 years ago
peter1138
5e3dd8dd78
(svn r5105) - NewGRF: Move callbackmask from *VehicleInfo to EngineInfo. This simplifies code that works with more than one vehicle type.
19 years ago
peter1138
5a65e3301e
(svn r4896) - NewGRF: add support for vehicle property 0x25 (user defined data) used by variable 0x42.
19 years ago
celestar
a7d8ad0004
(svn r4150) -Feature: Merged elrails into trunk. Thanks to Tron for lots of code and proofreading, thanks to peter1138 for another lot of code and ideas.
19 years ago
peter1138
5e05cd4098
(svn r3685) Include a file missed from r3684...
19 years ago
peter1138
601b226f04
(svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
19 years ago
peter1138
67573ed605
(svn r3586) - NewGRF: Load callback masks for all vehicle types.
19 years ago
peter1138
6823be9d03
(svn r3523) Undefine helper macros after using them
19 years ago
peter1138
78c2b9a056
(svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
19 years ago
peter1138
e81c316134
(svn r3388) - NewGRF: Allow train running cost class to differ from engine class. Also fix typo in r3384.
19 years ago
tron
f7abff5f96
(svn r3181) -Bracing
...
-Indentation
-Whitespace
-DeMorgan's Law
-Test with NULL or 0 for non-booleans
-'\0' instead of 0 for chars
-Remove redundantly redundant comments (like DoFoo(); // Do foo)
-Join multiple short lines with a single statement
-Split single lines with multiple statements
-Avoid assignments in if
19 years ago
peter1138
bc25cd89bf
(svn r3148) -NewGRF, Feature: Add support for cargo refitting specification by cargo classes.
19 years ago
tron
f3de172560
(svn r3059) Use bitfields to encode railtype and climates of engines instead of manual shifting/anding
19 years ago
tron
b537cc6618
(svn r3050) Augment the rail vehicle table with symbolic names for dual-head engines and wagons
19 years ago
tron
03e947cbfe
(svn r3035) Augment the engine table with symbolic names for rail types and climates
19 years ago
peter1138
2314431a59
(svn r2989) - Make engine/vehicle information tables constant. Duplicate them so NewGRF data can be loaded without wiping out the default data.
19 years ago
tron
201990b5d9
(svn r2704) Remove . from include path again, too much trouble. Also add some #ifdefs and #includes for the Windows build
19 years ago
tron
a227065ab7
(svn r2701) Insert Id tags into all source files
19 years ago
tron
07a6e612ec
(svn r2685) -Codechange: Split the music/sound/video drivers into separate files and move them into subfolders.
...
This results in shorter and hopefully easier to maintain files.
Note: I had to change paths in #include statements of some unrelated files, because I added the ottd base directory to the include path (-I.)
19 years ago
celestar
18a93cca3d
(svn r2657) -Codechange: The available railtypes per player are now a bitmask, so
...
that railtypes do not be in ascending order of appearance. Allows easier
implementation or more railtypes
19 years ago
celestar
448467a9a1
(svn r2639) -Add: Added the vehicle names in table/engines.h so that you know what line represents what vehicle (I hope I didn't mess that up). Added some comments while I'm at it and include the table/ directory in the Doxygen generation
19 years ago
hackykid
6d78b70075
(svn r2428) - Feature: [newgrf] Implement shorter train vehicles (Therax), and the callback that goes with it.
...
- Codechange: Remove some magic numbers (PALETTE_CRASH)
20 years ago
hackykid
1018d3b786
(svn r2414) - Feature: [newgrf] Implement powered wagons, and the callback that goes with it.
20 years ago
hackykid
ad2eef0a30
(svn r2401) - Fix: [newgrf] Finish up callback mechanism, implement 'refit capacity' callback slightly more correct.
20 years ago
truelight
9853d4e0d4
(svn r1444) -Fix: fixed weight for double-head trains (and with that the acceleration)
...
(now maglev lvl4 can reach their top speed, and are faster than lvl3)
(Tnx to Darkvater :))
-Fix: Buy Vehicle GUI now shows HPs bigger than 32000 correctly
20 years ago
celestar
8ed132a5b9
(svn r1410) Replaced all occurences of 'passanger' by 'passenger' in the code
20 years ago
darkvater
0a2f28c2f2
(svn r570) -newgrf: Support for custom aircrafts via GRF files. Planeset seems to work :). Also use aircraft_vehinfo() instead of the old tables (pasky).
20 years ago
darkvater
7690093b4c
(svn r565) -newgrf: fixed double work of RoadVehicleInfo[]; added AircraftVehicleInfo[] as well. table/engines.h is now the same as in the _map branch.
20 years ago
celestar
b8327e0457
(svn r562) newgrf: Merge most of the road vehicle info to a single
...
road_vehicle_info table, like it already is for trains and ships. Needed
for GRF custom override support. (pasky)
20 years ago
dominik
d15aa14334
(svn r115) Fix: monorail/maglev became available around 1927
20 years ago
truelight
efaeb275f7
(svn r1) Import of revision 975 of old (crashed) SVN
20 years ago