smatz
|
9fc355fca5
|
(svn r12862) -Codechange: reduce code duplication for VehicleType -> WindowClass lookup
|
16 years ago |
peter1138
|
a05e9b4c6b
|
(svn r12824) -Codechange: Standardise routines for drawing vehicle images, using correct types and less duplication.
|
16 years ago |
peter1138
|
5dcd689f56
|
(svn r12824) -Codechange: Standardise routines for drawing vehicle images, using correct types and less duplication.
|
16 years ago |
rubidium
|
4ce50a0d64
|
(svn r12814) -Codechange: reshuffle some variables in the Vehicle struct saving 20 bytes with a 32 bit compiler and 32 bytes on 64 bit compiler per vehicle.
|
16 years ago |
rubidium
|
dea4738382
|
(svn r12814) -Codechange: reshuffle some variables in the Vehicle struct saving 20 bytes with a 32 bit compiler and 32 bytes on 64 bit compiler per vehicle.
|
16 years ago |
rubidium
|
8186344628
|
(svn r12804) -Codechange: move the effect vehicle handling out of vehicle.cpp
|
16 years ago |
rubidium
|
b139756e2b
|
(svn r12804) -Codechange: move the effect vehicle handling out of vehicle.cpp
|
16 years ago |
rubidium
|
40b19f3997
|
(svn r12803) -Cleanup: rename SpecialVehicle to EffectVehicle to have a uniform naming of the thing instead of using both names for the same thing.
|
16 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.
|
16 years ago |
glx
|
90bd1e45eb
|
(svn r12711) -Codechange: remove unneeded loops
|
16 years ago |
glx
|
3a84a74f4d
|
(svn r12711) -Codechange: remove unneeded loops
|
16 years ago |
rubidium
|
daf5a2f1bc
|
(svn r12658) -Codechange: unify a vast portion of the CmdSend<VehicleType>ToDepot commands.
|
16 years ago |
rubidium
|
570519d79b
|
(svn r12658) -Codechange: unify a vast portion of the CmdSend<VehicleType>ToDepot commands.
|
16 years ago |
rubidium
|
aa8a5b2c39
|
(svn r12657) -Codechange: add 'FindClosestDepot' to the vehicle class.
|
16 years ago |
rubidium
|
62bdc381e7
|
(svn r12657) -Codechange: add 'FindClosestDepot' to the vehicle class.
|
16 years ago |
frosch
|
b91781b715
|
(svn r12629) -Codechange: Split VehicleNeedsService() into Vehicle::NeedsServicing() and Vehicle::NeedsAutomaticServicing().
-Fix (r11052): Disable servicing by service-interval if a vehicle has depot orders.
|
16 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.
|
16 years ago |
rubidium
|
3fdddeac40
|
(svn r12575) -Codechange: unduplicate Process*Orders for trains, ships and road vehicles.
|
16 years ago |
rubidium
|
bdd64495cd
|
(svn r12575) -Codechange: unduplicate Process*Orders for trains, ships and road vehicles.
|
16 years ago |
frosch
|
51155403a4
|
(svn r12531) -Codechange: Rename some variables for consistency.
|
16 years ago |
frosch
|
15a9fba867
|
(svn r12531) -Codechange: Rename some variables for consistency.
|
16 years ago |
rubidium
|
b84b16cfcd
|
(svn r12488) -Codechange: split order.h into order_base.h and order_func.h.
|
16 years ago |
rubidium
|
4a1035ab95
|
(svn r12488) -Codechange: split order.h into order_base.h and order_func.h.
|
16 years ago |
rubidium
|
49a040e6ad
|
(svn r12476) -Codechange: split type engine related types from engine.h (and openttd.h) to engine_type.h.
|
16 years ago |
rubidium
|
93d59fe448
|
(svn r12476) -Codechange: split type engine related types from engine.h (and openttd.h) to engine_type.h.
|
16 years ago |
rubidium
|
bf54e0ba1c
|
(svn r12469) -Codechange: split type related stuff from group.h (and openttd.h) to group_type.h.
|
16 years ago |
rubidium
|
878489e38d
|
(svn r12469) -Codechange: split type related stuff from group.h (and openttd.h) to group_type.h.
|
16 years ago |
glx
|
d9d601b1ca
|
(svn r12331) -Feature: [NewGRF] vehicle variable FE bit 8
|
17 years ago |
glx
|
b64f637c72
|
(svn r12331) -Feature: [NewGRF] vehicle variable FE bit 8
|
17 years ago |
bjarni
|
973d1fd6ad
|
(svn r12230) -Codechange: [autoreplace] made a function to detect if a vehicle needs autorenewing
This will remove duplicated code and ensure that the check is consistent
|
17 years ago |
bjarni
|
089969e1ca
|
(svn r12230) -Codechange: [autoreplace] made a function to detect if a vehicle needs autorenewing
This will remove duplicated code and ensure that the check is consistent
|
17 years ago |
smatz
|
9bdb194b2a
|
(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
|
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
|
fe48d0be21
|
(svn r12134) -Change: count the number of ticks a vehicle was running this day to calculate running cost
-Fix [FS#1739]: vehicle profit is now counted with 8bit fract, so it is now shown properly in the vehicle details window
|
17 years ago |
smatz
|
a0ddc43e92
|
(svn r12134) -Change: count the number of ticks a vehicle was running this day to calculate running cost
-Fix [FS#1739]: vehicle profit is now counted with 8bit fract, so it is now shown properly in the vehicle details window
|
17 years ago |
belugas
|
33e63a3adc
|
(svn r12040) -Codechange: Change IsOrderListShared from a simple function to a class member(MagicBuzz).
|
17 years ago |
belugas
|
fc4f6dcfb1
|
(svn r12040) -Codechange: Change IsOrderListShared from a simple function to a class member(MagicBuzz).
|
17 years ago |
glx
|
7ce12e50da
|
(svn r12037) -Codechange: replace OnNewDay_(Aircraft|RoadVeh|Ship|Train) with an OnNewDay method in the Vehicle class
|
17 years ago |
glx
|
525409b0fc
|
(svn r12037) -Codechange: replace OnNewDay_(Aircraft|RoadVeh|Ship|Train) with an OnNewDay method in the Vehicle class
|
17 years ago |
peter1138
|
0f7392bd61
|
(svn r11822) -Codechange: Replaced fixed size custom name array. Names are now attached to their object directly and there is
no limit to the amount of names.
-Fix: NewGRF engines could not be renamed.
|
17 years ago |
peter1138
|
ab8382c0db
|
(svn r11822) -Codechange: Replaced fixed size custom name array. Names are now attached to their object directly and there is
no limit to the amount of names.
-Fix: NewGRF engines could not be renamed.
|
17 years ago |
rubidium
|
2fc62eab05
|
(svn r11818) -Codechange: split player.h into smaller pieces.
|
17 years ago |
rubidium
|
ac528411df
|
(svn r11818) -Codechange: split player.h into smaller pieces.
|
17 years ago |
rubidium
|
2d2e1e3863
|
(svn r11800) -Codechange: move some functions to a more logical location + some type safety.
|
17 years ago |
rubidium
|
998d7644f6
|
(svn r11800) -Codechange: move some functions to a more logical location + some type safety.
|
17 years ago |
peter1138
|
5c23778065
|
(svn r11741) -Feature: Add support for NewGRF's train 'tilt' flag. Trains with tilt capability (specific details are per NewGRF set) will be given a 20% speed limit bonus on curves.
|
17 years ago |
peter1138
|
47082fec5c
|
(svn r11741) -Feature: Add support for NewGRF's train 'tilt' flag. Trains with tilt capability (specific details are per NewGRF set) will be given a 20% speed limit bonus on curves.
|
17 years ago |
peter1138
|
96d09cfae9
|
(svn r11735) -Fix [FS#1574]: Don't reset loading indicator IDs when only reloading NewGRFs.
|
17 years ago |
peter1138
|
aab495604a
|
(svn r11735) -Fix [FS#1574]: Don't reset loading indicator IDs when only reloading NewGRFs.
|
17 years ago |
rubidium
|
722613f7f3
|
(svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes.
|
17 years ago |
rubidium
|
384503e7d3
|
(svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes.
|
17 years ago |