rubidium
|
f97bd41ed4
|
(svn r16721) -Codechange: make Is/SetRoadVehicleFront, Is/Set/HasArticulatedPart member of RoadVehicle.
|
2009-07-02 08:59:27 +00:00 |
|
smatz
|
9b10bc9cdf
|
(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
|
1e1f0ab2cf
|
(svn r16719) -Codechange: make IsArticulatedPart(), IsTrainEngine(), IsTrainWagon(), IsMultiheaded(), EngineHasArticPart() and IsRearDualheaded() members of Train
|
2009-07-01 23:57:20 +00:00 |
|
smatz
|
378d01f2f4
|
(svn r16718) -Codechange: make IsFreeWagon() member of Train
|
2009-07-01 23:49:13 +00:00 |
|
smatz
|
20fedeb3d6
|
(svn r16717) -Codechange: make IsFrontEngine() member of Train
|
2009-07-01 22:22:01 +00:00 |
|
smatz
|
f6a4d61cca
|
(svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile()
|
2009-06-24 17:39:54 +00:00 |
|
smatz
|
af85994f7f
|
(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
|
580e478e4e
|
(svn r16491) -Codechange: Added parentheses around bitwise operators for code style.
|
2009-06-01 11:43:36 +00:00 |
|
smatz
|
e419fe6d3f
|
(svn r16442) -Codechange: use new Vehicle accessors at more places
|
2009-05-26 22:45:48 +00:00 |
|
smatz
|
0c53f04c07
|
(svn r16441) -Codechange: new class SpecializedVehicle used as superclass for all vehicle types
|
2009-05-26 22:10:13 +00:00 |
|
rubidium
|
d39f442bd0
|
(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
|
cd382b28a3
|
(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
|
4c0542c17f
|
(svn r16393) -Codechange: move VehicleRail to Train.
|
2009-05-22 22:55:41 +00:00 |
|
rubidium
|
6350648a6c
|
(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
|
1324100d69
|
(svn r16391) -Codechange: use Train instead of Vehicle where appropriate.
|
2009-05-22 22:22:46 +00:00 |
|
rubidium
|
489253b630
|
(svn r16390) -Codechange: move u.road to RoadVehicle.
|
2009-05-22 20:22:20 +00:00 |
|
rubidium
|
1ceb349779
|
(svn r16389) -Codechange: use RoadVehicle instead of Vehicle where appropriate
|
2009-05-22 20:18:45 +00:00 |
|
rubidium
|
4ae19b7451
|
(svn r16388) -Codechange: move u.air to Aircraft
|
2009-05-22 20:07:26 +00:00 |
|
rubidium
|
1e853b1226
|
(svn r16387) -Codechange: use Aircraft instead of Vehicle where appropriate
|
2009-05-22 20:03:26 +00:00 |
|
rubidium
|
d40c61749f
|
(svn r16385) -Codechange: move u.disaster to DisasterVehicle.
|
2009-05-22 18:57:11 +00:00 |
|
rubidium
|
521c265282
|
(svn r16384) -Codechange: move u.effect to EffectVehicle
|
2009-05-22 18:56:25 +00:00 |
|
rubidium
|
86fc432293
|
(svn r16382) -Codechange: make GetVehicleTrackdir a member function of Vehicle.
|
2009-05-22 18:17:20 +00:00 |
|
smatz
|
50624d5c0f
|
(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
|
fe498e21e7
|
(svn r16353) -Fix (r1): invalid read when OTTD savegame contains VEH_INVALID
|
2009-05-18 17:40:03 +00:00 |
|
smatz
|
769de62daf
|
(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
|
cf986c3099
|
(svn r16326) -Codechange: replace GetPoolItemPoolSize() by PoolItem::GetPoolSize()
|
2009-05-16 23:44:36 +00:00 |
|
smatz
|
d495dc5dbc
|
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
|
2009-05-16 23:34:14 +00:00 |
|
rubidium
|
57841b93a4
|
(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
|
c3e87f345d
|
(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too
|
2009-03-15 00:32:18 +00:00 |
|
rubidium
|
0ca15db98f
|
(svn r15678) -Fix (r15676): crash when (re)applying newgrf settings
|
2009-03-11 23:35:32 +00:00 |
|
rubidium
|
b003536ea8
|
(svn r15676) -Codechange: remove the need for BeginVehicleMove and merge VehiclePositionChanged and EndVehicleMove.
|
2009-03-11 20:43:14 +00:00 |
|
rubidium
|
9d0c77b123
|
(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
|
4b0223976f
|
(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
|
9021c20b5e
|
(svn r15299) -Cleanup: remove many redundant includes
|
2009-01-31 20:16:06 +00:00 |
|
peter1138
|
280fb99f62
|
(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
|
aeceef9437
|
(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
|
6a147caa25
|
(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
|
59be733b1b
|
(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
|
0e8a5bc908
|
(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
|
bba42dc0fe
|
(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
|
91233ea596
|
(svn r14828) -Codechange: move most of save/load-specific code to separate files
|
2009-01-04 15:32:25 +00:00 |
|