peter1138
|
60eb3c034f
|
(svn r12860) -Fix [FS#1947]: Train depart animation trigger was not called in some cases.
|
17 years ago |
peter1138
|
10ab24a5f1
|
(svn r12856) -Fix: Taking r12377 further, ensure that prop 25 is set for all vehicles in the consist before other properties.
|
17 years ago |
peter1138
|
5dcd689f56
|
(svn r12824) -Codechange: Standardise routines for drawing vehicle images, using correct types and less duplication.
|
17 years ago |
rubidium
|
5ef8c01ce7
|
(svn r12819) -Codechange: handle more NewGRFs in the same way as TTDP does it, i.e. testing the low bits for 0xFF or 0 instead of all bits.
|
17 years ago |
rubidium
|
22140d82c6
|
(svn r12818) -Codechange: make callbacks 31 and 37 behave like they do in TTDP according to frosch's survey.
|
17 years ago |
rubidium
|
b139756e2b
|
(svn r12804) -Codechange: move the effect vehicle handling out of vehicle.cpp
|
17 years ago |
rubidium
|
f55ffd14bd
|
(svn r12803) -Cleanup: rename SpecialVehicle to EffectVehicle to have a uniform naming of the thing instead of using both names for the same thing.
|
17 years ago |
peter1138
|
210d757499
|
(svn r12798) -Feature: Add some support for NewGRF station animation. (Thanks to mart3p for samples and fixes)
|
17 years ago |
rubidium
|
0e624275ee
|
(svn r12795) -Fix [FS#1938]: vehicles could break down during loading and keep loading. The intention of the break down code is not to break down when having zero speed, therefor break downs now do not happen when loading.
|
17 years ago |
rubidium
|
9d8fa486af
|
(svn r12761) -Codechange: lots of minor whitespace coding style fixes around operators.
|
17 years ago |
rubidium
|
02cdf01507
|
(svn r12754) -Codechange: split depot.h into depot_map.h, depot_func.h and depot_base.h and remove quite a lot of unneeded (before this) includes of depot.h.
|
17 years ago |
smatz
|
059e94e355
|
(svn r12753) -Codechange: do not use IsDepotTypeTile() where simpler function can be used
|
17 years ago |
smatz
|
9488db56d4
|
(svn r12745) -Codechange: a bit of naming conventions, introduce Is*DepotTile()
|
17 years ago |
glx
|
3a84a74f4d
|
(svn r12711) -Codechange: remove unneeded loops
|
17 years ago |
rubidium
|
14b307a621
|
(svn r12698) -Codechange: skip orders to stations that do not have a train part anymore, just like is done for road vehicles and ships.
|
17 years ago |
rubidium
|
570519d79b
|
(svn r12658) -Codechange: unify a vast portion of the CmdSend<VehicleType>ToDepot commands.
|
17 years ago |
rubidium
|
62bdc381e7
|
(svn r12657) -Codechange: add 'FindClosestDepot' to the vehicle class.
|
17 years ago |
frosch
|
96700d5605
|
(svn r12629) -Codechange: Split VehicleNeedsService() into Vehicle::NeedsServicing() and Vehicle::NeedsAutomaticServicing().
-Fix (r11052): Disable servicing by service-interval if a vehicle has depot orders.
|
17 years ago |
rubidium
|
f1cd7ef5ee
|
(svn r12615) -Codechange: rename some enums related to depot orders to make it more clear that they are no loading/unloading flags. Also add more type strictness.
|
17 years ago |
smatz
|
ac389e16d2
|
(svn r12605) -Cleanup: variable scope and coding style in train*
|
17 years ago |
rubidium
|
fb1c4eccd8
|
(svn r12593) -Codechange: hide Order's flags in most of the code.
|
17 years ago |
rubidium
|
d6623cf654
|
(svn r12588) -Codechange: do not access the destination of an order directly.
|
17 years ago |
rubidium
|
5b47f81b0f
|
(svn r12584) -Codechange: do not access the order type directly.
|
17 years ago |
rubidium
|
aef20ec54d
|
(svn r12580) -Codechange: merge some logical related to non-stop orders.
|
17 years ago |
rubidium
|
5eb5889954
|
(svn r12578) -Codechange: merge the aircrafts ProcessOrder too into the 'unified' ProcessOrder.
|
17 years ago |
rubidium
|
bdd64495cd
|
(svn r12575) -Codechange: unduplicate Process*Orders for trains, ships and road vehicles.
|
17 years ago |
frosch
|
549d05dc4d
|
(svn r12532) -Cleanup: Replace two tables of magic values with already existing functions.
|
17 years ago |
frosch
|
15a9fba867
|
(svn r12531) -Codechange: Rename some variables for consistency.
|
17 years ago |
rubidium
|
ef2be7d0fc
|
(svn r12490) -Codechange: rename engine.h to engine_func.h and remove unneeded inclusions of engine.h and/or replace them with engine_type.h.
|
17 years ago |
rubidium
|
2edd403656
|
(svn r12489) -Codechange: split station.h into station_base.h and station_func.h.
|
17 years ago |
rubidium
|
4a1035ab95
|
(svn r12488) -Codechange: split order.h into order_base.h and order_func.h.
|
17 years ago |
bjarni
|
a81a572434
|
(svn r12482) -Fix: [build train] we don't need to have a depot in order to just check the price of a rail vehicle so don't check for compatible rails on the tile either
also wagons will only need tracks they can drive on in order to be build so there is no reason to check for power in the depot
|
17 years ago |
rubidium
|
eeabab4555
|
(svn r12459) -Codechange: split news.h into news_type.h and news_func.h.
|
17 years ago |
smatz
|
ac4ec8c2d2
|
(svn r12386) -Fix [FS#1841](r2428): train could break apart when reversed while partially in a depot
|
17 years ago |
smatz
|
031c9da01c
|
(svn r12384) -Fix (r2428): do not disconnect train when reversing, it may 'think' it is whole in a depot
|
17 years ago |
glx
|
985dbaa093
|
(svn r12380) -Fix: update train acceleration and max speed after setting cached value to ensure the correct max speed is used with disabled real acceleration
|
17 years ago |
glx
|
fbf70d53ec
|
(svn r12379) -Codechange: removed now redondant InvalidateWindow() calls
|
17 years ago |
glx
|
2b86efea74
|
(svn r12378) -Fix: refresh vehicle details window when cached values are updated
|
17 years ago |
glx
|
e2ec1e7032
|
(svn r12377) -Fix [FS#1854]: set cached value for vehicle property 25 before other cached values
|
17 years ago |
smatz
|
89e9bbfa98
|
(svn r12369) -Fix (r1681): reset train speed limits when _patches.realistic_acceleration changes
|
17 years ago |
smatz
|
bfae49aeb2
|
(svn r12368) -Codechange: use explicit body for loops and conditions and remove -Wno-empty-body from the configure script
|
17 years ago |
peter1138
|
6bb37edfb6
|
(svn r12332) -Fix (r12331): Invalidate cached data and update image after setting flag.
|
17 years ago |
glx
|
b64f637c72
|
(svn r12331) -Feature: [NewGRF] vehicle variable FE bit 8
|
17 years ago |
peter1138
|
dda6cab17a
|
(svn r12209) -Fix: [NewGRF] Support using any base price for rail and road vehicles' running cost, and show running cost of wagons if they have it.
|
17 years ago |
peter1138
|
79b6b9cb66
|
(svn r12205) -Codechange: rename RailVehicleInfo::running_cost_base to running_cost, inline with other vehicle types (It is the factor, not the base)
|
17 years ago |
frosch
|
1e74834441
|
(svn r12203) -Fix (r12199): Make trains pay attention to signals again.
|
17 years ago |
frosch
|
b7993793c8
|
(svn r12199) -Codechange: Remove magic around the results of GetTileTrackStatus().
|
17 years ago |
smatz
|
a190606f2e
|
(svn r12197) -Fix [FS#1788](r12134): show correct last year profit when the train had negative income
-Codechange: use GetDisplayProfitThisYear() to convert vehicle profit to readable form
|
17 years ago |
smatz
|
73a6525129
|
(svn r12194) -Codechange: apply coding style on enum TrainSubtype
|
17 years ago |
smatz
|
169ac7c91d
|
(svn r12189) -Codechange: mark some functions in train_cmd.cpp inline (called once or very short)
|
17 years ago |