summaryrefslogtreecommitdiff
path: root/src/vehicle_base.h
AgeCommit message (Collapse)Author
2018-10-31Doc: Lots and lots of doxymentation fixesCharles Pigott
2018-05-22Change: Remove direction parameter from Vehicle::UpdateDeltaXY. (#6792)PeterN
The value is either unused or always the same as this->direction.
2017-03-24(svn r27822) -Feature: Vehicle Group Info: Add profits and occupancy display ↵peter1138
to group vehicle list (mtm, JGR)
2016-10-16(svn r27668) -Feature: [NewGRF] Allow composing vehicles from multiple sprites.frosch
2016-10-16(svn r27667) -Codechange: Add VehicleSpriteSeq::GetBounds and Draw.frosch
2016-10-16(svn r27666) -Codechange: Pass vehicle sprites around using a struct ↵frosch
VehicleSpriteSeq.
2016-05-22(svn r27579) -Change [FS#6402]: Performance improvement for dedicated ↵frosch
servers by skipping drawing calls earlier in the process. (JGR)
2014-09-20(svn r26864) -Codechange: bring a bit more OO into the disaster vehiclesrubidium
2014-09-20(svn r26863) -Codechange: move a number of Vehicle* functions into the ↵rubidium
Vehicle class
2014-08-17(svn r26747) -Feature: [NewGRF] Advanced visual effects with multiple effect ↵frosch
sprites independent of spawning model.
2014-08-17(svn r26746) -Codechange: Separate enums for visual effect type and spawning ↵frosch
model.
2013-12-13(svn r26157) -Feature: [NewGRF] Vehicle variable 4D for determining the ↵frosch
position within an articulated vehicle.
2013-10-22(svn r25903) -Codechange: Refactor RefreshNextHopsStats into an own class ↵fonsinchen
LinkRefresher.
2013-10-20(svn r25891) -Feature: Use smallstack to allow for multiple next hops when ↵fonsinchen
loading and unloading.
2013-10-19(svn r25883) -Fix: Limit recursion and branching in RefreshNextHopsStats ↵fonsinchen
more aggressively.
2013-08-20(svn r25737) -Codechange: move inner workings of RefreshNextHopsStats into ↵fonsinchen
separate function
2013-07-06(svn r25565) -Codechange: Rewrite order prediction logic to introduce proper ↵fonsinchen
refit prediction
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