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 |
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 |
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
|
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
|
5e5e074a5d
|
(svn r12540) -Codechange: Enumify some values in original pathfinder and remove an unused variable.
|
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 |
rubidium
|
eeabab4555
|
(svn r12459) -Codechange: split news.h into news_type.h and news_func.h.
|
17 years ago |
frosch
|
b7993793c8
|
(svn r12199) -Codechange: Remove magic around the results of GetTileTrackStatus().
|
17 years ago |
frosch
|
f5929d413b
|
(svn r12193) -Codechange: Rename a magic variable, give it a decent type, and remove a 'goto'.
|
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 |
smatz
|
fd51465c8b
|
(svn r12132) -Cleanup: convert pathfinder selection from if/else to switch/case at many places
|
17 years ago |
smatz
|
507728f46b
|
(svn r12129) -Change [FS#1759]: simplified patch settings for pathfinders (Yorick)
|
17 years ago |
frosch
|
7b9efcea21
|
(svn r12085) -Fix(r12058): Road vehicles could get stuck, when NPF told them to reverse on junction tiles. (spotted by SmatZ)
|
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 |
smatz
|
d6eaf1a11a
|
(svn r11962) -Cleanup: OPF is no longer used to update signals
|
17 years ago |
smatz
|
1d59439166
|
(svn r11916) -Codechange: use enums from VehicleViewWindowWidgets instead of constants
-Fix: refit button widget was not correctly updated
|
17 years ago |
smatz
|
ac7bc24b0e
|
(svn r11882) -Codechange: introduce MarkSingleVehicleDirty() and simplify the code at some places
|
17 years ago |
rubidium
|
576f8ad93e
|
(svn r11866) -Codechange: swap OFB_* and OF_* so it conceptually in sync with other cases of *B_* vs *_* like VETSB_* and VETS_*.
|
17 years ago |
rubidium
|
dc87b05e8c
|
(svn r11834) -Codechange: only include settings_type.h if needed.
|
17 years ago |
rubidium
|
d4e6a6bf57
|
(svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h.
|
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
|
ac528411df
|
(svn r11818) -Codechange: split player.h into smaller pieces.
|
17 years ago |
rubidium
|
998d7644f6
|
(svn r11800) -Codechange: move some functions to a more logical location + some type safety.
|
17 years ago |
rubidium
|
46650c54b6
|
(svn r11793) -Codechange: pass the expense type via the CommandCost instead of a global variable. Patch by Noldo (FS#1114).
|
17 years ago |
peter1138
|
a01fc4c142
|
(svn r11789) -Codechange: coding style for global variable names
|
17 years ago |
rubidium
|
0e517fe023
|
(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.
|
17 years ago |
rubidium
|
a8a3a7e3f2
|
(svn r11775) -Codechange: move all autoreplace/autorenew functions to a single location.
|
17 years ago |
rubidium
|
b0ac283aec
|
(svn r11774) -Change: do not include variables.h in a header when it is not needed.
|
17 years ago |
rubidium
|
e5e75bd8f8
|
(svn r11719) -Codechange: split sound.h in a header with types and one with functions.
|
17 years ago |
smatz
|
38f0e422ac
|
(svn r11707) -Fix: do not allow refitting flooded (destroyed) vehicles
|
17 years ago |
rubidium
|
384503e7d3
|
(svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes.
|
17 years ago |
rubidium
|
b9046c97fb
|
(svn r11702) -Codechange: move all date related stuff to date*.
|
17 years ago |
rubidium
|
2786d789a1
|
(svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split map.h).
|
17 years ago |
rubidium
|
429521a7d1
|
(svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h'
|
17 years ago |
rubidium
|
6a9e77e079
|
(svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
|
17 years ago |
rubidium
|
9e9cfe6e59
|
(svn r11677) -Codechange: move price and command related types/functions to their respective places.
|
17 years ago |
rubidium
|
433a9f3c09
|
(svn r11675) -Codechange: split the string types from the string functions.
|
17 years ago |
rubidium
|
5b49e75453
|
(svn r11669) -Codechange: refactor tile.h -> tile_type.h and tile_map.h
|
17 years ago |
rubidium
|
5dc0e86d1b
|
(svn r11605) -Fix [FS#1482, FS#1523]: wrong count of Kirby trains when a ship was build.
|
17 years ago |