29 #define INITIALIZE_CRITICAL_SECTION(csc) do { InitializeCriticalSection(&csc); } while(0)
30 #define DELETE_CRITICAL_SECTION(csc) do { DeleteCriticalSection(&csc); } while(0)
31 #define ENTER_CRITICAL_SECTION(csc) do { EnterCriticalSection(&csc); } while(0)
32 #define LEAVE_CRITICAL_SECTION(csc) do { LeaveCriticalSection(&csc); } while(0)
34 #define INITIALIZE_CRITICAL_SECTION(csc) do { csc = SDL_CreateMutex(); } while(0)
35 #define DELETE_CRITICAL_SECTION(csc) do { SDL_DestroyMutex(csc); } while(0)
36 #define ENTER_CRITICAL_SECTION(csc) do { SDL_LockMutex(csc); } while(0)
37 #define LEAVE_CRITICAL_SECTION(csc) do { SDL_UnlockMutex(csc); } while(0)
40 #define INITIALIZE_CRITICAL_SECTION(csc) do { } while(0)
41 #define DELETE_CRITICAL_SECTION(csc) do { } while(0)
42 #define ENTER_CRITICAL_SECTION(csc) do { } while(0)
43 #define LEAVE_CRITICAL_SECTION(csc) do { } while(0)
57 void os_init(
const char * wclass,
const char * title,
const char *app_name=NULL,
const char *version_string=NULL );
78 #define os_get_window() NULL
104 void disableWindowsKey();
105 void enableWindowsKey();
void os_set_window(uint new_handle)
void os_set_title(const char *title)
const char * detect_home(void)
void os_toggle_fullscreen()
void os_init(const char *wclass, const char *title, const char *app_name=NULL, const char *version_string=NULL)