truelight
66a136be09
(svn r10254) -Feature: loading indicator, which shows in % how full a vehicle is while loading/unloading (TheJosh)
18 years ago
maedhros
7fb6e8f11d
(svn r10236) -Feature: Introduce a form of timetabling for vehicles.
18 years ago
rubidium
8220153e6b
(svn r10210) -Codechange: make all money related variables 64 bits, so overflowing them should become a little harder.
18 years ago
rubidium
773a7c9cb6
(svn r10205) -Codechange: refactor returning of cost, so it can be more easily modified.
18 years ago
rubidium
82e79b847e
(svn r10200) -Codechange: add "shortcut" for !CmdFailed (CmdSucceeded).
18 years ago
rubidium
3ccc83e640
(svn r10197) -Codechange: replace int32 with CommandCost where appropriate.
18 years ago
rubidium
6cd88fd449
(svn r10154) -Fix [FS#870]: some vehicles were not drawn when having a high resolution and a high zoom-out level. Patch by B. N. SmatZ!.
18 years ago
rubidium
5644794af9
(svn r10153) -Fix [FS#869]: vehicles disappear when crossing certain tiles. Fix by B. N. SmatZ!.
18 years ago
peter1138
cb54a561ef
(svn r10129) -Fix (r10111): Test for x == INVALID_COORD instead of v->tile == INVALID_TILE to determine if a vehicle should be removed from the has.
18 years ago
glx
3de8438314
(svn r10126) -Fix (r10111, FS#864): old_new_hash cache was not reset when the position hash were
18 years ago
peter1138
ce590b59f3
(svn r10111) -Codechange: Add new vehicle hash table for collision detection and finding vehicles on a tile. The hash area scanned is far smaller than the old hash table, which is now used for viewport updates only. This should give a significant performance improvement for games with many vehicles. (Based on work by 'B. N. SmatZ!' and 'madman2003')
18 years ago
maedhros
c186f91cbd
(svn r10097) -Feature: Add support for articulated road vehicles, or callbacks 11 and 17 for
...
road vehicles for those who prefer the technical explanation.
18 years ago
bjarni
160aa21f31
(svn r10077) -Fix: FS#845 Cloning Trains Longer Than 8 Units Causes Crash
...
The problem was that if adding units to the clone (wagon by wagon) failed, then cloning wouldn't notice it and it made two half trains
Now it detects this case and it will make cloning fail. The string with the explanation for the failed move will be used in the error message so the user will know why it failed.
18 years ago
peter1138
f2e0912ce9
(svn r10062) -Codechange: Don't redraw all station tiles when cargo is added or removed if the station has no custom graphics.
18 years ago
rubidium
0fcda4e45c
(svn r10056) -Revert (r10049): removing SLE_WRITEBYTE didn't work as expected :(. Somehow SlIterateArray and SlObject depend on eachother and adding a some arbitrary data before the SlObject makes it go crazy.
18 years ago
rubidium
ddf249b2fe
(svn r10049) -Codechange: get rid of the SLE_WRITEBYTE obfuscation.
18 years ago
peter1138
a0a43b4a7e
(svn r10048) -Fix (r6455): Don't use override engine type for articulated wagon parts.
18 years ago
maedhros
fb5072b824
(svn r10020) -Fix [FS#824]: GetNextVehicle() is invalid for anything that isn't a train.
18 years ago
maedhros
fa548f1a6f
(svn r10009) -Codechange: Add and use Vehicle::IsPrimaryVehicle to replace individual checks depending on the vehicle type.
18 years ago
maedhros
d07b57f9aa
(svn r9959) -Fix: Only call GetNextVehicle for trains.
18 years ago
peter1138
7273802f0c
(svn r9956) -Codechange: Add tram livery schemes
18 years ago
maedhros
4ff33af406
(svn r9953) -Fix: Only check whether trains are multiheaded when cloning.
18 years ago
maedhros
c7897d4422
(svn r9939) -Fix (r3139): EngineHasArticPart(v) is only valid for trains.
18 years ago
rubidium
21546a66f3
(svn r9917) -Codechange: prepare some more areas for more road types.
18 years ago
rubidium
821e58ac95
(svn r9914) -Codechange: prepare GTTS and the pathfinders to handle multiple road types on a single tile.
18 years ago
glx
bba732921f
(svn r9896) -Fix (r9874): when selling an entire train, decrease the number of vehicles in the group only once
18 years ago
peter1138
45d1c92030
(svn r9889) -Codechange: Use cargo's freight status for choosing livery scheme.
18 years ago
rubidium
86bb5cc2a6
(svn r9878) -Fix (9874): some vehicle count's were not properly updated on delete or autoreplace of vehicles.
18 years ago
rubidium
8f0f090c51
(svn r9874) -Feature: advanced vehicle lists a.k.a. group interface. Now you can make groups of vehicles and perform all kinds of tasks on that given group. Original code by nycom and graphics by skidd13.
18 years ago
rubidium
c17c5e972b
(svn r9872) -Codechange: more type strictness for vehicle types
18 years ago
rubidium
c8d05162c2
(svn r9869) -Codechange: replace some bytes with VehicleType, i.e. more type strictness.
18 years ago
truelight
b605f68631
(svn r9846) -Codechange: introduced ZOOM_LVL_MIN and ZOOM_LVL_MAX for the obvious reasons
...
-Codechange: introduced ZOOM_LVL_DETAIL to show/remove details
-Codechange: changed << and >> operator with ZoomLevel to a simple wrapper (that in theory also allows zoom-in besides the current zoom-out)
-Fix r9845: missed some int -> ZoomLevel
18 years ago
rubidium
08be68e0b4
(svn r9841) -Codechange: add a little more type strictness to the vehicle types.
18 years ago
rubidium
07bdd6c3cc
(svn r9836) -Codechange: make non-improved loading happen FIFO-ish; generally loading/unloading will happen fifo, but there are no guarantees on the FIFO-ness. For (better) FIFO guarantees you still need to use improved loading.
18 years ago
rubidium
5ae882a184
(svn r9831) -Codechange: more refactoring of the loading/unloading.
18 years ago
rubidium
a84ca16dc4
(svn r9808) -Codechange: unify the Handle<VehicleType>Loading functions.
18 years ago
rubidium
f47e81c900
(svn r9799) -Codechange: separate engine class and engine running cost class (mart3p).
18 years ago
rubidium
425923c8d2
(svn r9795) -Codechange: enumify the EngineClass.
18 years ago
rubidium
9a893ebe20
(svn r9794) -Codechange: refactor the question whether a vehicle can be loaded into LoadUnloadVehicle instead of duplicating it for each vehicle.
18 years ago
rubidium
d52b515de8
(svn r9789) -Fix (r9770): vehicles didn't get unloaded when 'full load' was specified and the vehicle was already full when it entered.
18 years ago
rubidium
bc1901a6e4
(svn r9784) -Codechange: remove unused variable.
18 years ago
glx
2b05a306e2
(svn r9773) -Fix r9772: MSVC warning
18 years ago
rubidium
e11e91b02c
(svn r9772) -Fix [r9770,FS#761]: under some circumstances loading/unloading didn't work (correctly).
18 years ago
rubidium
cc9d811f53
(svn r9770) -Codechange: perform the payment of cargo when loading/unloading, but when arriving at the station.
18 years ago
rubidium
5e4c9ad875
(svn r9764) -Codechange: replace some lookup tables by functions.
18 years ago
rubidium
dfe7c5cd66
(svn r9763) -Codechange/Fix (r9760): don't read the variables that are calculated automatically either.
18 years ago
rubidium
5a46c763f0
(svn r9760) -Codechange: remove the need for saving some vehicle variables.
18 years ago
rubidium
df59f5cd15
(svn r9755) -Codechange: refactor some more of the begin loading stuff.
18 years ago
rubidium
0def47a3b0
(svn r9754) -Codechange: make classes for all vehicle types, so we can make nicer/better maintainable code, i.e. virtual methods instead of switches.
18 years ago
rubidium
dba21ab802
(svn r9752) -Codechange: remove some duplication related to BeginLoading.
18 years ago