Jonathan G Rennison
7f10d83a4a
Merge branch 'template_train_replacement' into jgrpp
...
# Conflicts:
# src/linkgraph/linkgraphjob.cpp
# src/saveload/extended_ver_sl.cpp
# src/train_cmd.cpp
# src/vehicle_base.h
2016-11-01 23:00:48 +00:00
frosch
f36539837e
(svn r27666) -Codechange: Pass vehicle sprites around using a struct VehicleSpriteSeq.
2016-10-16 14:57:56 +00:00
Jonathan G Rennison
80d52eb20e
Improved breakdowns patch: fix various issues
...
* Whitespace/formatting
* Fix setting lang string
* Fix spelling of VRF_TO_HEAVY
2015-08-02 23:00:39 +01:00
patch-import
9f5164b403
Import Improved Breakdowns patch
...
Fix trailing whitespace
http://www.tt-forums.net/viewtopic.php?p=1146419#p1146419
2015-08-02 22:58:52 +01:00
frosch
c5d7445704
(svn r25185) -Fix [FS#5508]: Remove ambivalent functions CargoList::Empty() and Count(), and replace them with VehicleCargoList::StoredCount(), TotalCount(), StationCargoList::AvailableCount() and TotalCount(). (fonsinchen)
2013-04-13 13:42:08 +00:00
michi_cc
bac2b4c25d
(svn r24839) -Feature [FS#5271]: [NewGRF] Support oversized purchase list sprites. (Based on patch by Eddi)
2012-12-23 01:00:25 +00:00
frosch
358a2bd6ed
(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.
2012-07-07 15:39:46 +00:00
frosch
e4f0539cae
(svn r24381) -Revert (r24380): RoadVehicle::IsInDepot was supposed to behave different to Train::IsInDepot.
2012-07-07 15:22:21 +00:00
frosch
00a84fc4ce
(svn r24380) -Fix [FS#5188]: RoadVehicle::IsInDepot did not check all articulated parts.
2012-07-07 12:48:53 +00:00
truebrain
aa1a0053b0
(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)
2011-12-20 17:57:56 +00:00
rubidium
3d605f6488
(svn r23595) -Codechange: add comma after last enum to get a more uniform coding style
2011-12-19 17:48:04 +00:00
smatz
36747f96a6
(svn r23588) -Codechange: use the 'final' keyword so compiler can optimise out some indirect calls
2011-12-18 17:17:18 +00:00
michi_cc
1497efbd5d
(svn r23112) -Codechange: Check if vehicle chain lengths stays constant when auto-refitting.
2011-11-04 15:04:29 +00:00
rubidium
de980ef0f9
(svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ functions if they return the Z in pixels (like TilePixelHeight)
2011-11-04 10:18:13 +00:00
frosch
6e61fee028
(svn r23080) -Feature: [NewGRF] Use variable 10 to enable vehicle GRFs to draw different sprites on the map and in various GUIs.
2011-11-01 16:51:47 +00:00
alberth
fe71cbfc8b
(svn r21976) -Doc: Document several crash handling functions.
2011-02-05 16:20:55 +00:00
rubidium
7d7c82d9cc
(svn r21945) -Codechange: simplify setting the overtaking counter and remove the magic from its numbers
2011-02-02 22:06:14 +00:00
rubidium
ca487f998b
(svn r21943) -Codechange: document and unmagicify some bits of road vehicle overtaking
2011-02-02 21:56:56 +00:00
alberth
b5e2e83823
(svn r21930) -Codechange: Remove unused vehicle GetTypeString() functions.
2011-01-30 21:32:21 +00:00
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
2011-01-26 17:35:03 +00:00
rubidium
aa1f02c248
(svn r21912) -Codechange: let road vehicles use gcache.last_speed/SetLastSpeed as well
2011-01-26 17:31:44 +00:00
rubidium
05199a641a
(svn r21890) -Cleanup: remove some unneeded includes
2011-01-22 14:52:20 +00:00
smatz
50dfa5986c
(svn r21883) -Codechange: make UpdateZPosition() faster by not calling GetSlopeZ() when not needed
2011-01-21 17:35:17 +00:00
smatz
792659936e
(svn r21876) -Codechange: typedef SpecializedVehicleBase and GroundVehicleBase to reduce typing
2011-01-21 14:43:38 +00:00
terkhen
8db501e115
(svn r21862) -Codechange: Unify subtype handling between road vehicles and trains.
2011-01-19 20:04:09 +00:00
terkhen
fdb720cc1a
(svn r21860) -Codechange: Rename road vehicle subtype functions to match the train names.
2011-01-19 18:44:13 +00:00
terkhen
f69d280f14
(svn r21521) -Codechange: Unify some cached values that were present in both road vehicles and trains.
2010-12-14 21:33:53 +00:00
rubidium
d24dbdac7b
(svn r21263) -Fix [FS#3935]: under some circumstances two vehicles could leave a non-drive through road stop at once
2010-11-20 09:09:57 +00:00
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.
2010-11-07 13:35:07 +00:00
terkhen
25e638adcb
(svn r21099) -Codechange: Store road vehicle max speed in the vehicle cache.
2010-11-06 13:05:11 +00:00
terkhen
ac4a3c9101
(svn r21092) -Codechange: Merge max speed functions.
2010-11-06 12:40:38 +00:00
terkhen
867f7b5f7b
(svn r21058) -Feature [NewGRF]: Add CB36 support for road vehicle properties 0x13 (Power), 0x14 (Weight) and 0x18 (Tractive effort).
2010-10-30 14:31:49 +00:00
rubidium
360d6daf34
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
2010-08-26 22:01:16 +00:00
frosch
98bc6501c6
(svn r20454) -Fix: some whitespace.
2010-08-12 08:39:06 +00:00
terkhen
7f786ae7b8
(svn r20302) -Add: Method for getting the air drag of a ground vehicle.
2010-08-02 14:52:51 +00:00
terkhen
f33a0370ae
(svn r20299) -Add: Make trains and road vehicles use a different area value to calculate air drag.
2010-08-02 14:49:23 +00:00
terkhen
094841cba3
(svn r20298) -Fix: GetInitialMaxSpeed did not return the correct value for road vehicles.
2010-08-02 14:48:13 +00:00
rubidium
f09a74a996
(svn r19812) -Codechange: give some unnamed enums a name or, in case they consisted of unrelated values use static const (u)int
2010-05-13 09:44:44 +00:00
terkhen
f78a386b87
(svn r19346) -Feature: Configurable slope steepness for road vehicles from 0% to 10%, default is 7%.
2010-03-06 12:58:33 +00:00
terkhen
e6878d7ba1
(svn r19345) -Feature: Realistic acceleration for road vehicles.
2010-03-06 12:56:57 +00:00
terkhen
ac03431a76
(svn r19344) -Codechange: RoadVehicle uses UpdateInclination instead of its own function.
2010-03-06 12:55:56 +00:00
terkhen
2e18705d4e
(svn r19343) -Codechange: Make RoadVehicle a child class of GroundVehicle.
...
-Add: Required acceleration functions at RoadVehicle.
2010-03-06 12:54:42 +00:00
rubidium
9467b7c6d6
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
2010-01-15 16:41:15 +00:00
rubidium
8bdeb2cab6
(svn r18779) -Codechange: merge the command callbacks of the primary vehicles; they are identical
2010-01-11 18:34:02 +00:00
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.
2009-12-18 21:34:06 +00:00
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
2009-12-04 20:52:19 +00:00
rubidium
6600610e47
(svn r18402) -Codechange: unify/centralise the code for crashing vehicles
2009-12-04 20:29:46 +00:00
rubidium
6278f0b8a9
(svn r18385) -Cleanup: remove the now unneeded multistop slot management code
2009-12-02 18:18:56 +00:00
frosch
992bc6c345
(svn r18381) -Codechange: Add RoadVehicle::IsBus() to simplify some stuff.
2009-12-02 17:37:02 +00:00
rubidium
ff1a4a9028
(svn r18270) -Codechange: split the code for finding a road stop to stop at into a seperate function
2009-11-24 14:19:21 +00:00