+#ifndef WIN32
+typedef struct tagPOINT {
+ int x;
+ int y;
+} POINT, *PPOINT;
+#endif
+
+#if USE_SDL
+void sdlGetCursorPos(POINT *pt)
+{
+ int x, y;
+ SDL_GetMouseState(&x, &y);
+ pt->x = x;
+ pt->y = y;
+}
+#define GetCursorPos(x) sdlGetCursorPos(x)
+#define SetCursorPos(x, y) SDL_WarpMouse(x, y)
+#define ScreenToClient(x, pt)
+#define ClientToScreen(x, pt)
+#define MessageBox(hwnd,text,title,flags) STUBBED("msgbox")
+#endif