Age | Commit message (Collapse) | Author |
|
Get(Aircraft|RoadVeh|Ship|Train)Image.
|
|
account of vehicle group (Matthias Wolf)
|
|
infrastructure you do not have available vehicles for. This means that the airport building button is disabled till you can actually build aircraft. The game itself will not disallow you to build the infrastructure and this "new" behaviour can be overriden with a patch setting.
|
|
timetables based on
the times from the first (or subsequent) run-throughs.
|
|
vehicle is loading, down meaning vehicle is unloading
|
|
accumulated feeder share (transfers) of individual pieces of cargo. This means that cargo isn't thrown on a big pile when it's put in a station or unloaded at a station, however the GUI does not reflect these changes yet so you will not actually see it.
|
|
vehicle is while loading/unloading (TheJosh)
|
|
|
|
|
|
|
|
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.
|
|
individual checks depending on the vehicle type.
|
|
road types on a single tile.
|
|
can make groups of vehicles and perform all kinds of tasks on that given group. Original code by nycom and graphics by skidd13.
|
|
|
|
|
|
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.
|
|
|
|
changed, instead of 'recalculating' it every time it is used or just tested.
|
|
|
|
and leaves the station.
|
|
loaded into LoadUnloadVehicle instead of duplicating it for each vehicle.
|
|
|
|
loading/unloading, but when arriving at the station.
|
|
|
|
|
|
|
|
|
|
nicer/better maintainable code, i.e. virtual methods instead of switches.
|
|
|
|
tabs with spaces.
|
|
of various properties which were previously static. Vehicle max speed and train power/te/running costs are adjustable.
|
|
Almost done. Yeah. I know, I've already said that...
|
|
autoreplace has a cmd and a gui file)
|
|
coding style (and rest of the code).
|
|
|
|
|
|
This major feature-fix keeps track of the value of transfers offloaded at a station, and hands on to a loading vehicle a credit note proportionate to the cargo loaded. The transferring vehicle is paid only for the distance it has travelled. eg. B-C in a transfer chain A-B-C-D.
When the final cargo is delivered, these credit notes are cashed, and the final vehicle is paid for A-D minus any credit notes it is carrying. The company bank balance increases by the value of the A-D route.
You still need to set up a profitable route; it is still easy to make a loss on transfers by bad planning. :)
|
|
0xFF bit 10,
which is set when a vehicle was built during the exclusive testing phase.
|
|
be used for more than just the gradual loading status.
|
|
two unused enums.
|
|
Change the signature of GetNewVehiclePos():
-void GetNewVehiclePos(const Vehicle *v, GetNewVehiclePosResult *gp);
+GetNewVehiclePosResult GetNewVehiclePos(const Vehicle *v);
|
|
Most (i.e. 13 of 15) callers of GetNewVehiclePos() do not care for the return and the others can figure it out by inspecting the information returned in struct GetNewVehiclePosResult.
Therefore remove the return value.
|
|
work of mart3p.
|
|
road vehicles with enums. Original patch by mart3p.
|
|
|
|
VEH_Train is 0, VEH_Road is 1 and so on
This means that "v->type" can be used as array indexes instead of VehTypeToIndex() (or "v->type - VEH_Train/0x10 as the code still used in some places)
Surprisingly this can be done without changing the savegame format
|
|
autoreplace window
-The user will notice the following changes:
All vehicle types behaves in the same way
Adding/removing an engine (new design and so on) can no longer result in the window selecting a new engine
All valid replacements will be displayed since it looks at refitting options as well (this solves the missing ships with the newships GRF)
Since you can't replace an engine into itself, the engine selected in the left list will no longer appear in the right list
-The code changes:
Instead of looping all engines all the time, each list generates a list like the build windows
This ensures consistent list generation since only one function can loop all engines
Unified code for all vehicle types
It now use the lists to call the drawing code in the build vehicle window
Works on selected EngineIDs instead of selected index in the list
|
|
gets flooded and there is a vehicle on the bridge. Original patch by KeeperofTheSoul.
|