summaryrefslogtreecommitdiff
path: root/src/vehicle_base.h
AgeCommit message (Collapse)Author
2013-06-09(svn r25361) -Feature: distribute cargo according to plan given by linkgraphfonsinchen
2013-05-19(svn r25259) -Codechange: track capacities and usage of linksrubidium
2013-02-17(svn r25012) -Codechange: persistently keep 'reserved' cargo (for full-load ↵rubidium
improved loading) instead of calculating if for every cycle
2013-02-14(svn r24998) -Fix [FS#5137]: Set vehicle's service interval is percent flag ↵rubidium
appropriately on creation (peter1138)
2013-02-14(svn r24995) -Codechange: Add flags to vehicle service interval for custom & ↵rubidium
ispercent (peter1138)
2013-02-14(svn r24994) -Codechange: Replace access to service_interval with accessors ↵rubidium
(peter1138)
2012-09-16(svn r24528) -Fix: [NewGRF] RandomAction 84 should interpret register 100 as ↵frosch
signed.
2012-07-29(svn r24446) -Add [FS#5199]: Store more consist properties in order backups.frosch
2012-07-29(svn r24443) -Codechange: Move Vehicle::name to BaseConsist.frosch
2012-07-29(svn r24442) -Codechange: Split some members of Vehicle into a new class ↵frosch
BaseConsist.
2012-07-07(svn r24384) -Fix [FS#5188-ish]: Make IsInDepot() functions behave ↵frosch
consistent across vehicle types and add IsChainInDepot instead, if that is what shall be checked.
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