PeterN
a07394a63a
Change: Remove direction parameter from Vehicle::UpdateDeltaXY. ( #6792 )
...
The value is either unused or always the same as this->direction.
6 years ago
frosch
d2393b4f6c
(svn r27666) -Codechange: Pass vehicle sprites around using a struct VehicleSpriteSeq.
8 years ago
frosch
5eddbb338b
(svn r25185) -Fix [FS#5508]: Remove ambivalent functions CargoList::Empty() and Count(), and replace them with VehicleCargoList::StoredCount(), TotalCount(), StationCargoList::AvailableCount() and TotalCount(). (fonsinchen)
12 years ago
michi_cc
245e32a10e
(svn r24839) -Feature [FS#5271]: [NewGRF] Support oversized purchase list sprites. (Based on patch by Eddi)
12 years ago
frosch
08a8c3a773
(svn r24384) -Fix [FS#5188-ish]: Make IsInDepot() functions behave consistent across vehicle types and add IsChainInDepot instead, if that is what shall be checked.
12 years ago
frosch
e0cf1e3e94
(svn r24381) -Revert (r24380): RoadVehicle::IsInDepot was supposed to behave different to Train::IsInDepot.
12 years ago
frosch
c1dd0107c7
(svn r24380) -Fix [FS#5188]: RoadVehicle::IsInDepot did not check all articulated parts.
12 years ago
truebrain
1c9bec1999
(svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC)
13 years ago
rubidium
df16ebd730
(svn r23595) -Codechange: add comma after last enum to get a more uniform coding style
13 years ago
smatz
33d283fdb1
(svn r23588) -Codechange: use the 'final' keyword so compiler can optimise out some indirect calls
13 years ago
michi_cc
a3e6e113fe
(svn r23112) -Codechange: Check if vehicle chain lengths stays constant when auto-refitting.
13 years ago
rubidium
7757a2ed40
(svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ functions if they return the Z in pixels (like TilePixelHeight)
13 years ago
frosch
bbc3409942
(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
b992a93996
(svn r21976) -Doc: Document several crash handling functions.
14 years ago
rubidium
bbe94dc497
(svn r21945) -Codechange: simplify setting the overtaking counter and remove the magic from its numbers
14 years ago
rubidium
8118f74575
(svn r21943) -Codechange: document and unmagicify some bits of road vehicle overtaking
14 years ago
alberth
da0b09557c
(svn r21930) -Codechange: Remove unused vehicle GetTypeString() functions.
14 years ago
rubidium
430fda01dc
(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
4fff63d790
(svn r21912) -Codechange: let road vehicles use gcache.last_speed/SetLastSpeed as well
14 years ago
rubidium
7eba2bf4d3
(svn r21890) -Cleanup: remove some unneeded includes
14 years ago
smatz
8b9f0d5ade
(svn r21883) -Codechange: make UpdateZPosition() faster by not calling GetSlopeZ() when not needed
14 years ago
smatz
6dc24cf643
(svn r21876) -Codechange: typedef SpecializedVehicleBase and GroundVehicleBase to reduce typing
14 years ago
terkhen
d426906a01
(svn r21862) -Codechange: Unify subtype handling between road vehicles and trains.
14 years ago
terkhen
b5468e7a80
(svn r21860) -Codechange: Rename road vehicle subtype functions to match the train names.
14 years ago
terkhen
48b7916458
(svn r21521) -Codechange: Unify some cached values that were present in both road vehicles and trains.
14 years ago
rubidium
097880c5e2
(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
2d801c64a1
(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
18e3a3ddfc
(svn r21099) -Codechange: Store road vehicle max speed in the vehicle cache.
14 years ago
terkhen
766bf140db
(svn r21092) -Codechange: Merge max speed functions.
14 years ago
terkhen
c87e023d7a
(svn r21058) -Feature [NewGRF]: Add CB36 support for road vehicle properties 0x13 (Power), 0x14 (Weight) and 0x18 (Tractive effort).
14 years ago
rubidium
30f2afac9b
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
14 years ago
frosch
a8f4322a03
(svn r20454) -Fix: some whitespace.
14 years ago
terkhen
7d0297f967
(svn r20302) -Add: Method for getting the air drag of a ground vehicle.
14 years ago
terkhen
1fd66d7cc4
(svn r20299) -Add: Make trains and road vehicles use a different area value to calculate air drag.
14 years ago
terkhen
14d58e9978
(svn r20298) -Fix: GetInitialMaxSpeed did not return the correct value for road vehicles.
14 years ago
rubidium
398418b8fa
(svn r19812) -Codechange: give some unnamed enums a name or, in case they consisted of unrelated values use static const (u)int
15 years ago
terkhen
b443a3ee0a
(svn r19346) -Feature: Configurable slope steepness for road vehicles from 0% to 10%, default is 7%.
15 years ago
terkhen
c958c2c31f
(svn r19345) -Feature: Realistic acceleration for road vehicles.
15 years ago
terkhen
e770b3d6bb
(svn r19344) -Codechange: RoadVehicle uses UpdateInclination instead of its own function.
15 years ago
terkhen
06a3faa651
(svn r19343) -Codechange: Make RoadVehicle a child class of GroundVehicle.
...
-Add: Required acceleration functions at RoadVehicle.
15 years ago
rubidium
82fc28f77f
(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
833c6f36f3
(svn r18779) -Codechange: merge the command callbacks of the primary vehicles; they are identical
15 years ago
rubidium
6f1982d151
(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
fac2f8ce1a
(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
19fa38601d
(svn r18402) -Codechange: unify/centralise the code for crashing vehicles
15 years ago
rubidium
0ef0e13795
(svn r18385) -Cleanup: remove the now unneeded multistop slot management code
15 years ago
frosch
59f9163e37
(svn r18381) -Codechange: Add RoadVehicle::IsBus() to simplify some stuff.
15 years ago
rubidium
32926facf9
(svn r18270) -Codechange: split the code for finding a road stop to stop at into a seperate function
15 years ago
frosch
6ca8f6e380
(svn r18011) -Feature(ette): [NewGRF] CB 36 for roadvehicle property 09 'running cost factor'.
15 years ago
frosch
8df61c0fc0
(svn r17826) -Codechange: GetRoadVehLength() is only used in one file, make it static.
15 years ago