rubidium
|
2fc0cb3e76
|
(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.
|
2009-06-02 19:12:28 +00:00 |
|
frosch
|
9853c0dc22
|
(svn r16480) -Fix (r15617): Invalidate newgrf variable caches of more vehicles in more places. Esp. they were only invalidated for trains.
|
2009-05-31 12:03:14 +00:00 |
|
smatz
|
8c11d612e4
|
(svn r16472) -Codechange: set vehicle type in SpecializedVehicle constructor instead of constructor of each vehicle type
|
2009-05-30 20:13:12 +00:00 |
|
smatz
|
faae8f0177
|
(svn r16445) -Codechange: update old comments (Yexo)
|
2009-05-26 23:24:34 +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
|
86710c5185
|
(svn r16397) -Codechange: move GetVehicleOrder/GetLastVehicleOrder into Vehicle
|
2009-05-23 12:27:42 +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
|
c882248348
|
(svn r16388) -Codechange: move u.air to Aircraft
|
2009-05-22 20:07: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
|
56a7b70591
|
(svn r16380) -Codechange: rename pool.hpp to pool_type.hpp
|
2009-05-22 15:39:22 +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
|
04723b240e
|
(svn r16377) -Codechange: unify FOR_ALL_* macros, use separate index variable instead of var->index
|
2009-05-22 14:23:36 +00:00 |
|
smatz
|
b687ac51ee
|
(svn r16376) -Codechange: Vehicle::Tick() now returns false if the vehicle was deleted
|
2009-05-22 13:53:14 +00:00 |
|
rubidium
|
88201ccd5c
|
(svn r16333) -Cleanup: remove a bunch of unused wrapper functions.
|
2009-05-17 11:18:34 +00:00 |
|
smatz
|
871107f529
|
(svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index)
|
2009-05-17 01:00:56 +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 |
|
smatz
|
a1addc1d95
|
(svn r16302) -Codechange: remove Vehicle::AllocateList
|
2009-05-13 21:38:23 +00:00 |
|
frosch
|
f8944cc9b3
|
(svn r16261) -Fix (r16260): Replace a space with a newline and a tab. (thanks smatz)
|
2009-05-09 14:23:19 +00:00 |
|
frosch
|
677ea100b3
|
(svn r16260) -Codechange: Add Vehicle::IncrementOrderIndex() to deduplicate some code.
|
2009-05-09 13:37:18 +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 |
|
rubidium
|
c0d71b84f9
|
(svn r15617) -Change [FS#2694]: vehicle variables 40-43 weren't cached (though spec stated they are). Caching these variables can yield a 10+% speed increase when those vehicle variables are queried often.
|
2009-03-04 23:32:23 +00:00 |
|
rubidium
|
d846eef0b6
|
(svn r15434) -Codechange: bit of type safety for the DC_xxx flags.
|
2009-02-09 21:20:05 +00:00 |
|
rubidium
|
c0a8d09ca7
|
(svn r15428) -Codechange: consistently use colour instead of having both color and colour.
|
2009-02-09 02:57:15 +00:00 |
|
rubidium
|
b7c7a1f701
|
(svn r15354) -Fix (r14803): first shared of a vehicle could be NULL making it impossible to (share-)clone the vehicle.
|
2009-02-05 15:58:42 +00:00 |
|
frosch
|
de9a6fc90b
|
(svn r15308) -Codechange: Deduplicate km-ish/h -> mph conversions.
|
2009-02-01 17:14:39 +00:00 |
|
smatz
|
6dffd8ae82
|
(svn r15216) -Feature: native support for Transport Tycoon (Original) savegames. Based on SVXConverter's source code and documentation by Roman Vetter
|
2009-01-23 02:35:17 +00:00 |
|
rubidium
|
11da45ee55
|
(svn r14949) -Cleanup: pointer coding style
|
2009-01-10 00:31:47 +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 |
|
rubidium
|
0d54db5f9f
|
(svn r14803) -Codechange: move order list management into it's own class and remove the order count from the savegame as we can easily count that (PhilSophus)
|
2009-01-03 13:52:06 +00:00 |
|
rubidium
|
d428da5a35
|
(svn r14801) -Codechange: don't reference Vehicle::num_orders directly but through a method GetNumOrders() (PhilSophus)
|
2009-01-03 13:20:32 +00:00 |
|
smatz
|
53679122af
|
(svn r14753) -Fix (r1): after buying a company, one could have more vehicles with the same UnitID
|
2008-12-26 23:53:07 +00:00 |
|
rubidium
|
1721222080
|
(svn r14745) -Codechange: move "depot_list" and "leave_depot_immediately" out of the vehicle struct (saving up to 16 bytes per vehicle) as it is only used to tell a calling function entered a depot (for autoreplace).
|
2008-12-26 18:26:11 +00:00 |
|
frosch
|
74ed0b5efc
|
(svn r14702) -Documentation: Add a note about the meaning and validity of Vehicle::dest_tile.
|
2008-12-20 11:51:52 +00:00 |
|
rubidium
|
2ed3c27822
|
(svn r14592) -Feature [FS#1124]: non-destructive autofill with option to keep waiting times (PhilSophus)
|
2008-11-18 23:53:37 +00:00 |
|
rubidium
|
b650a86e58
|
(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.
|
2008-09-30 20:51:04 +00:00 |
|
rubidium
|
3b798599b6
|
(svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with.
|
2008-09-30 20:39:50 +00:00 |
|
smatz
|
e4242c8735
|
(svn r14398) -Cleanup (r14395): unused function sneaked in
|
2008-09-25 09:50:31 +00:00 |
|
smatz
|
6987e6015a
|
(svn r14395) -Fix [FS#2285]: crashes and GUI desyncs when order is deleted/modified while the timetable window is open
-Fix: close any dropdown and child windows in the Order and Timetable windows when selected order is deselected, deleted, ...
|
2008-09-24 16:40:06 +00:00 |
|
rubidium
|
abd9f74871
|
(svn r14096) -Codechange: merge the shared order's vehicle list management to a single location.
|
2008-08-17 19:56:17 +00:00 |
|
frosch
|
9751fbe4dc
|
(svn r14085) -Cleanup (r14083): Remove no longer used functions.
|
2008-08-16 14:15:32 +00:00 |
|
frosch
|
f7826f8a37
|
(svn r14083) -Fix [FS#1264, FS#2037, FS#2038, FS#2110]: Rewrite the autoreplace kernel.
|
2008-08-16 14:02:20 +00:00 |
|
rubidium
|
e9c33fb288
|
(svn r13950) -Add [YAPP]: Trains can now also be in a 'stuck' state when waiting on a path reservation. (michi_cc)
|
2008-08-02 22:53:21 +00:00 |
|