summaryrefslogtreecommitdiff
path: root/src/vehicle_base.h
AgeCommit message (Collapse)Author
2011-09-19(svn r22947) -Fix: [NewGRF] Do not call CB 32 for disaster, effect vehicles ↵frosch
or aircraft shadows/rotors.
2011-08-03(svn r22713) -Feature: [NewGRF] Per vehicle custom cargo ageing period.michi_cc
2011-05-18(svn r22473) -Codechange: Automatic orders are better called implicit orders ↵planetmaker
as no real order influencing path finding is added
2011-05-14(svn r22459) -Doc: Typo fixes and doxygen markup improvements.alberth
2011-04-16(svn r22327) -Add: Vehicle::GetGroundVehicleFlags() for accessing ↵frosch
GroundVehicle<>::gv_flags through a Vehicle struct.
2011-02-01(svn r21938) -Codechange: AfterLoadGame() is no longer friend of Vehicle.alberth
2011-01-31(svn r21933) -Codechange: Split cur_order_index into cur_auto_order_index ↵frosch
and cur_real_order_index to keep track of the current real order in an unambiguous way. -Fix [FS#4440]: Automatic orders behave now stable wrt. service orders and are not added or removed depending on the need of servicing. -Fix: Various other issues with automatic orders, e.g. vehicles getting stuck with "no orders" when there are automatic orders at the end of the order list.
2011-01-31(svn r21932) -Document: some tidbits related to vehiclesrubidium
2011-01-30(svn r21930) -Codechange: Remove unused vehicle GetTypeString() functions.alberth
2011-01-29(svn r21925) -Doc: Doxygen additions and markup corrections to ↵alberth
vehicle-related functions.
2011-01-29(svn r21923) -Codechange: Unify articulated vehicle iteration functions.terkhen
2011-01-29(svn r21922) -Codechange: Unify articulated vehicle checking functions.terkhen
2011-01-29(svn r21921) -Codechange: Move GroundVehicleSubtypeFlags as they will be ↵terkhen
needed by some Vehicle functions.
2011-01-22(svn r21890) -Cleanup: remove some unneeded includesrubidium
2011-01-21(svn r21876) -Codechange: typedef SpecializedVehicleBase and ↵smatz
GroundVehicleBase to reduce typing
2011-01-18(svn r21843) -Codechange: move documentation towards the code to make it ↵rubidium
more likely to be updates [t-z].
2011-01-15(svn r21807) -Codechange: split automatic order removal into a separate ↵rubidium
function (fonsinchen)
2011-01-04(svn r21709) -Fix (r8128): Vehicle sprite was cached into a 16 bit variable, ↵peter1138
causing incorrect sprites to be displayed.
2010-12-26(svn r21644) -Change: keep showing "No orders" when the order list is filled ↵rubidium
with only automatic orders
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-14(svn r21519) -Codechange: Allow direct access to the GroundVehicleCache from ↵terkhen
a Vehicle.
2010-12-14(svn r21516) -Codechange: Add IsGroundVehicle function to the Vehicle class.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-13(svn r21504) -Codechange: move the "lost" bit from the train's flags to ↵rubidium
vehicle flags
2010-12-11(svn r21466) -Codechange: make VehicleHasDepotOrders a function of Vehicle.rubidium
2010-11-27(svn r21338) -Fix [FS#4272]: bogus cache mismatch warnings with desync ↵rubidium
debugging because some cache was invalidated but never reset
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-18(svn r21233) -Codechange: Introduce an enum to remove some magic numbers ↵rubidium
from the visual effect code (Hirundo)
2010-11-18(svn r21232) -Codechange: Move cached_vis_effect from the TrainCache to the ↵rubidium
VehicleCache (Hirundo)
2010-11-09(svn r21123) -Codechange: Remove max_speed from the Vehicle class.terkhen
2010-11-06(svn r21097) -Codechange: Unify cached max speed for all vehicle types.terkhen
2010-11-06(svn r21091) -Codechange: Add bit constants for checking NewGRFCache validity.terkhen
2010-11-06(svn r21090) -Codechange: Rename VehicleCache to NewGRFCache.terkhen
2010-11-05(svn r21088) -Doc: Additions/corrections of doxygen comments.alberth
2010-11-05(svn r21087) -Doc: Align and make existing comments available for doxygen.alberth
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-19(svn r20574) -Codechange: a little over 1 million vehicles should be enough ↵rubidium
for the forseeable future
2010-08-18(svn r20539) -Codechange: make order backups more self-contained.rubidium
2010-08-15(svn r20506) -Change: Vehicles will now stop loading after a load cycle that ↵michi_cc
loaded less than possible, unless it's a full load order. This should improve behaviour with gradual loading and cargo continuously trickling in.
2010-08-01(svn r20283) -Codechange: Unify start of doygen comments.frosch
2010-07-04(svn r20079) -Codechange [FS#3922]: Add helper functions to deal with the ↵frosch
192-256-magic of vehicle movement.
2010-05-03(svn r19756) -Codechange: move UpdateViewport() from Vehicle to ↵smatz
SpecializedVehicle in order to improve performance
2010-01-27(svn r18929) -Fix [FS#3568]: Preserve some timetable related vehicle flags ↵frosch
during autorenew/-replace.
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-04(svn r18402) -Codechange: unify/centralise the code for crashing vehiclesrubidium
2009-11-29(svn r18342) -Fix: erroneous spaces before ;rubidium