rubidium
|
aa40d8e3ad
|
(svn r18388) -Codechange: move entering/leaving of road stops to functions of RoadStop
|
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
|
c10e953141
|
(svn r18373) -Codechange: unify some road pathfinder functions
|
15 years ago |
rubidium
|
76fe20cdcc
|
(svn r18367) -Codechange: unify the ship pathfinder 'calls'
|
15 years ago |
rubidium
|
f52e27c688
|
(svn r18364) -Codechange: move the pathfinders and their related files into a separate directory
|
15 years ago |
rubidium
|
3a83eab967
|
(svn r18362) -Cleanup: remove OPF for RVs and NTP to clean up lots of code and simplify some things for the future
|
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
|
d507136e04
|
(svn r18268) -Feature: [NewGRF] Make price base multipliers related to vehicles only apply to the GRF locally, if it defines engines of that type itself.
|
15 years ago |
frosch
|
912bce0b8c
|
(svn r18266) -Codechange: Add a function to compute prices from price base and cost factor and use it consistently for vehicle purchase, running cost, and refit cost.
|
15 years ago |
rubidium
|
bae066ecaf
|
(svn r18123) -Codechange: try our best to keep the vehicles within the build vehicle list/autoreplace lists instead of overflowing.
|
15 years ago |
rubidium
|
1c5a92ae98
|
(svn r18121) -Codechange: pass the maximum left/right location to the Draw*Engine functions
|
15 years ago |
frosch
|
6ca8f6e380
|
(svn r18011) -Feature(ette): [NewGRF] CB 36 for roadvehicle property 09 'running cost factor'.
|
15 years ago |
frosch
|
79627b4f89
|
(svn r17976) -Codechange: Move CargoClass to cargotype.h and clean up including of newgrf_cargo.h
|
15 years ago |
frosch
|
00aca63b48
|
(svn r17899) -Codechange: Deduplicate code for refitting vehicles.
|
15 years ago |
frosch
|
83894809d0
|
(svn r17897) -Fix [FS#3255]: CB15 and CB36 (capacity) were not always called when they should.
-Codechange: Move capacity calculation to a single function for all vehicle types, so the behaviour can be kept consistent easier.
|
15 years ago |
frosch
|
334b809644
|
(svn r17894) -Fix: Invalidate cache of vehicle vars 40-43 after testruns of certain commands, that change them temporarily.
|
15 years ago |
frosch
|
ffb729ac9e
|
(svn r17827) -Codechange: Deduplicate some lines of code.
|
15 years ago |
frosch
|
8df61c0fc0
|
(svn r17826) -Codechange: GetRoadVehLength() is only used in one file, make it static.
|
15 years ago |
frosch
|
7a8a97e68a
|
(svn r17726) -Cleanup: Remove some unneeded/unused parameters.
|
15 years ago |
frosch
|
f3aacb8fe3
|
(svn r17725) -Codechange: Reduce usage of EngInfo and XxxVehInfo, esp. when a Engine * is already present.
|
15 years ago |
rubidium
|
d6cded5380
|
(svn r17693) -Cleanup: remove some unneeded includes
|
15 years ago |
frosch
|
12a814f487
|
(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 |
frosch
|
e261d8d9a0
|
(svn r17616) -Codechange [FS#3222]: Enumerize properties used in callback 0x36. Based on Terkhen's work.
|
15 years ago |
smatz
|
114d48e492
|
(svn r17596) -Codechange: constify some tables
|
15 years ago |
frosch
|
7fa4d576ca
|
(svn r17594) -Fix: Vehicle image was not always updated when needed.
|
15 years ago |
rubidium
|
04d5b67eb6
|
(svn r17567) -Fix: some doxygen warnings
|
15 years ago |
rubidium
|
af457fc9fe
|
(svn r17552) -Codechange: rename load_unload_time_rem to something more generic as it's used for more than just load/unload. Also add some documentation about where it is used.
|
15 years ago |
rubidium
|
64bafcbe18
|
(svn r17534) -Codechange: unify the naming of callback masks/flags
|
15 years ago |
frosch
|
ebd916be3d
|
(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability.
|
15 years ago |
rubidium
|
860a538adc
|
(svn r17495) -Codechange: replace 'Depot::Get(GetDepotIndex(tile))->index' with GetDepotIndex(tile)
|
15 years ago |
rubidium
|
96e2435aa8
|
(svn r17491) -Fix [FS#3188]: road vehicles could get lost when the prelimiary destination (for the pathfinder heuristics) is unreachable.
|
15 years ago |
rubidium
|
d938896691
|
(svn r17333) -Codechange: make the road pathfinder 'interface' like the one for the rail pathfinder
-Fix [FS#3057]: road vehicles forgetting their servicing order when the path takes them away (in bird distance) from their destination first
|
15 years ago |
rubidium
|
7fbc33dae1
|
(svn r17248) -Fix: add GPL license notice where appropriate
|
15 years ago |
frosch
|
efcaefd178
|
(svn r17121) -Fix [FS#3060]: Update vehicle position cache when the vehicle sprite changes.
|
15 years ago |
smatz
|
adcc5338f3
|
(svn r17085) -Codechange: unify the place where vehicle's cargo ages
|
15 years ago |
rubidium
|
1fe3ad3288
|
(svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives
|
15 years ago |
rubidium
|
9980af2898
|
(svn r16921) -Codechange: make it more clear what strings are related to road vehicles; only ROAD isn't always enough. Also unify the way of writing it.
|
15 years ago |
frosch
|
e8c2992ae6
|
(svn r16872) -Codechange: Add RoadVehicle::GetDisplayImageWidth and simplify DrawRoadVehImage.
|
15 years ago |
rubidium
|
4d14c1b534
|
(svn r16722) -Codechange: unify the naming of the Is/Set/HasArticulatedPart functions
|
15 years ago |
rubidium
|
61e735ba4c
|
(svn r16721) -Codechange: make Is/SetRoadVehicleFront, Is/Set/HasArticulatedPart member of RoadVehicle.
|
15 years ago |
smatz
|
90554ee390
|
(svn r16662) -Codechange: replace GetRoadStopByTile() by RoadStop::GetByTile()
|
16 years ago |
yexo
|
8bc9adde19
|
(svn r16648) -Codechange: move some more includes around
|
16 years ago |
yexo
|
44c15e4196
|
(svn r16647) -Codechange: remove newgrf.h include from newgrf_engine.h to prevent unnecessary inclusion newgrf.h anyway
|
16 years ago |
smatz
|
05c695a647
|
(svn r16646) -Codechange: rename GetDepotByTile() to Depot::GetByTile()
|
16 years ago |
smatz
|
8343340acb
|
(svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile()
|
16 years ago |
smatz
|
0045096403
|
(svn r16640) -Codechange: move roadstop stuff to separate files
|
16 years ago |
rubidium
|
512b021e26
|
(svn r16581) -Codechange: unify the access to Engine::lifelength.
|
16 years ago |
rubidium
|
4b05617c42
|
(svn r16580) -Codechange: rename Engine::image_index to original_image_index to not confuse it with image_index from *VehInfo.
|
16 years ago |
smatz
|
0c10006907
|
(svn r16527) -Codechange: use static member functions instead of simple casts when converting Vehicle to specialised vehicle types. Includes safety check
|
16 years ago |