-// === FUNCTIONS ===
-// --- Input ---
- int Input_Init(void);
-void Input_FillSelect(int *nfds, fd_set *set);
-void Input_HandleSelect(fd_set *set);
-// --- IPC ---
-void IPC_Init(void);
-void IPC_FillSelect(int *nfds, fd_set *set);
-void IPC_HandleSelect(fd_set *set);
+#define ASSERT(expr) do{if(!(expr)){_SysDebug("%s:%i - ASSERTION FAILED: "#expr, __FILE__, __LINE__);exit(-1);}}while(0)
+
+#define UNIMPLEMENTED() do{_SysDebug("TODO: Implement %s", __func__); for(;;);}while(0)
+
+#define AXWIN_VERSION 0x300
+
+static inline int MIN(int a, int b) { return (a < b) ? a : b; }
+static inline int MAX(int a, int b) { return (a > b) ? a : b; }
+
+extern int giScreenWidth, giScreenHeight;