pokeplatinum/include/coordinates.h
scbroede 8fbf711e09
Some checks are pending
build / build (push) Waiting to run
unify coordinate structs (#1010)
2026-03-18 07:05:03 -07:00

34 lines
518 B
C

#ifndef POKEPLATINUM_COORDINATES_H
#define POKEPLATINUM_COORDINATES_H
typedef struct CoordinatesS16 {
s16 x;
union {
s16 y;
s16 z;
};
} CoordinatesS16;
typedef struct CoordinatesU16 {
u16 x;
union {
u16 y;
u16 z;
};
} CoordinatesU16;
typedef struct CoordinatesInt {
int x;
union {
int y;
int z;
};
} CoordinatesInt;
typedef struct CoordinatesFX32 {
fx32 x;
fx32 y;
} CoordinatesFX32;
#endif // POKEPLATINUM_COORDINATES_H