Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
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.
|
|
|
|
and into landscape.h, and add a few where they didn't exist.
|
|
what an industry can do (plant fields, cut trees, do not change production), what can be done to it (disasters like mine subsidence, jet/chopper attack), when it can be built etc...
|
|
check if they are in use
|
|
coding style (and rest of the code).
|
|
|
|
Change the signature of GetNewVehiclePos():
-void GetNewVehiclePos(const Vehicle *v, GetNewVehiclePosResult *gp);
+GetNewVehiclePosResult GetNewVehiclePos(const Vehicle *v);
|
|
a few comments style.
Some documentation addition, when i can easily supply them
|
|
files with the @file tag as well as a few general comments style
|
|
and rename Submarine1/2 to small/big
|
|
disaster code.
|
|
masking of trackbits
|
|
shoots. Chopper comes from the north-east, so it looks in +15 direction (forward), not -15 direction. Probably bad copy-paste from airplane-destroys-oil-refinery disaster.
|