summaryrefslogtreecommitdiff
path: root/src/vehicle_base.h
AgeCommit message (Collapse)Author
2012-05-14(svn r24246) -Add [FS#5052-ish]: [NewGRF] Variable with the current max ↵michi_cc
speed for vehicles.
2012-04-17(svn r24136) -Feature [FS#4465]: Autoreplace vehicles only when they get ↵michi_cc
old. (Vikthor)
2012-01-02(svn r23714) -Codechange: don't mix Viewport with non-viewport codetruebrain
2012-01-02(svn r23713) -Codechange: split VehicleMove() into two functions, to ↵truebrain
minimalize the work done where possible
2012-01-02(svn r23712) -Codechange: rename the two vehicle hashes we have to names ↵truebrain
that make clear where they differ in
2012-01-01(svn r23704) -Doc: Doxygen comment fixes and additions.alberth
2011-12-20(svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the ↵truebrain
others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC)
2011-12-19(svn r23594) -Codechange: follow coding style with multi line commentsrubidium
2011-12-18(svn r23588) -Codechange: use the 'final' keyword so compiler can optimise ↵smatz
out some indirect calls
2011-12-12(svn r23502) -Fix (r23143): Vehicle var 42 used a cargo translation table of ↵frosch
the wrong GRF.
2011-11-21(svn r23290) -Fix [FS#2379,FS#3569]: Change the centre of train vehicles to ↵michi_cc
depend on the vehicle length instead of being fixed at 4/8th of the original vehicle length to make sure shortened vehicles don't block tiles they shouldn't block.
2011-11-04(svn r23104) -Codechange: prepare the vehicle/sign z for some further ↵rubidium
changes to reduce casting
2011-11-01(svn r23080) -Feature: [NewGRF] Use variable 10 to enable vehicle GRFs to ↵frosch
draw different sprites on the map and in various GUIs.
2011-11-01(svn r23075) -Codechange: Add GetGRF() and GetGRFID() methods to Engine and ↵frosch
Vehicle to simplify code.
2011-11-01(svn r23074) -Codechange: Add Vehicle::GetEngine() to simplify code.frosch
2011-10-04(svn r22997) -Feature: [NewGRF] Allow access to other vehicles in the ↵michi_cc
vehicle chain in VarAction 2.
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