Age | Commit message (Collapse) | Author |
|
== INVALID_TILE to determine if a vehicle should be removed from the has.
|
|
the position hash were
|
|
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')
|
|
callbacks 11 and 17 for
road vehicles for those who prefer the technical explanation.
|
|
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.
|
|
or removed if the station has no custom graphics.
|
|
expected :(. Somehow SlIterateArray and SlObject depend on eachother and adding a some arbitrary data before the SlObject makes it go crazy.
|
|
|
|
wagon parts.
|
|
isn't a train.
|
|
individual checks depending on the vehicle type.
|
|
|
|
|
|
|
|
|
|
|
|
road types on a single tile.
|
|
of vehicles in the group only once
|
|
|
|
delete or autoreplace of vehicles.
|
|
can make groups of vehicles and perform all kinds of tasks on that given group. Original code by nycom and graphics by skidd13.
|
|
|
|
strictness.
|
|
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
|
|
|
|
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.
|
|
|
|
|
|
(mart3p).
|
|
|
|
loaded into LoadUnloadVehicle instead of duplicating it for each vehicle.
|
|
specified and the vehicle was already full when it entered.
|
|
|
|
|
|
didn't work (correctly).
|
|
loading/unloading, but when arriving at the station.
|
|
|
|
calculated automatically either.
|
|
|
|
|
|
nicer/better maintainable code, i.e. virtual methods instead of switches.
|
|
|
|
hopefully for good this time.
|
|
trains being reversed while loading.
|
|
|
|
non-existing station.
|
|
|
|
instead of adding
them again when they leave, and add a v->LeaveStation() call for aircraft.
|
|
processing power anymore when having a lot of trains.
|
|
tabs with spaces.
|