summaryrefslogtreecommitdiff
path: root/src/vehicle.cpp
AgeCommit message (Collapse)Author
2011-01-15(svn r21807) -Codechange: split automatic order removal into a separate ↵rubidium
function (fonsinchen)
2011-01-15(svn r21804) -Remove [FS#4409]: the 'stopall' console command, as its ↵smatz
functionality was broken. Group start/stop commands can be used instead
2011-01-15(svn r21802) -Cleanup (r2600): remove unused _vehicle_id_ctr_daysmatz
2011-01-06(svn r21738) -Fix (r21642)[FS#4384]: Start loading when cur_order_index ↵frosch
points to the destination station, i.e. after deleting not-reached automatic orders.
2010-12-31(svn r21679) -Fix (r21642): reading a just freed variablerubidium
2010-12-26(svn r21643) -Fix (r21642): crash when a train with no orders (or actually ↵rubidium
no order list) stops at a station
2010-12-26(svn r21642) -Feature: concept of automatic station orders; add stub orders ↵rubidium
for intermediate stations and remove them when not visiting them anymore. This allows you to see what trains visit a station without actually having to order a vehicle to stop at all stations. Based on patch by fonsinchen
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