summaryrefslogtreecommitdiff
path: root/src/vehicle.cpp
AgeCommit message (Collapse)Author
2010-07-28(svn r20234) -Fix [FS#3988]: refit costs from refit orders are subtracted ↵yexo
from the vehicle yearly income
2010-07-14(svn r20142) -Fix [FS#3880]: Ships were not marked as dirty when stopping ↵terkhen
inside a depot.
2010-07-10(svn r20106) -Fix (r5999): Engine and vehicle age were clamped at 0xFFFF, ↵frosch
though there are 32bit available.
2010-07-09(svn r20098) -Fix [FS#3898]: A train reversing in a station would sometimes ↵michi_cc
fail to release its reserved path.
2010-06-27(svn r20025) -Doc: Fix/add comments to let Doxygen know about the documentation.alberth
2010-06-21(svn r20005) -Codechange: Enumify force_proceed.frosch
2010-06-16(svn r19992) -Fix [FS#3878]: Clear force_proceed when entering depots and ↵frosch
when loading. -Fix (r18515): Resetting of force_proceed on manual stopping did not work.
2010-06-11(svn r19963) -Add: Stop a vehicle after it crashes or is destroyed.terkhen
2010-06-05(svn r19931) -Fix (r19914): Convert assertion in Backup<> destructor into ↵frosch
DEBUG() output. It was triggered on exceptions, especially when aborting world generation.
2010-05-31(svn r19914) -Codechange: Wrap a helper class around temporary assignments ↵frosch
of _current_company to ensure proper restoration.
2010-05-03(svn r19756) -Codechange: move UpdateViewport() from Vehicle to ↵smatz
SpecializedVehicle in order to improve performance
2010-04-24(svn r19709) -Feature: NewGRF debugging/inspecting of (primarily) enabled ↵rubidium
callbacks and values of variables
2010-04-12(svn r19614) -Codechange: "it's" => "its" where appropriatesmatz
2010-03-20(svn r19494) -Codechange: Remove _error_message.alberth
2010-03-18(svn r19455) -Codechange: split all airport information in Station to a ↵yexo
seperate class
2010-03-13(svn r19405) -Codechange: CheckOwnership() returns a CommandCost.alberth
2010-03-07(svn r19369) -Codechange: EnsureNoTrainOnTrackBits() returns a CommandCost now.alberth
2010-03-07(svn r19366) -Codechange: Move setting of _error_message from the callback ↵alberth
check routine to the caller.
2010-03-07(svn r19365) -Codechange: Move EnsureNoTrainOnTrackProc() to src/vehicle.cpp.alberth
2010-03-05(svn r19319) -Codechange: EnsureNoVehicleOnGround() returns a CommandCost.alberth
2010-02-28(svn r19295) -Codechange: introduce wrapper functions for GRFConfig::name/infoyexo
2010-02-28(svn r19291) -Codechange: Rename HasVehicleOnTunnelBridge() to ↵alberth
TunnelBridgeIsFree() and return a CommandCost status.
2010-02-28(svn r19289) -Codechange: Move _error_message assignment from check routine ↵alberth
to caller.
2010-02-28(svn r19288) -Codechange: Move EnsureNoVehicleOnGround() and ↵alberth
HasVehicleOnTunnelBridge() functions.
2010-02-27(svn r19282) -Doc: Add some doxygen doc markup.alberth
2010-02-24(svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bitsmatz
2010-02-22(svn r19218) -Feature: [NewGRF] Add CB36 support for aircraft properties 0F ↵frosch
and 11. (Eddi)
2010-02-01(svn r18978) -Fix [FS#3584](r14753): possible invalid memory access when ↵smatz
merging companies
2010-01-21(svn r18872) -Codechange: introduce PaletteID and use itrubidium
2010-01-18(svn r18866) -Codechange: remove the CmdFailed(ret)/CmdSucceeded(ret) ↵rubidium
wrapper functions
2010-01-15(svn r18812) -Codechange: make some functions in train.h functions of Train.rubidium
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2010-01-09(svn r18764) -Fix [FS#3422]: split the (un)load ticks counter and signal ↵rubidium
wait counter; sometimes they might get into eachother's way
2009-12-27(svn r18642) -Fix [FS#3432]: when a company goes bankrupt and has vehicles ↵rubidium
on a drive through road stop that is not theirs, the 'filled' cache of the road stops would get corrupted
2009-12-20(svn r18571) -Fix (r18551): Vehicles not carrying any cargo (e.g. engines) ↵frosch
were not considered for sending to depot for replacement.
2009-12-20(svn r18568) -Codechange: Bail out early.frosch
2009-12-19(svn r18551) -Fix [FS#1762]: When autoreplace is the only allowed reason to ↵frosch
send vehicles to depot, first check some minimal requirements (engine availability, refittability) and a heuristic for the needed money.
2009-12-19(svn r18549) -Fix: first do the time-since-last-service check and only then ↵rubidium
determine whether autoreplace needs to take place. This way they will not keep autoreplacing continuously on failure, but only after some timeout.
2009-12-19(svn r18536) -Fix [FS#3386]: MSVC warning. Patch by pavel1269rubidium
2009-12-13(svn r18479) -Fix (r6532): Direction is accounted for long before motion ↵peter1138
counter is updated
2009-12-12(svn r18468) -Codechange: make sure one never makes self-loops using ↵rubidium
Vehicle::SetNext
2009-12-04(svn r18402) -Codechange: unify/centralise the code for crashing vehiclesrubidium
2009-12-02(svn r18385) -Cleanup: remove the now unneeded multistop slot management coderubidium
2009-11-05(svn r17974) -Fix (r17926)[FS#3300]: C != Tfrosch
2009-11-01(svn r17930) -Fix (r17926): Aircraft were not carrying mail anymore, when ↵frosch
CB15 was in use.
2009-10-31(svn r17928) -Codechange: ShowErrorMessage() now takes the summary string ↵alberth
before the details string. Gentlemen, swap your string parameters.
2009-10-31(svn r17926) -Fix (r9352): Make the decision whether aircraft carry mail ↵frosch
consistent. Now always the cargo class decides.
2009-10-28(svn r17899) -Codechange: Deduplicate code for refitting vehicles.frosch
2009-10-28(svn r17897) -Fix [FS#3255]: CB15 and CB36 (capacity) were not always called ↵frosch
when they should. -Codechange: Move capacity calculation to a single function for all vehicle types, so the behaviour can be kept consistent easier.
2009-10-06(svn r17725) -Codechange: Reduce usage of EngInfo and XxxVehInfo, esp. when ↵frosch
a Engine * is already present.