rubidium
|
aaf0b4b46c
|
(svn r18812) -Codechange: make some functions in train.h functions of Train.
|
2010-01-15 18:23:52 +00:00 |
rubidium
|
82fc28f77f
|
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
|
2010-01-15 16:41:15 +00:00 |
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
|
2010-01-09 14:43:08 +00:00 |
rubidium
|
0ef0e13795
|
(svn r18385) -Cleanup: remove the now unneeded multistop slot management code
|
2009-12-02 18:18:56 +00:00 |
rubidium
|
a951c505bf
|
(svn r18292) -Codechange: add a command to set the start date of a timetable. Based on work by PhilSophus.
|
2009-11-25 23:37:15 +00:00 |
rubidium
|
860b9b1cea
|
(svn r18028) -Codechange: unglobalise some functions
|
2009-11-09 10:40:33 +00:00 |
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
|
2009-10-20 12:20:53 +00:00 |
rubidium
|
f11cebfe9b
|
(svn r17807) -Codechange: move all 'updates' just after the 'load' constructor of CargoPackets to the constructor call itself
|
2009-10-18 17:52:44 +00:00 |
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.
|
2009-10-06 23:01:35 +00:00 |
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)
|
2009-10-06 17:23:15 +00:00 |
smatz
|
114d48e492
|
(svn r17596) -Codechange: constify some tables
|
2009-09-20 23:11:01 +00:00 |
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.
|
2009-09-15 20:58:44 +00:00 |
yexo
|
e2122dc7f0
|
(svn r17483) -Fix (r17405): when an aircraft starts flying in circles make it turn in the correct direction first before continuing
|
2009-09-09 00:03:35 +00:00 |
yexo
|
16e3083ff7
|
(svn r17405) -Fix (r100): aircraft shouldn't be allowed to make turns bigger then 45 degrees while in flight
|
2009-09-03 12:11:31 +00:00 |
rubidium
|
7fbc33dae1
|
(svn r17248) -Fix: add GPL license notice where appropriate
|
2009-08-21 20:21:05 +00:00 |
rubidium
|
7a24fba918
|
(svn r16944) -Codechange: remove needlessly complex way of getting the offset of items within a struct that are within a struct
|
2009-07-24 19:09:48 +00:00 |
rubidium
|
fd589b90e8
|
(svn r16841) -Cleanup: spaces/tabs where they don't belong
|
2009-07-16 10:01:32 +00:00 |
smatz
|
b6960e4e17
|
(svn r16814) -Codechange: make IsNormalAircraft() member of Aircraft
|
2009-07-13 16:37:27 +00:00 |
smatz
|
6a0855f0d1
|
(svn r16723) -Codechange: make GetNextArticPart(), GetLastEnginePart(), GetNextVehicle(), GetPrevVehicle(), GetNextUnit(), GetPrevUnit() members of Train
|
2009-07-02 12:10:39 +00:00 |
rubidium
|
61e735ba4c
|
(svn r16721) -Codechange: make Is/SetRoadVehicleFront, Is/Set/HasArticulatedPart member of RoadVehicle.
|
2009-07-02 08:59:27 +00:00 |
smatz
|
77eaefb61c
|
(svn r16720) -Codechange: make Set/ClearFrontEngine(), Set/ClearArticulatedPart(), Set/ClearWagon(), Set/ClearEngine(), Set/ClearFreeWagon() and Set/ClearMultiheaded() members of Train
|
2009-07-02 00:17:27 +00:00 |
smatz
|
d86e17d65a
|
(svn r16719) -Codechange: make IsArticulatedPart(), IsTrainEngine(), IsTrainWagon(), IsMultiheaded(), EngineHasArticPart() and IsRearDualheaded() members of Train
|
2009-07-01 23:57:20 +00:00 |
smatz
|
ecfaa0564d
|
(svn r16718) -Codechange: make IsFreeWagon() member of Train
|
2009-07-01 23:49:13 +00:00 |
smatz
|
adc5363202
|
(svn r16717) -Codechange: make IsFrontEngine() member of Train
|
2009-07-01 22:22:01 +00:00 |
smatz
|
8343340acb
|
(svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile()
|
2009-06-24 17:39:54 +00:00 |
smatz
|
0c10006907
|
(svn r16527) -Codechange: use static member functions instead of simple casts when converting Vehicle to specialised vehicle types. Includes safety check
|
2009-06-06 16:54:22 +00:00 |
alberth
|
bab70a823d
|
(svn r16491) -Codechange: Added parentheses around bitwise operators for code style.
|
2009-06-01 11:43:36 +00:00 |
smatz
|
5a463c8347
|
(svn r16442) -Codechange: use new Vehicle accessors at more places
|
2009-05-26 22:45:48 +00:00 |
smatz
|
7ee882d03f
|
(svn r16441) -Codechange: new class SpecializedVehicle used as superclass for all vehicle types
|
2009-05-26 22:10:13 +00:00 |
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)
|
2009-05-26 15:46:24 +00:00 |
rubidium
|
6237fe1462
|
(svn r16394) -Codechange: move (NewGRF) cache variables into a separate struct so (some vehicle related) NewGRF cache 'desyncs' can be tested easier.
|
2009-05-23 09:10:56 +00:00 |
rubidium
|
da5661a0c8
|
(svn r16393) -Codechange: move VehicleRail to Train.
|
2009-05-22 22:55:41 +00:00 |
rubidium
|
c4b627af42
|
(svn r16392) -Codechange: move some variables (the ones that aren't caches) from VehicleRail to Train
|
2009-05-22 22:33:05 +00:00 |
rubidium
|
80e94b9bb1
|
(svn r16391) -Codechange: use Train instead of Vehicle where appropriate.
|
2009-05-22 22:22:46 +00:00 |
rubidium
|
7a37220881
|
(svn r16390) -Codechange: move u.road to RoadVehicle.
|
2009-05-22 20:22:20 +00:00 |
rubidium
|
d37b840cf3
|
(svn r16389) -Codechange: use RoadVehicle instead of Vehicle where appropriate
|
2009-05-22 20:18:45 +00:00 |
rubidium
|
c882248348
|
(svn r16388) -Codechange: move u.air to Aircraft
|
2009-05-22 20:07:26 +00:00 |
rubidium
|
ada3067960
|
(svn r16387) -Codechange: use Aircraft instead of Vehicle where appropriate
|
2009-05-22 20:03:26 +00:00 |
rubidium
|
74ea34ca66
|
(svn r16385) -Codechange: move u.disaster to DisasterVehicle.
|
2009-05-22 18:57:11 +00:00 |
rubidium
|
6d1c974254
|
(svn r16384) -Codechange: move u.effect to EffectVehicle
|
2009-05-22 18:56:25 +00:00 |
rubidium
|
441011b782
|
(svn r16382) -Codechange: make GetVehicleTrackdir a member function of Vehicle.
|
2009-05-22 18:17:20 +00:00 |
smatz
|
62a7948af0
|
(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation time, binary size and run time (with asserts disabled) should be improved
|
2009-05-22 15:13:50 +00:00 |
smatz
|
a0ff6363e6
|
(svn r16353) -Fix (r1): invalid read when OTTD savegame contains VEH_INVALID
|
2009-05-18 17:40:03 +00:00 |
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
|
2009-05-17 16:28:29 +00:00 |
smatz
|
ed1e54bd84
|
(svn r16326) -Codechange: replace GetPoolItemPoolSize() by PoolItem::GetPoolSize()
|
2009-05-16 23:44:36 +00:00 |
smatz
|
6221d74644
|
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
|
2009-05-16 23:34:14 +00:00 |
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.
|
2009-05-03 11:57:01 +00:00 |
rubidium
|
b25a4f8231
|
(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too
|
2009-03-15 00:32:18 +00:00 |
rubidium
|
f67e2a41ce
|
(svn r15678) -Fix (r15676): crash when (re)applying newgrf settings
|
2009-03-11 23:35:32 +00:00 |
rubidium
|
655b0ccc2e
|
(svn r15676) -Codechange: remove the need for BeginVehicleMove and merge VehiclePositionChanged and EndVehicleMove.
|
2009-03-11 20:43:14 +00:00 |
rubidium
|
fb2ea6c9ed
|
(svn r15672) -Codechange: (left,right,top,bottom)_coord -> coord.(left,right,top,bottom), i.e. use Rect.
|
2009-03-11 17:26:58 +00:00 |
frosch
|
2afa9312fc
|
(svn r15304) -Fix [FS#2587]: When loading savegames use the roadtype of the front vehicles just like it is done on construction.
|
2009-02-01 11:38:18 +00:00 |
smatz
|
0d3f5e6e74
|
(svn r15299) -Cleanup: remove many redundant includes
|
2009-01-31 20:16:06 +00:00 |
peter1138
|
7afd506301
|
(svn r15272) -Codechange: Check that engine types of vehicles are valid and for the correct type on loading a game. This prevents a crash/assertion failure if required NewGRFs are not available. This won't make the game playable, but will let you see what NewGRFs are required.
|
2009-01-25 21:55:18 +00:00 |
smatz
|
12bcc254c8
|
(svn r15251) -Fix (r15249): trains from 0.2.0-0.3.0 could be in 'stopping' state instead of 'stopped' (this problem doesn't affect trains in depot)
|
2009-01-24 12:50:10 +00:00 |
smatz
|
8278fc2149
|
(svn r15249) -Fix [FS#2576]: force trains from old (and other vehicles from 'recent') savegames to have zero cur_speed while stopped (cooperation with frosch123)
|
2009-01-24 00:42:09 +00:00 |
smatz
|
3964b2dd8c
|
(svn r15248) -Fix [FS#2561]: we require v->cur_speed to be zero for wagons and non-front engines
|
2009-01-23 23:57:01 +00:00 |
smatz
|
789fa42f52
|
(svn r15230) -Fix (r1): aircraft could have zero speed while in air after loading old savegame
|
2009-01-23 15:53:24 +00:00 |
smatz
|
e3cc807c7a
|
(svn r15227) -Fix [FS#2571](r1): aircraft could be 'loading in the air' after converting old savegames
|
2009-01-23 15:37:44 +00:00 |
smatz
|
7368c740a6
|
(svn r14828) -Codechange: move most of save/load-specific code to separate files
|
2009-01-04 15:32:25 +00:00 |