pmd-sky/include/util.h
AnonymousRandomPerson 2b134f8fe4 Added entity struct
2023-08-27 22:06:17 -04:00

24 lines
379 B
C

#ifndef PMDSKY_UTIL_H
#define PMDSKY_UTIL_H
// RGBA8 structure. Sometimes alpha is ignored and only used for padding
struct rgba {
u8 r;
u8 b;
u8 g;
u8 a; // Sometimes used only for padding
};
// a 2d short (16bit) vector
struct vec2_16 {
s16 x;
s16 y;
};
// a 2d ushort (16bit) vector
struct uvec2_16 {
u16 x;
u16 y;
};
#endif //PMDSKY_UTIL_H