rubidium
|
7a73a7490d
|
(svn r19090) -Codechange: some comment coding style fixes
|
15 years ago |
rubidium
|
aaf0b4b46c
|
(svn r18812) -Codechange: make some functions in train.h functions of Train.
|
15 years ago |
rubidium
|
82fc28f77f
|
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
|
15 years ago |
rubidium
|
e4af35d316
|
(svn r18764) -Fix [FS#3422]: split the (un)load ticks counter and signal wait counter; sometimes they might get into eachother's way
|
15 years ago |
rubidium
|
0ef0e13795
|
(svn r18385) -Cleanup: remove the now unneeded multistop slot management code
|
15 years ago |
rubidium
|
a951c505bf
|
(svn r18292) -Codechange: add a command to set the start date of a timetable. Based on work by PhilSophus.
|
15 years ago |
rubidium
|
860b9b1cea
|
(svn r18028) -Codechange: unglobalise some functions
|
15 years ago |
rubidium
|
9696e3e39b
|
(svn r17816) -Codechange: move the CargoList invalidation-after-saveload to the function that handles the CargoPackets instead of spreading it around over the saveload files. Also add some code to validate whether the caches are valid; to be removed later when no problems turn up
|
15 years ago |
rubidium
|
f11cebfe9b
|
(svn r17807) -Codechange: move all 'updates' just after the 'load' constructor of CargoPackets to the constructor call itself
|
15 years ago |
rubidium
|
446363aac4
|
(svn r17734) -Fix (r17732): broke the assumption that 'this->packets == this', which broke loading old savegames. Now remove the (need for the) hack that needed that assumption.
|
15 years ago |
rubidium
|
5f59d0c5b4
|
(svn r17720) -Codechange: guard the CargoPacket variables that are cached in CargoLists so they cannot be written from outside the CargoList class (based on patch by fonsinchen)
|
15 years ago |
smatz
|
114d48e492
|
(svn r17596) -Codechange: constify some tables
|
15 years ago |
rubidium
|
af457fc9fe
|
(svn r17552) -Codechange: rename load_unload_time_rem to something more generic as it's used for more than just load/unload. Also add some documentation about where it is used.
|
15 years ago |
yexo
|
e2122dc7f0
|
(svn r17483) -Fix (r17405): when an aircraft starts flying in circles make it turn in the correct direction first before continuing
|
15 years ago |
yexo
|
16e3083ff7
|
(svn r17405) -Fix (r100): aircraft shouldn't be allowed to make turns bigger then 45 degrees while in flight
|
15 years ago |
rubidium
|
7fbc33dae1
|
(svn r17248) -Fix: add GPL license notice where appropriate
|
15 years ago |
rubidium
|
7a24fba918
|
(svn r16944) -Codechange: remove needlessly complex way of getting the offset of items within a struct that are within a struct
|
15 years ago |
rubidium
|
fd589b90e8
|
(svn r16841) -Cleanup: spaces/tabs where they don't belong
|
15 years ago |
smatz
|
b6960e4e17
|
(svn r16814) -Codechange: make IsNormalAircraft() member of Aircraft
|
15 years ago |
smatz
|
6a0855f0d1
|
(svn r16723) -Codechange: make GetNextArticPart(), GetLastEnginePart(), GetNextVehicle(), GetPrevVehicle(), GetNextUnit(), GetPrevUnit() members of Train
|
15 years ago |
rubidium
|
61e735ba4c
|
(svn r16721) -Codechange: make Is/SetRoadVehicleFront, Is/Set/HasArticulatedPart member of RoadVehicle.
|
15 years ago |
smatz
|
77eaefb61c
|
(svn r16720) -Codechange: make Set/ClearFrontEngine(), Set/ClearArticulatedPart(), Set/ClearWagon(), Set/ClearEngine(), Set/ClearFreeWagon() and Set/ClearMultiheaded() members of Train
|
15 years ago |
smatz
|
d86e17d65a
|
(svn r16719) -Codechange: make IsArticulatedPart(), IsTrainEngine(), IsTrainWagon(), IsMultiheaded(), EngineHasArticPart() and IsRearDualheaded() members of Train
|
15 years ago |
smatz
|
ecfaa0564d
|
(svn r16718) -Codechange: make IsFreeWagon() member of Train
|
15 years ago |
smatz
|
adc5363202
|
(svn r16717) -Codechange: make IsFrontEngine() member of Train
|
15 years ago |
smatz
|
8343340acb
|
(svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile()
|
15 years ago |
smatz
|
0c10006907
|
(svn r16527) -Codechange: use static member functions instead of simple casts when converting Vehicle to specialised vehicle types. Includes safety check
|
16 years ago |
alberth
|
bab70a823d
|
(svn r16491) -Codechange: Added parentheses around bitwise operators for code style.
|
16 years ago |
smatz
|
5a463c8347
|
(svn r16442) -Codechange: use new Vehicle accessors at more places
|
16 years ago |
smatz
|
7ee882d03f
|
(svn r16441) -Codechange: new class SpecializedVehicle used as superclass for all vehicle types
|
16 years ago |
rubidium
|
e3c5bc8d2e
|
(svn r16434) -Cleanup: remove some dead code; primarily stuff that can't be reached like break after returns or break after functions that never return (i.e. NOT_REACHED)
|
16 years ago |
rubidium
|
6237fe1462
|
(svn r16394) -Codechange: move (NewGRF) cache variables into a separate struct so (some vehicle related) NewGRF cache 'desyncs' can be tested easier.
|
16 years ago |
rubidium
|
da5661a0c8
|
(svn r16393) -Codechange: move VehicleRail to Train.
|
16 years ago |
rubidium
|
c4b627af42
|
(svn r16392) -Codechange: move some variables (the ones that aren't caches) from VehicleRail to Train
|
16 years ago |
rubidium
|
80e94b9bb1
|
(svn r16391) -Codechange: use Train instead of Vehicle where appropriate.
|
16 years ago |
rubidium
|
7a37220881
|
(svn r16390) -Codechange: move u.road to RoadVehicle.
|
16 years ago |
rubidium
|
d37b840cf3
|
(svn r16389) -Codechange: use RoadVehicle instead of Vehicle where appropriate
|
16 years ago |
rubidium
|
c882248348
|
(svn r16388) -Codechange: move u.air to Aircraft
|
16 years ago |
rubidium
|
ada3067960
|
(svn r16387) -Codechange: use Aircraft instead of Vehicle where appropriate
|
16 years ago |
rubidium
|
74ea34ca66
|
(svn r16385) -Codechange: move u.disaster to DisasterVehicle.
|
16 years ago |
rubidium
|
6d1c974254
|
(svn r16384) -Codechange: move u.effect to EffectVehicle
|
16 years ago |
rubidium
|
441011b782
|
(svn r16382) -Codechange: make GetVehicleTrackdir a member function of Vehicle.
|
16 years ago |
smatz
|
62a7948af0
|
(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation time, binary size and run time (with asserts disabled) should be improved
|
16 years ago |
smatz
|
a0ff6363e6
|
(svn r16353) -Fix (r1): invalid read when OTTD savegame contains VEH_INVALID
|
16 years ago |
smatz
|
570af0ce44
|
(svn r16338) -Codechange: split loading of references to two phases
In the first phase, indexes are stored. In the second phase, indexes are checked for validity and converted to pointers
|
16 years ago |
smatz
|
ed1e54bd84
|
(svn r16326) -Codechange: replace GetPoolItemPoolSize() by PoolItem::GetPoolSize()
|
16 years ago |
smatz
|
6221d74644
|
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
|
16 years ago |
rubidium
|
73fd0db237
|
(svn r16214) -Fix [FS#2878]: shared orders without orders weren't properly converted causing corrupt/invalid orders when loading pre 0.7 savegames.
|
16 years ago |
rubidium
|
b25a4f8231
|
(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too
|
16 years ago |
rubidium
|
f67e2a41ce
|
(svn r15678) -Fix (r15676): crash when (re)applying newgrf settings
|
16 years ago |