mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-26 00:45:35 +00:00
Codechange: make Axis a scoped enum
This commit is contained in:
committed by
Peter Nelson
parent
c0cb8b74e1
commit
c74431e734
+2
-2
@@ -133,8 +133,8 @@ TileIndex TileAddWrap(TileIndex tile, int addx, int addy)
|
||||
|
||||
/** 'Lookup table' for tile offsets given an Axis */
|
||||
extern const AxisIndexArray<TileIndexDiffC> _tileoffs_by_axis{{{
|
||||
{1, 0}, // AXIS_X
|
||||
{0, 1}, // AXIS_Y
|
||||
{1, 0}, // Axis::X
|
||||
{0, 1}, // Axis::Y
|
||||
}}};
|
||||
|
||||
/** 'Lookup table' for tile offsets given a DiagDirection */
|
||||
|
||||
Reference in New Issue
Block a user