Age | Commit message (Collapse) | Author |
|
|
|
|
|
the command proc.
When finished, this will allow each command handler to take individually
different parameters, obliviating the need for bit-packing.
|
|
|
|
templated command traits.
This is using a non-intrusive type-traits like templated system, which
allows compile-time validation that the command table and the command
enum match up.
|
|
|
|
|
|
|
|
This avoids the need to custom memory management and additional members.
This also resolves use-after-free if modifying copied layouts, so presumably nobody has ever done that.
|
|
|
|
|
|
Ensure the same coordinates are used for station/town/player signs regardless of how the landscape changes below it after the coordinates were first determined.
By keeping track of whether each ViewportSign is valid for Kdtree use (and only ever registering the viewport sign when the object is valid) a lot of code can be simplified and become more robust at the same time.
|
|
|
|
Code based on the patch by JGRennison.
JGRennison/OpenTTD-patches@ac84f34062ef1f3ffcdee49dc595d574e4efb4d5
|
|
|
|
|
|
|
|
|
|
|
|
depending on zoom level (Samu).
|
|
data is now always accessible
|
|
the return is not NULL)
|
|
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
|
|
information for situations when we only want to know if a tile is flat or not (cirdan, LordAro)
|
|
into non-static members GetSpec(uint) and GetSpecCount().
|
|
|
|
|
|
|
|
use it
|
|
functions if they return the Z in pixels (like TilePixelHeight)
|
|
|
|
|
|
for uniform stations has been broken for over a year
|
|
|
|
characters, not bytes
|
|
|
|
depots, stations and vehicles (Krille)
|
|
|
|
DeleteAnimatedTile() into MakeWaterKeepingClass().
|
|
by own vehicles.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
detected.
|