rubidium
|
860b9b1cea
|
(svn r18028) -Codechange: unglobalise some functions
|
2009-11-09 10:40:33 +00:00 |
|
rubidium
|
079b7fa034
|
(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
|
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
|
ef38feefda
|
(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
|
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
|
96d098e120
|
(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
|
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
|
ec3a0dc064
|
(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 |
|
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
|
f85b8c4e09
|
(svn r17596) -Codechange: constify some tables
|
2009-09-20 23:11:01 +00:00 |
|
smatz
|
114d48e492
|
(svn r17596) -Codechange: constify some tables
|
2009-09-20 23:11:01 +00:00 |
|
rubidium
|
4db98357ea
|
(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 |
|
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
|
39286cd325
|
(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
|
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
|
d963a44d3a
|
(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 |
|
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
|
99d46e0ad7
|
(svn r17248) -Fix: add GPL license notice where appropriate
|
2009-08-21 20:21:05 +00:00 |
|
rubidium
|
7fbc33dae1
|
(svn r17248) -Fix: add GPL license notice where appropriate
|
2009-08-21 20:21:05 +00:00 |
|
rubidium
|
c02c85d645
|
(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
|
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
|
e39646d93b
|
(svn r16841) -Cleanup: spaces/tabs where they don't belong
|
2009-07-16 10:01:32 +00:00 |
|
rubidium
|
fd589b90e8
|
(svn r16841) -Cleanup: spaces/tabs where they don't belong
|
2009-07-16 10:01:32 +00:00 |
|
smatz
|
64de470917
|
(svn r16814) -Codechange: make IsNormalAircraft() member of Aircraft
|
2009-07-13 16:37:27 +00:00 |
|
smatz
|
b6960e4e17
|
(svn r16814) -Codechange: make IsNormalAircraft() member of Aircraft
|
2009-07-13 16:37:27 +00:00 |
|
smatz
|
32bf91aa41
|
(svn r16723) -Codechange: make GetNextArticPart(), GetLastEnginePart(), GetNextVehicle(), GetPrevVehicle(), GetNextUnit(), GetPrevUnit() members of Train
|
2009-07-02 12:10:39 +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
|
f97bd41ed4
|
(svn r16721) -Codechange: make Is/SetRoadVehicleFront, Is/Set/HasArticulatedPart member of RoadVehicle.
|
2009-07-02 08:59:27 +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
|
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
|
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
|
1e1f0ab2cf
|
(svn r16719) -Codechange: make IsArticulatedPart(), IsTrainEngine(), IsTrainWagon(), IsMultiheaded(), EngineHasArticPart() and IsRearDualheaded() members of Train
|
2009-07-01 23:57:20 +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
|
378d01f2f4
|
(svn r16718) -Codechange: make IsFreeWagon() member of Train
|
2009-07-01 23:49:13 +00:00 |
|
smatz
|
ecfaa0564d
|
(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
|
adc5363202
|
(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
|
8343340acb
|
(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 |
|
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
|
580e478e4e
|
(svn r16491) -Codechange: Added parentheses around bitwise operators for code style.
|
2009-06-01 11:43:36 +00:00 |
|
alberth
|
bab70a823d
|
(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
|
5a463c8347
|
(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 |
|
smatz
|
7ee882d03f
|
(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
|
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
|
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 |
|