Codechange: make Axis a scoped enum

This commit is contained in:
Peter Nelson
2026-05-27 07:49:39 +01:00
committed by Peter Nelson
parent c0cb8b74e1
commit c74431e734
35 changed files with 134 additions and 134 deletions
+2 -2
View File
@@ -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 */