summaryrefslogtreecommitdiff
path: root/src/roadveh.h
AgeCommit message (Collapse)Author
2009-10-06(svn r17725) -Codechange: Reduce usage of EngInfo and XxxVehInfo, esp. when ↵frosch
a Engine * is already present.
2009-10-04(svn r17688) -Fix (r17684): incorrect commentssmatz
2009-10-03(svn r17684) -Fix: tcache.first_engine and rcache.first_engine need to be ↵frosch
set before first callback/sprite-resolving. For RV fronts it was missing at all, causing livery selection to fail.
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-07-18(svn r16872) -Codechange: Add RoadVehicle::GetDisplayImageWidth and simplify ↵frosch
DrawRoadVehImage.
2009-07-02(svn r16722) -Codechange: unify the naming of the Is/Set/HasArticulatedPart ↵rubidium
functions
2009-07-02(svn r16721) -Codechange: make Is/SetRoadVehicleFront, ↵rubidium
Is/Set/HasArticulatedPart member of RoadVehicle.
2009-06-02(svn r16505) -Fix [FS#2951] (r16472): since g++ 4.4 the implicit (default) ↵rubidium
constructor will zero the whole class. This caused all vehicle indices to be 0, which causes all kinds of trouble.
2009-05-30(svn r16472) -Codechange: set vehicle type in SpecializedVehicle constructor ↵smatz
instead of constructor of each vehicle type
2009-05-26(svn r16445) -Codechange: update old comments (Yexo)smatz
2009-05-26(svn r16441) -Codechange: new class SpecializedVehicle used as superclass ↵smatz
for all vehicle types
2009-05-23(svn r16394) -Codechange: move (NewGRF) cache variables into a separate ↵rubidium
struct so (some vehicle related) NewGRF cache 'desyncs' can be tested easier.
2009-05-22(svn r16390) -Codechange: move u.road to RoadVehicle.rubidium
2009-05-22(svn r16389) -Codechange: use RoadVehicle instead of Vehicle where appropriaterubidium
2009-05-22(svn r16382) -Codechange: make GetVehicleTrackdir a member function of Vehicle.rubidium
2009-05-22(svn r16376) -Codechange: Vehicle::Tick() now returns false if the vehicle ↵smatz
was deleted
2009-02-06(svn r15374) -Codechange: remove a magic constant.rubidium
2009-02-01(svn r15308) -Codechange: Deduplicate km-ish/h -> mph conversions.frosch
2008-08-17(svn r14090) -Fix: the vehicle window of articulated road vehicles would ↵rubidium
show the clone/refit button when the vehicle was not completely stopped in the depot.
2008-04-29(svn r12924) -Feature: Introducing the so called 'engine pool' which ↵peter1138
primarily removes the fixed engine type limits and also happens to allow (with the patch option 'dynamic_engines') multiple NewGRF vehicle sets to coexist.
2008-04-24(svn r12862) -Codechange: reduce code duplication for VehicleType -> ↵smatz
WindowClass lookup
2008-04-21(svn r12824) -Codechange: Standardise routines for drawing vehicle images, ↵peter1138
using correct types and less duplication.
2008-04-11(svn r12657) -Codechange: add 'FindClosestDepot' to the vehicle class.rubidium
2008-04-05(svn r12575) -Codechange: unduplicate Process*Orders for trains, ships and ↵rubidium
road vehicles.
2008-03-31(svn r12490) -Codechange: rename engine.h to engine_func.h and remove ↵rubidium
unneeded inclusions of engine.h and/or replace them with engine_type.h.
2008-02-21(svn r12209) -Fix: [NewGRF] Support using any base price for rail and road ↵peter1138
vehicles' running cost, and show running cost of wagons if they have it.
2008-02-01(svn r12037) -Codechange: replace OnNewDay_(Aircraft|RoadVeh|Ship|Train) ↵glx
with an OnNewDay method in the Vehicle class
2008-01-07(svn r11774) -Change: do not include variables.h in a header when it is not ↵rubidium
needed.
2007-12-27(svn r11706) -Codechange: split vehicle.h and remove another bunch of ↵rubidium
useless includes.
2007-12-21(svn r11677) -Codechange: move price and command related types/functions to ↵rubidium
their respective places.
2007-09-09(svn r11068) -Codechange: remove Vehicle::HasFront as all vehicles have the ↵rubidium
Vehicle::first pointer correctly set.
2007-08-30(svn r11003) -Codechange: replace Vehicle->next to Vehicle->Next() and ↵rubidium
Vehicle->SetNext() so we can trap instances that change a next pointer and (in the future) update the first/previous pointers based on that.
2007-08-29(svn r11001) -Codechange: unify the way to determine whether a vehicle is in ↵rubidium
a depot.
2007-08-29(svn r10999) -Codechange: unify the way the running cost of a vehicle is ↵rubidium
determined. Patch by nycom.
2007-08-28(svn r10995) -Codechange: unify the way to get the displayed maxium speed of ↵rubidium
a vehicle. Patch by nycom.
2007-08-26(svn r10985) -Codechange: unify/remove duplicate ↵rubidium
CcClone(Aircraft|RoadVeh|Ship|Train) in favour of CcCloneVehicle.
2007-08-26(svn r10984) -Codechange: unify the way one can get the current speed in the ↵rubidium
same forwat so we can display it.
2007-08-05(svn r10798) -Fix [FS#1105]: virtual functions do not work in destructors :(.rubidium
2007-07-24(svn r10673) -Cleanup: some assorted style cleanups. Primarily type* var -> ↵rubidium
type *var.
2007-07-01(svn r10409) -Codechange: replace (Aircraft|RoadVeh|Ship|Train)_Tick with a ↵rubidium
Tick method in the Vehicle class.
2007-07-01(svn r10408) -Codechange: make GetImage a class method of Vehicle instead of ↵rubidium
Get(Aircraft|RoadVeh|Ship|Train)Image.
2007-06-11(svn r10097) -Feature: Add support for articulated road vehicles, or ↵maedhros
callbacks 11 and 17 for road vehicles for those who prefer the technical explanation.
2007-06-01(svn r10009) -Codechange: Add and use Vehicle::IsPrimaryVehicle to replace ↵maedhros
individual checks depending on the vehicle type.
2007-05-02(svn r9765) -Codechange: constify some class functions.rubidium
2007-05-02(svn r9764) -Codechange: replace some lookup tables by functions.rubidium
2007-05-01(svn r9760) -Codechange: remove the need for saving some vehicle variables.rubidium
2007-04-29(svn r9755) -Codechange: refactor some more of the begin loading stuff.rubidium
2007-04-29(svn r9754) -Codechange: make classes for all vehicle types, so we can make ↵rubidium
nicer/better maintainable code, i.e. virtual methods instead of switches.
2007-04-03(svn r9553) -Documentation: fix ambiguity issue.rubidium
2007-03-28(svn r9523) -Cleanup: doxygen changes. Time to take care of "R"belugas