summaryrefslogtreecommitdiff
path: root/src/vehicle.cpp
AgeCommit message (Collapse)Author
2008-04-07(svn r12600) -Codechange: make GetNonStopType return a more augmented type; ↵rubidium
not is there a non-stop order but the kind of non-stop order, so one doesn't need to check _patches.new_nonstop type everywhere.
2008-04-06(svn r12599) -Codechange: force AllocateSafeRaw() to be linked to simplify ↵smatz
compiler's decisions about inlining
2008-04-06(svn r12593) -Codechange: hide Order's flags in most of the code.rubidium
2008-04-06(svn r12588) -Codechange: do not access the destination of an order directly.rubidium
2008-04-06(svn r12586) -Codechange: do not access an order's refit variables directly.rubidium
2008-04-05(svn r12585) -Fix (r12584): assumption that assertions were enabled during ↵rubidium
compilation/testing was flawed.
2008-04-05(svn r12584) -Codechange: do not access the order type directly.rubidium
2008-04-01(svn r12531) -Codechange: Rename some variables for consistency.frosch
2008-03-31(svn r12490) -Codechange: rename engine.h to engine_func.h and remove ↵rubidium
unneeded inclusions of engine.h and/or replace them with engine_type.h.
2008-03-31(svn r12489) -Codechange: split station.h into station_base.h and ↵rubidium
station_func.h.
2008-03-30(svn r12488) -Codechange: split order.h into order_base.h and order_func.h.rubidium
2008-03-28(svn r12459) -Codechange: split news.h into news_type.h and news_func.h.rubidium
2008-03-25(svn r12421) -Feature: [autoreplace] the autoreplace button in train depots ↵bjarni
will now also replace wagons even if they aren't connected to a locomotive fixed estimated cost in CmdDepotMassAutoReplace() (will still not estimate wagon removal profits) Made it possible to command CmdDepotMassAutoReplace() to either replace everything or nothing (the button will still happily replace just some of the vehicles if cash premits)
2008-03-04(svn r12339) -Fix (r12331): Recalculate cached train data after clearing ↵peter1138
reversing flag when entering depot.
2008-03-03(svn r12331) -Feature: [NewGRF] vehicle variable FE bit 8glx
2008-02-23(svn r12231) -Cleanup (r12230): [autoreplace] moved ↵bjarni
Vehicle::NeedsAutorenewing() and added comments
2008-02-16(svn r12163) -Fix [FS#1705]: if a train is 'stopping' when entering a depot, ↵smatz
do not let it leave again
2008-02-13(svn r12134) -Change: count the number of ticks a vehicle was running this ↵smatz
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
2008-02-10(svn r12097) -Fix (r654, r1525): loading old, pre savegame version 2, savegames.glx
2008-02-01(svn r12033) -Fix: do not show train speed as zero after loading paused gamesmatz
2008-01-18(svn r11916) -Codechange: use enums from VehicleViewWindowWidgets instead of ↵smatz
constants -Fix: refit button widget was not correctly updated
2008-01-16(svn r11882) -Codechange: introduce MarkSingleVehicleDirty() and simplify ↵smatz
the code at some places
2008-01-16(svn r11874) -Fix [FS#1655]: all wagons of maglev/monorail trains would get ↵rubidium
the livery colour of the engine instead of their wagon type.
2008-01-15(svn r11866) -Codechange: swap OFB_* and OF_* so it conceptually in sync ↵rubidium
with other cases of *B_* vs *_* like VETSB_* and VETS_*.
2008-01-15(svn r11864) -Codechange: pass owner whose signals we will update instead of ↵smatz
complex detection later
2008-01-13(svn r11834) -Codechange: only include settings_type.h if needed.rubidium
2008-01-13(svn r11828) -Codechange: include table/* as the last includes and remove an ↵rubidium
unneeded include from openttd.h.
2008-01-12(svn r11822) -Codechange: Replaced fixed size custom name array. Names are ↵peter1138
now attached to their object directly and there is no limit to the amount of names. -Fix: NewGRF engines could not be renamed.
2008-01-12(svn r11818) -Codechange: split player.h into smaller pieces.rubidium
2008-01-10(svn r11809) -Fix [FS#1643]: set expenses type when selling all vehicles in ↵smatz
depot
2008-01-09(svn r11802) -Fix [FS#716]: do not crash trains when leaving depot to a very ↵smatz
long track -Codechange: use dedicated pathfinder for signal updating, resulting in better performance and possible future improvements
2008-01-09(svn r11793) -Codechange: pass the expense type via the CommandCost instead ↵rubidium
of a global variable. Patch by Noldo (FS#1114).
2008-01-09(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.rubidium
2008-01-07(svn r11777) -Codechange: split the string header and make do not include it ↵rubidium
when it's not necessary.
2008-01-07(svn r11775) -Codechange: move all autoreplace/autorenew functions to a ↵rubidium
single location.
2008-01-07(svn r11774) -Change: do not include variables.h in a header when it is not ↵rubidium
needed.
2008-01-01(svn r11735) -Fix [FS#1574]: Don't reset loading indicator IDs when only ↵peter1138
reloading NewGRFs.
2007-12-29(svn r11719) -Codechange: split sound.h in a header with types and one with ↵rubidium
functions.
2007-12-27(svn r11706) -Codechange: split vehicle.h and remove another bunch of ↵rubidium
useless includes.
2007-12-26(svn r11702) -Codechange: move all date related stuff to date*.rubidium
2007-12-26(svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split ↵rubidium
map.h).
2007-12-25(svn r11692) -Codechange: move some functions from 'functions.h' to a more ↵rubidium
logical place and remove about 50% of the includes of 'functions.h'
2007-12-25(svn r11691) -Codechange: move+rename helpers.hpp and only include it when ↵rubidium
it is really needed.
2007-12-23(svn r11684) -Codechange: split gfx.h in a type and functional header.rubidium
2007-12-22(svn r11682) -Codechange: move some 'generic' geometry related types into a ↵rubidium
single file and do not include gfx.h everywhere to get a Point type.
2007-12-21(svn r11680) -Codechange: refactor more out of openttd.h and functions.h.rubidium
2007-12-21(svn r11677) -Codechange: move price and command related types/functions to ↵rubidium
their respective places.
2007-12-21(svn r11675) -Codechange: split the string types from the string functions.rubidium
2007-12-19(svn r11669) -Codechange: refactor tile.h -> tile_type.h and tile_map.hrubidium
2007-12-18(svn r11664) -Codechange: use more specific ("rail_type.h" instead of ↵rubidium
"rail.h" that includes way more than only "rail_type.h") includes at some places.