summaryrefslogtreecommitdiff
path: root/src/roadveh.h
AgeCommit message (Collapse)Author
2011-12-19(svn r23595) -Codechange: add comma after last enum to get a more uniform ↵rubidium
coding style
2011-12-18(svn r23588) -Codechange: use the 'final' keyword so compiler can optimise ↵smatz
out some indirect calls
2011-11-04(svn r23112) -Codechange: Check if vehicle chain lengths stays constant when ↵michi_cc
auto-refitting.
2011-11-04(svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ ↵rubidium
functions if they return the Z in pixels (like TilePixelHeight)
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-02-05(svn r21976) -Doc: Document several crash handling functions.alberth
2011-02-02(svn r21945) -Codechange: simplify setting the overtaking counter and remove ↵rubidium
the magic from its numbers
2011-02-02(svn r21943) -Codechange: document and unmagicify some bits of road vehicle ↵rubidium
overtaking
2011-01-30(svn r21930) -Codechange: Remove unused vehicle GetTypeString() functions.alberth
2011-01-26(svn r21915) -Codechange: rename RoadVehicleAccelerate to ↵rubidium
RoadVehicle::UpdateSpeed (to match the naming used by Trains), and make use of the algorithm implemented in GroundVehicle
2011-01-26(svn r21912) -Codechange: let road vehicles use ↵rubidium
gcache.last_speed/SetLastSpeed as well
2011-01-22(svn r21890) -Cleanup: remove some unneeded includesrubidium
2011-01-21(svn r21883) -Codechange: make UpdateZPosition() faster by not calling ↵smatz
GetSlopeZ() when not needed
2011-01-21(svn r21876) -Codechange: typedef SpecializedVehicleBase and ↵smatz
GroundVehicleBase to reduce typing
2011-01-19(svn r21862) -Codechange: Unify subtype handling between road vehicles and ↵terkhen
trains.
2011-01-19(svn r21860) -Codechange: Rename road vehicle subtype functions to match the ↵terkhen
train names.
2010-12-14(svn r21521) -Codechange: Unify some cached values that were present in both ↵terkhen
road vehicles and trains.
2010-11-20(svn r21263) -Fix [FS#3935]: under some circumstances two vehicles could ↵rubidium
leave a non-drive through road stop at once
2010-11-07(svn r21106) -Change: Tuned realistic acceleration to be a bit more ↵michi_cc
realistic in order to make acceleration "slower", which highlights the differences between vehicle types more.
2010-11-06(svn r21099) -Codechange: Store road vehicle max speed in the vehicle cache.terkhen
2010-11-06(svn r21092) -Codechange: Merge max speed functions.terkhen
2010-10-30(svn r21058) -Feature [NewGRF]: Add CB36 support for road vehicle properties ↵terkhen
0x13 (Power), 0x14 (Weight) and 0x18 (Tractive effort).
2010-08-26(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to ↵rubidium
some headers
2010-08-12(svn r20454) -Fix: some whitespace.frosch
2010-08-02(svn r20302) -Add: Method for getting the air drag of a ground vehicle.terkhen
2010-08-02(svn r20299) -Add: Make trains and road vehicles use a different area value ↵terkhen
to calculate air drag.
2010-08-02(svn r20298) -Fix: GetInitialMaxSpeed did not return the correct value for ↵terkhen
road vehicles.
2010-05-13(svn r19812) -Codechange: give some unnamed enums a name or, in case they ↵rubidium
consisted of unrelated values use static const (u)int
2010-03-06(svn r19346) -Feature: Configurable slope steepness for road vehicles from ↵terkhen
0% to 10%, default is 7%.
2010-03-06(svn r19345) -Feature: Realistic acceleration for road vehicles.terkhen
2010-03-06(svn r19344) -Codechange: RoadVehicle uses UpdateInclination instead of its ↵terkhen
own function.
2010-03-06(svn r19343) -Codechange: Make RoadVehicle a child class of GroundVehicle.terkhen
-Add: Required acceleration functions at RoadVehicle.
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-11(svn r18779) -Codechange: merge the command callbacks of the primary ↵rubidium
vehicles; they are identical
2009-12-18(svn r18531) -Fix [FS#3384] (r18404): for articulated road vehicles only the ↵rubidium
first part was accounted for, so for extremely short fronts and lots after it the spreading did not work as it should.
2009-12-04(svn r18404) -Codechange: link drive through stops better togetherrubidium
-Feature: make penalty for road stop occupancy user configurable -Fix [FS#1944]: road vehicles would not pick an empty drive through stop. Now they will *if* the penalty for driving around is less than the occupancy penalty -Fix [FS#1495]: long (articulated) road vehicles could block loading of others when the following road vehicle already got 'permission' to go to the next bay even when it could not reach it -Change: improve the throughput of the drive through road stops by letting them stop closer together
2009-12-04(svn r18402) -Codechange: unify/centralise the code for crashing vehiclesrubidium
2009-12-02(svn r18385) -Cleanup: remove the now unneeded multistop slot management coderubidium
2009-12-02(svn r18381) -Codechange: Add RoadVehicle::IsBus() to simplify some stuff.frosch
2009-11-24(svn r18270) -Codechange: split the code for finding a road stop to stop at ↵rubidium
into a seperate function
2009-11-08(svn r18011) -Feature(ette): [NewGRF] CB 36 for roadvehicle property 09 ↵frosch
'running cost factor'.
2009-10-20(svn r17826) -Codechange: GetRoadVehLength() is only used in one file, make ↵frosch
it static.
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.