Age | Commit message (Collapse) | Author |
|
vehicle window allows the main viewport to follow the chosen vehicle.(stevenh)
|
|
|
|
type 'bool' in operation
|
|
list for other players. Patch by SmatZ.
|
|
enumified constants.
|
|
Based on a patch by nycom.
|
|
functions. Based on patches by skidd13, SmatZ and Belugas.
|
|
Vehicle->SetNext() so we can trap instances that change a next pointer and (in the future) update the first/previous pointers based on that.
|
|
a depot.
|
|
|
|
windows that are smaller than the default window size.
|
|
vehicle list, not station or shared order lists.
|
|
(president) name
by index
|
|
|
|
better to use int64 variables in the string generating too instead of packing them into two int32s.
-Fix: some displays of money were wrong.
|
|
place money in some string.
|
|
issues. Thanks to benc for providing the patch.
|
|
easily modified.
|
|
|
|
|
|
can make groups of vehicles and perform all kinds of tasks on that given group. Original code by nycom and graphics by skidd13.
|
|
strictness.
|
|
|
|
tabs with spaces.
|
|
|
|
corrections...
|
|
Almost done. Yeah. I know, I've already said that...
|
|
CargoID loops.
|
|
coding style (and rest of the code).
|
|
|
|
|
|
mapping is now dealt with only in NewGRF code, on load where possible.
|
|
tables with dynamically generated data. Change associated code to use new functions.
|
|
struct array (with accessor) and implement new initialization method using cargo labels.
|
|
for a certain vehicle type. We have a function to do that
|
|
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
|
|
|
|
|
|
STR_AVAILABLE_ROAD_VEHICLES for clarificaton (Tron)
|
|
global vehicle lists to 'Available <vehtype>' as it is a view-only list, not one from which you can purchase (rolling) stock.
|
|
file of it's own
Note: it's the same as r8363, only this time the svn history of autoreplace should be preserved
|
|
|
|
file of it's own
|
|
real static inline functions
|
|
Note: now all build vehicle windows are merged into build_vehicle_gui.cpp
|
|
horizontally and contains sorting options
-Codechange: the build ship window is merged into build_vehicle_gui.cpp
|
|
in horizontal direction as well
-Codechange: merged train and aircraft build window code
|
|
in ShowVehicleListWindowLocal()
|
|
depot_airport_index for GenerateVehicleSortList() and BuildVehicleList() into one uint16 argument
It turned out that all 3 arguments were the same at all the places those functions are called, so there was no point in having more than one
|
|
all types of vehicle lists (depending on arguments)
- Also removed some unneeded arguments
- this also allows removing an if-else cascade in ShowVehicleListWindowLocal()
|