Age | Commit message (Collapse) | Author |
|
|
|
delete by a direct delete instead.
|
|
destructor as that was already doing the same for a few vehicle types.
|
|
target invalid industry
|
|
queried facility (or station/roadstop is invalid) instead of 0 (Yexo)
|
|
st->airport_tile, not st->xy
|
|
|
|
|
|
client so it is immediatelly clear which one you are working with.
|
|
|
|
settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
|
|
|
|
AddNewsMessage as there is (for each news message type) a tuple of 4 parameters that is the same for all calls.
|
|
|
|
|
|
|
|
station_func.h.
|
|
|
|
GetTileTrackStatus().
|
|
with an OnNewDay method in the Vehicle class
|
|
disaster too
|
|
the code at some places
|
|
|
|
unneeded include from openttd.h.
|
|
|
|
functions.
|
|
useless includes.
|
|
|
|
map.h).
|
|
logical place and remove about 50% of the includes of 'functions.h'
|
|
single file and do not include gfx.h everywhere to get a Point type.
|
|
|
|
their respective places.
|
|
|
|
|
|
|
|
cause they depend on Random()
-Codechange: Convert the CHANCE macros to functions and rename them fitting to the naming style
|
|
style
|
|
with the coding style
|
|
used to check whether there was no vehicle on the ground, except that the former didn't take care of aircraft shadows. So now we only use EnsureNoVehicleOnGround.
|
|
to save and load private and protected variables in the vehicle struct.
|
|
Vehicle->SetNext() so we can trap instances that change a next pointer and (in the future) update the first/previous pointers based on that.
|
|
vehicle struct.
-Codechange: do not force "special" vehicles to be allocated in the low 1024 vehicle slots and non "special" vehicles in the rest of the slots.
|
|
variables.
|
|
|
|
variables.h to strings.h
|
|
Tick method in the Vehicle class.
|
|
road types on a single tile.
|
|
|
|
nicer/better maintainable code, i.e. virtual methods instead of switches.
|