|
OpenTTD Source 20260311-master-g511d3794ce
|
Highlight/sprite information for autorail. More...
Go to the source code of this file.
Macros | |
| #define | RED(c) |
| Mark invalid tiles red. | |
Variables | |
| static const int | _AutorailTilehSprite [][6] |
| Table maps each of the six rail directions and tileh combinations to a sprite. | |
| static const HighLightStyle | _autorail_piece [][16] |
| Maps each pixel of a tile (16x16) to a selection type (0,0) is the top corner, (16,16) the bottom corner. | |
Highlight/sprite information for autorail.
Definition in file autorail.h.
| #define RED | ( | c | ) |
|
static |
Maps each pixel of a tile (16x16) to a selection type (0,0) is the top corner, (16,16) the bottom corner.
Definition at line 63 of file autorail.h.
Referenced by GetAutorailHT().
|
static |
Table maps each of the six rail directions and tileh combinations to a sprite.
Invalid entries are required to make sure that this array can be quickly accessed.
Definition at line 25 of file autorail.h.
Referenced by DrawAutorailSelection().