diff --git a/sys/Stub_SDL_endian.h b/sys/Stub_SDL_endian.h index 0a1743a..ec3934a 100644 --- a/sys/Stub_SDL_endian.h +++ b/sys/Stub_SDL_endian.h @@ -34,6 +34,10 @@ #define SDL_LIL_ENDIAN 1234 #define SDL_BIG_ENDIAN 4321 +#ifndef BUILD_IS_BIG_ENDIAN + #error BUILD_IS_BIG_ENDIAN should be defined! +#endif + #if BUILD_IS_BIG_ENDIAN // this is from config.h, set by cmake #define SDL_BYTEORDER SDL_BIG_ENDIAN #else diff --git a/sys/sys_public.h b/sys/sys_public.h index fbac1a8..b1d68e2 100644 --- a/sys/sys_public.h +++ b/sys/sys_public.h @@ -58,6 +58,7 @@ typedef enum { SE_KEY, // evValue is a key code, evValue2 is the down flag SE_CHAR, // evValue is an ascii char SE_MOUSE, // evValue and evValue2 are reletive signed x / y moves + SE_MOUSE_ABS, // evValue and evValue2 are absolute x / y coordinates in the window SE_JOYSTICK_AXIS, // evValue is an axis number and evValue2 is the current state (-127 to 127) SE_CONSOLE // evPtr is a char*, from typing something at a non-game console } sysEventType_t;