summaryrefslogtreecommitdiff
path: root/src/vehicle.cpp
AgeCommit message (Collapse)Author
2010-12-22(svn r21598) -Fix (r3139, r21236, r21249)[FS#4275]: The default visual ↵frosch
effect only depends on properties of the Engine (wagon or not, tractiontype, ...), not whether it is used as articulated part, front engine or whatever in a specific consist.
2010-12-22(svn r21597) -Fix (r21239): Also catch the case when callback 10 returns ↵frosch
VE_DEFAULT.
2010-12-22(svn r21596) -Codechange: Rename a misleading-named variable.frosch
2010-12-21(svn r21562) -Change: Add articulated parts of vehicles in a refit selection ↵terkhen
to that selection.
2010-12-21(svn r21561) -Change: Allow to specify the number of vehicles to refit in ↵terkhen
the refit vehicle command.
2010-12-14(svn r21521) -Codechange: Unify some cached values that were present in both ↵terkhen
road vehicles and trains.
2010-12-14(svn r21519) -Codechange: Allow direct access to the GroundVehicleCache from ↵terkhen
a Vehicle.
2010-12-14(svn r21518) -Codechange: Rename AccelerationCache to GroundVehicleCache.terkhen
2010-12-13(svn r21508) -Codechange: move the code to handle the pathfinder's "path ↵rubidium
found" status to a separate function
2010-12-11(svn r21466) -Codechange: make VehicleHasDepotOrders a function of Vehicle.rubidium
2010-11-18(svn r21249) -Fix (r21240, r21236) [FS#4242]: rear ends of dualheaded ↵rubidium
engines didn't smoke nor spark (Hirundo)
2010-11-18(svn r21240) -Feature: [NewGRF] Implement action0 visual effect properties ↵rubidium
for ships and RVs (Hirundo)
2010-11-18(svn r21239) -Codechange/Fix: [NewGRF] Use 0xFF instead of 0 as default ↵rubidium
value for visual effect. This makes setting train prop 22 to 0 actually work (Hirundo)
2010-11-18(svn r21237) -Codechange: Move HandleLocomotiveSmokeCloud to ↵rubidium
Vehicle::ShowVisualEffect (Hirundo)
2010-11-18(svn r21235) -Codechange: Move Train::UpdateVisualEffect to the Vehicle ↵rubidium
class (Hirundo)
2010-11-16(svn r21214) -Add: Display mail capacity when refitting an aircraft to ↵terkhen
passengers.
2010-11-06(svn r21098) -Codechange: Ships now store their max speed in the cache ↵terkhen
instead of recalculating it every time.
2010-11-05(svn r21088) -Doc: Additions/corrections of doxygen comments.alberth
2010-10-30(svn r21060) -Doc: Improved wording of comments (mostly by __ln__)alberth
2010-10-25(svn r21039) -Fix/Cleanup: Remove an unneeded and even wrong test, which is ↵frosch
never reached anyway though.
2010-09-25(svn r20847) -Codechange: Split most of GetEngineLivery() into a separate ↵frosch
GetEngineLiveryScheme() function.
2010-09-08(svn r20772) -Codechange: use packed VehicleListIdentifiers as window numbersrubidium
2010-09-06(svn r20753) -Feature [FS#3999]: make it possible to select vehicle to clone ↵smatz
and vehicle to clone orders from directly from vehicle lists and depot window
2010-08-28(svn r20646) -Codechange: make the code flow of breakdown handling a bit clearerrubidium
2010-08-28(svn r20645) -Codechange [FS#4086]: unify the code for checking for ↵rubidium
breakdown handling as well (Hirundo)
2010-08-28(svn r20644) -Codechange [FS#4086]: unify the vehicle breakdown code (Hirundo)rubidium
2010-08-26(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to ↵rubidium
some headers
2010-08-26(svn r20623) -Codechange: unify the storing of animation related informationrubidium
2010-08-23(svn r20605) -Fix [FS#4063]: let NewGRFs var43 var (information about ↵rubidium
liveries) for vehicles not be influenced by the local setting determining whether to show liveries or not.
2010-08-20(svn r20581) -Codechange: simplify getting the station in ↵rubidium
CalcPercentVehicleFilled
2010-08-18(svn r20541) -Fix: when removing a vehicle update the "clone orders ↵rubidium
of"-vehicle of a backed up order, or remove it if there is no vehicle sharing orders with that vehicle.
2010-08-15(svn r20499) -Doc: Spelling fixes, and one doxygen comment addition.alberth
2010-08-10(svn r20437) -Codechange: lets Engines use GRFFilePropsBase as wellrubidium
2010-08-06(svn r20391) -Fix [FS#3993]: Prevent buying more vehicles than allowed.alberth
2010-08-06(svn r20390) -Codechange: Move company vehicle counting to vehicle.cpp.alberth
2010-08-01(svn r20286) -Codechange: Unify end of doxygen comments.frosch
2010-08-01(svn r20283) -Codechange: Unify start of doygen comments.frosch
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