Commit Graph

91 Commits (ba1ee9304d1313896c4fa603e3ac161c5ff9d7c8)

Author SHA1 Message Date
frosch 6e61fee028 (svn r23080) -Feature: [NewGRF] Use variable 10 to enable vehicle GRFs to draw different sprites on the map and in various GUIs. 13 years ago
alberth fe71cbfc8b (svn r21976) -Doc: Document several crash handling functions. 14 years ago
rubidium 7d7c82d9cc (svn r21945) -Codechange: simplify setting the overtaking counter and remove the magic from its numbers 14 years ago
rubidium ca487f998b (svn r21943) -Codechange: document and unmagicify some bits of road vehicle overtaking 14 years ago
alberth b5e2e83823 (svn r21930) -Codechange: Remove unused vehicle GetTypeString() functions. 14 years ago
rubidium 2f8fb298a8 (svn r21915) -Codechange: rename RoadVehicleAccelerate to RoadVehicle::UpdateSpeed (to match the naming used by Trains), and make use of the algorithm implemented in GroundVehicle 14 years ago
rubidium aa1f02c248 (svn r21912) -Codechange: let road vehicles use gcache.last_speed/SetLastSpeed as well 14 years ago
rubidium 05199a641a (svn r21890) -Cleanup: remove some unneeded includes 14 years ago
smatz 50dfa5986c (svn r21883) -Codechange: make UpdateZPosition() faster by not calling GetSlopeZ() when not needed 14 years ago
smatz 792659936e (svn r21876) -Codechange: typedef SpecializedVehicleBase and GroundVehicleBase to reduce typing 14 years ago
terkhen 8db501e115 (svn r21862) -Codechange: Unify subtype handling between road vehicles and trains. 14 years ago
terkhen fdb720cc1a (svn r21860) -Codechange: Rename road vehicle subtype functions to match the train names. 14 years ago
terkhen f69d280f14 (svn r21521) -Codechange: Unify some cached values that were present in both road vehicles and trains. 14 years ago
rubidium d24dbdac7b (svn r21263) -Fix [FS#3935]: under some circumstances two vehicles could leave a non-drive through road stop at once 14 years ago
michi_cc 06fd794dc7 (svn r21106) -Change: Tuned realistic acceleration to be a bit more realistic in order to make acceleration "slower", which highlights the differences between vehicle types more. 14 years ago
terkhen 25e638adcb (svn r21099) -Codechange: Store road vehicle max speed in the vehicle cache. 14 years ago
terkhen ac4a3c9101 (svn r21092) -Codechange: Merge max speed functions. 14 years ago
terkhen 867f7b5f7b (svn r21058) -Feature [NewGRF]: Add CB36 support for road vehicle properties 0x13 (Power), 0x14 (Weight) and 0x18 (Tractive effort). 14 years ago
rubidium 360d6daf34 (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 14 years ago
frosch 98bc6501c6 (svn r20454) -Fix: some whitespace. 14 years ago
terkhen 7f786ae7b8 (svn r20302) -Add: Method for getting the air drag of a ground vehicle. 14 years ago
terkhen f33a0370ae (svn r20299) -Add: Make trains and road vehicles use a different area value to calculate air drag. 14 years ago
terkhen 094841cba3 (svn r20298) -Fix: GetInitialMaxSpeed did not return the correct value for road vehicles. 14 years ago
rubidium f09a74a996 (svn r19812) -Codechange: give some unnamed enums a name or, in case they consisted of unrelated values use static const (u)int 14 years ago
terkhen f78a386b87 (svn r19346) -Feature: Configurable slope steepness for road vehicles from 0% to 10%, default is 7%. 14 years ago
terkhen e6878d7ba1 (svn r19345) -Feature: Realistic acceleration for road vehicles. 14 years ago
terkhen ac03431a76 (svn r19344) -Codechange: RoadVehicle uses UpdateInclination instead of its own function. 14 years ago
terkhen 2e18705d4e (svn r19343) -Codechange: Make RoadVehicle a child class of GroundVehicle.
-Add: Required acceleration functions at RoadVehicle.
14 years ago
rubidium 9467b7c6d6 (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 15 years ago
rubidium 8bdeb2cab6 (svn r18779) -Codechange: merge the command callbacks of the primary vehicles; they are identical 15 years ago
rubidium 06f9e26ca4 (svn r18531) -Fix [FS#3384] (r18404): for articulated road vehicles only the first part was accounted for, so for extremely short fronts and lots after it the spreading did not work as it should. 15 years ago
rubidium 0fed86a779 (svn r18404) -Codechange: link drive through stops better together
-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
15 years ago
rubidium 6600610e47 (svn r18402) -Codechange: unify/centralise the code for crashing vehicles 15 years ago
rubidium 6278f0b8a9 (svn r18385) -Cleanup: remove the now unneeded multistop slot management code 15 years ago
frosch 992bc6c345 (svn r18381) -Codechange: Add RoadVehicle::IsBus() to simplify some stuff. 15 years ago
rubidium ff1a4a9028 (svn r18270) -Codechange: split the code for finding a road stop to stop at into a seperate function 15 years ago
frosch 1bd8a982d5 (svn r18011) -Feature(ette): [NewGRF] CB 36 for roadvehicle property 09 'running cost factor'. 15 years ago
frosch 99d822723d (svn r17826) -Codechange: GetRoadVehLength() is only used in one file, make it static. 15 years ago
frosch 4cb5a3e8a2 (svn r17725) -Codechange: Reduce usage of EngInfo and XxxVehInfo, esp. when a Engine * is already present. 15 years ago
smatz be3ee603b1 (svn r17688) -Fix (r17684): incorrect comments 15 years ago
frosch a9717da0d3 (svn r17684) -Fix: tcache.first_engine and rcache.first_engine need to be set before first callback/sprite-resolving. For RV fronts it was missing at all, causing livery selection to fail. 15 years ago
rubidium 99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
frosch f9e085f004 (svn r16872) -Codechange: Add RoadVehicle::GetDisplayImageWidth and simplify DrawRoadVehImage. 15 years ago
rubidium 18fbe0aac4 (svn r16722) -Codechange: unify the naming of the Is/Set/HasArticulatedPart functions 15 years ago
rubidium f97bd41ed4 (svn r16721) -Codechange: make Is/SetRoadVehicleFront, Is/Set/HasArticulatedPart member of RoadVehicle. 15 years ago
rubidium d7eb9f9d0e (svn r16505) -Fix [FS#2951] (r16472): since g++ 4.4 the implicit (default) constructor will zero the whole class. This caused all vehicle indices to be 0, which causes all kinds of trouble. 15 years ago
smatz 11d88765cc (svn r16472) -Codechange: set vehicle type in SpecializedVehicle constructor instead of constructor of each vehicle type 15 years ago
smatz 01e5c536a7 (svn r16445) -Codechange: update old comments (Yexo) 15 years ago
smatz 0c53f04c07 (svn r16441) -Codechange: new class SpecializedVehicle used as superclass for all vehicle types 15 years ago
rubidium cd382b28a3 (svn r16394) -Codechange: move (NewGRF) cache variables into a separate struct so (some vehicle related) NewGRF cache 'desyncs' can be tested easier. 15 years ago