diff --git a/src/openrct2/world/Location.hpp b/src/openrct2/world/Location.hpp index 2be44bad83..796d3c9791 100644 --- a/src/openrct2/world/Location.hpp +++ b/src/openrct2/world/Location.hpp @@ -52,11 +52,10 @@ assert_struct_size(LocationXYZ16, 6); constexpr sint32 COORDS_NULL = -1; - -/* - * Tile coordinates use 1 x/y increment per tile. - * Regular ('big', 'sprite') coordinates use 32 x/y increments per tile. - * */ +/** + * Tile coordinates use 1 x/y increment per tile and 1 z increment per step. + * Regular ('big', 'sprite') coordinates use 32 x/y increments per tile and 8 z increments per step. + */ struct CoordsXY { sint32 x, y; @@ -95,14 +94,6 @@ struct TileCoordsXYZ sint32 x = 0, y = 0, z = 0; }; -struct TileCoordsXYZD -{ - sint32 x, y, z; - uint8 direction; - - bool isNull() const { return x == COORDS_NULL; }; -}; - struct CoordsXYZD { sint32 x, y, z; @@ -111,4 +102,10 @@ struct CoordsXYZD bool isNull() const { return x == COORDS_NULL; }; }; +struct TileCoordsXYZD +{ + sint32 x, y, z; + uint8 direction; + bool isNull() const { return x == COORDS_NULL; }; +};