rubidium
|
6600610e47
|
(svn r18402) -Codechange: unify/centralise the code for crashing vehicles
|
15 years ago |
smatz
|
be3ee603b1
|
(svn r17688) -Fix (r17684): incorrect comments
|
15 years ago |
frosch
|
a9717da0d3
|
(svn r17684) -Fix: tcache.first_engine and rcache.first_engine need to be set before first callback/sprite-resolving. For RV fronts it was missing at all, causing livery selection to fail.
|
15 years ago |
rubidium
|
99d46e0ad7
|
(svn r17248) -Fix: add GPL license notice where appropriate
|
15 years ago |
frosch
|
f1f4edfbd1
|
(svn r16884) -Codechange: Add Train::GetFirstEnginePart() and use it.
|
15 years ago |
frosch
|
12ea92a257
|
(svn r16867) -Feature(ette): Turn variable 0E/8E (vertical offset for trains in depot) and variable 1E/9E bit 3 (wagon width in depot) into grf-local variables.
|
15 years ago |
smatz
|
0b4b9dd764
|
(svn r16857) -Fix [FS#3036](r16652): crash when train partially in depot crashed
|
15 years ago |
smatz
|
32bf91aa41
|
(svn r16723) -Codechange: make GetNextArticPart(), GetLastEnginePart(), GetNextVehicle(), GetPrevVehicle(), GetNextUnit(), GetPrevUnit() members of Train
|
15 years ago |
rubidium
|
18fbe0aac4
|
(svn r16722) -Codechange: unify the naming of the Is/Set/HasArticulatedPart functions
|
15 years ago |
smatz
|
9b10bc9cdf
|
(svn r16720) -Codechange: make Set/ClearFrontEngine(), Set/ClearArticulatedPart(), Set/ClearWagon(), Set/ClearEngine(), Set/ClearFreeWagon() and Set/ClearMultiheaded() members of Train
|
15 years ago |
smatz
|
1e1f0ab2cf
|
(svn r16719) -Codechange: make IsArticulatedPart(), IsTrainEngine(), IsTrainWagon(), IsMultiheaded(), EngineHasArticPart() and IsRearDualheaded() members of Train
|
15 years ago |
smatz
|
378d01f2f4
|
(svn r16718) -Codechange: make IsFreeWagon() member of Train
|
15 years ago |
smatz
|
20fedeb3d6
|
(svn r16717) -Codechange: make IsFrontEngine() member of Train
|
15 years ago |
rubidium
|
d7eb9f9d0e
|
(svn r16505) -Fix [FS#2951] (r16472): since g++ 4.4 the implicit (default) constructor will zero the whole class. This caused all vehicle indices to be 0, which causes all kinds of trouble.
|
16 years ago |
smatz
|
c5240c770c
|
(svn r16494) -Codechange: cache train's speed limit caused by curves
|
16 years ago |
smatz
|
11d88765cc
|
(svn r16472) -Codechange: set vehicle type in SpecializedVehicle constructor instead of constructor of each vehicle type
|
16 years ago |
smatz
|
01e5c536a7
|
(svn r16445) -Codechange: update old comments (Yexo)
|
16 years ago |
smatz
|
0c53f04c07
|
(svn r16441) -Codechange: new class SpecializedVehicle used as superclass for all vehicle types
|
16 years ago |
rubidium
|
4c0542c17f
|
(svn r16393) -Codechange: move VehicleRail to Train.
|
16 years ago |
rubidium
|
6350648a6c
|
(svn r16392) -Codechange: move some variables (the ones that aren't caches) from VehicleRail to Train
|
16 years ago |
rubidium
|
1324100d69
|
(svn r16391) -Codechange: use Train instead of Vehicle where appropriate.
|
16 years ago |
rubidium
|
86fc432293
|
(svn r16382) -Codechange: make GetVehicleTrackdir a member function of Vehicle.
|
16 years ago |
smatz
|
70d3ed15c8
|
(svn r16376) -Codechange: Vehicle::Tick() now returns false if the vehicle was deleted
|
16 years ago |
rubidium
|
4c707c7414
|
(svn r16037) -Feature: allow (per order) to let a train stop at the near end, middle or far end of a platform from the point of view of the driver of the train that enters the station.
|
16 years ago |
frosch
|
61a893d6fd
|
(svn r15308) -Codechange: Deduplicate km-ish/h -> mph conversions.
|
16 years ago |
rubidium
|
28ea38ae55
|
(svn r14949) -Cleanup: pointer coding style
|
16 years ago |
smatz
|
91233ea596
|
(svn r14828) -Codechange: move most of save/load-specific code to separate files
|
16 years ago |
frosch
|
464899f9ad
|
(svn r14147) -Codechange: Allow passing 'const Vehicle *' to GetNextUnit() and GetPrevUnit().
|
16 years ago |
frosch
|
92f3c368b8
|
(svn r14083) -Fix [FS#1264, FS#2037, FS#2038, FS#2110]: Rewrite the autoreplace kernel.
|
16 years ago |
frosch
|
302cdf69a4
|
(svn r14082) -Codechange: Make 'GetNextUnit()' more fool-proof wrt. real dualheads.
|
16 years ago |
rubidium
|
c213ff35e5
|
(svn r13955) -Codechange [YAPP]: Try to extend the path of a stuck train so it is able to continue. (michi_cc)
|
16 years ago |
rubidium
|
2e2a6d4909
|
(svn r13952) -Add [YAPP]: Trains now reserve paths trough PBS signals. Bump savegame version. (michi_cc)
|
16 years ago |
smatz
|
f1c0555d2e
|
(svn r13816) -Fix [FS#2150]: check for vehicle length changes outside a depot (callback 0x11) and give a warning about that
|
16 years ago |
glx
|
54d7d77d4c
|
(svn r13782) -Cleanup: removed a useless declaration
|
16 years ago |
rubidium
|
c27f3cfa62
|
(svn r12977) -Codechange: remove quite some redundant (duplicate) function declarations.
|
17 years ago |
rubidium
|
1ce0b03bf0
|
(svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.
|
17 years ago |
smatz
|
26206fa116
|
(svn r12862) -Codechange: reduce code duplication for VehicleType -> WindowClass lookup
|
17 years ago |
peter1138
|
a05e9b4c6b
|
(svn r12824) -Codechange: Standardise routines for drawing vehicle images, using correct types and less duplication.
|
17 years ago |
rubidium
|
aa8a5b2c39
|
(svn r12657) -Codechange: add 'FindClosestDepot' to the vehicle class.
|
17 years ago |
smatz
|
7dc63836ea
|
(svn r12605) -Cleanup: variable scope and coding style in train*
|
17 years ago |
rubidium
|
3fdddeac40
|
(svn r12575) -Codechange: unduplicate Process*Orders for trains, ships and road vehicles.
|
17 years ago |
smatz
|
3d10ae7ec3
|
(svn r12369) -Fix (r1681): reset train speed limits when _patches.realistic_acceleration changes
|
17 years ago |
smatz
|
7dbb21c69b
|
(svn r12194) -Codechange: apply coding style on enum TrainSubtype
|
17 years ago |
glx
|
7ce12e50da
|
(svn r12037) -Codechange: replace OnNewDay_(Aircraft|RoadVeh|Ship|Train) with an OnNewDay method in the Vehicle class
|
17 years ago |
rubidium
|
722613f7f3
|
(svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes.
|
17 years ago |
skidd13
|
3ae50673a3
|
(svn r11484) -Codechange: Remove the doubled function SetBitT and rename the remaining to fit with the naming style
|
17 years ago |
skidd13
|
6801cceda1
|
(svn r11482) -Codechange: Remove the doubled function ClrBitT and rename the remaining to fit with the naming style
|
17 years ago |
skidd13
|
c0a2c0c23e
|
(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style
|
17 years ago |
rubidium
|
643ffb270c
|
(svn r11068) -Codechange: remove Vehicle::HasFront as all vehicles have the Vehicle::first pointer correctly set.
|
17 years ago |
rubidium
|
8da977b407
|
(svn r11053) -Fix: train status bar flickering a lot when waiting at a signal.
|
17 years ago |