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()
|
15 years ago |
yexo
|
8bc9adde19
|
(svn r16648) -Codechange: move some more includes around
|
15 years ago |
yexo
|
44c15e4196
|
(svn r16647) -Codechange: remove newgrf.h include from newgrf_engine.h to prevent unnecessary inclusion newgrf.h anyway
|
15 years ago |
smatz
|
05c695a647
|
(svn r16646) -Codechange: rename GetDepotByTile() to Depot::GetByTile()
|
15 years ago |
smatz
|
8343340acb
|
(svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile()
|
15 years ago |
smatz
|
0045096403
|
(svn r16640) -Codechange: move roadstop stuff to separate files
|
15 years ago |
rubidium
|
512b021e26
|
(svn r16581) -Codechange: unify the access to Engine::lifelength.
|
15 years ago |
rubidium
|
4b05617c42
|
(svn r16580) -Codechange: rename Engine::image_index to original_image_index to not confuse it with image_index from *VehInfo.
|
15 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
|
15 years ago |
frosch
|
0d782b0f96
|
(svn r16498) -Codechange: Remove hardly used HASBITS.
|
15 years ago |
alberth
|
bab70a823d
|
(svn r16491) -Codechange: Added parentheses around bitwise operators for code style.
|
15 years ago |
frosch
|
9853c0dc22
|
(svn r16480) -Fix (r15617): Invalidate newgrf variable caches of more vehicles in more places. Esp. they were only invalidated for trains.
|
15 years ago |
smatz
|
5a463c8347
|
(svn r16442) -Codechange: use new Vehicle accessors at more places
|
15 years ago |
smatz
|
7ee882d03f
|
(svn r16441) -Codechange: new class SpecializedVehicle used as superclass for all vehicle types
|
15 years ago |
yexo
|
0d56cfabfa
|
(svn r16439) -Change: Make the default vehicle servicing settings company-based settings, so in a multiplayer game everyone can change them.
|
15 years ago |
rubidium
|
984bd3b98d
|
(svn r16427) -Codechange: replace a few magic numbers with an existing constant and unduplicate a few lines.
|
15 years ago |
frosch
|
a4557c7da4
|
(svn r16416) -Fix [FS#2912]: Rework deleting of news when referenced vehicles/stations/industries are deleted.
|
15 years ago |
rubidium
|
6237fe1462
|
(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 |
rubidium
|
7a37220881
|
(svn r16390) -Codechange: move u.road to RoadVehicle.
|
15 years ago |
rubidium
|
d37b840cf3
|
(svn r16389) -Codechange: use RoadVehicle instead of Vehicle where appropriate
|
15 years ago |
rubidium
|
6d1c974254
|
(svn r16384) -Codechange: move u.effect to EffectVehicle
|
15 years ago |
rubidium
|
441011b782
|
(svn r16382) -Codechange: make GetVehicleTrackdir a member function of Vehicle.
|
15 years ago |
smatz
|
b687ac51ee
|
(svn r16376) -Codechange: Vehicle::Tick() now returns false if the vehicle was deleted
|
15 years ago |
smatz
|
8808f3beea
|
(svn r16352) -Codechange: use PoolItem::GetIfValid() instead of PoolItem::IsValidID() and PoolItem::Get()
|
15 years ago |
rubidium
|
9c24e2bb8f
|
(svn r16340) -Codechange: introduce SoundID (uint16) and use that instead of SoundFX, which was used as a byte and uint16 at different places, when the uint16 sound ID is meant.
|
15 years ago |
smatz
|
871107f529
|
(svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index)
|
15 years ago |