FS2_Open
Open source remastering of the Freespace 2 engine
osapi.h File Reference

Go to the source code of this file.

Macros

#define INITIALIZE_CRITICAL_SECTION(csc)   do { } while(0)
 
#define DELETE_CRITICAL_SECTION(csc)   do { } while(0)
 
#define ENTER_CRITICAL_SECTION(csc)   do { } while(0)
 
#define LEAVE_CRITICAL_SECTION(csc)   do { } while(0)
 
#define os_get_window()   NULL
 

Functions

const char * detect_home (void)
 
void os_init (const char *wclass, const char *title, const char *app_name=NULL, const char *version_string=NULL)
 
void os_set_title (const char *title)
 
void os_cleanup ()
 
void os_toggle_fullscreen ()
 
int os_foreground ()
 
void os_set_window (uint new_handle)
 
void os_poll ()
 
void os_sleep (int ms)
 
void os_suspend ()
 
void os_resume ()
 

Variables

int Os_debugger_running
 

Macro Definition Documentation

#define DELETE_CRITICAL_SECTION (   csc)    do { } while(0)

Definition at line 41 of file osapi.h.

#define ENTER_CRITICAL_SECTION (   csc)    do { } while(0)

Definition at line 42 of file osapi.h.

#define INITIALIZE_CRITICAL_SECTION (   csc)    do { } while(0)

Definition at line 40 of file osapi.h.

#define LEAVE_CRITICAL_SECTION (   csc)    do { } while(0)

Definition at line 43 of file osapi.h.

#define os_get_window ( )    NULL

Definition at line 78 of file osapi.h.

Function Documentation

const char* detect_home ( void  )

Definition at line 101 of file osapi.cpp.

void os_cleanup ( )

Definition at line 181 of file osapi.cpp.

int os_foreground ( )

Definition at line 202 of file osapi.cpp.

void os_init ( const char *  wclass,
const char *  title,
const char *  app_name = NULL,
const char *  version_string = NULL 
)

Definition at line 134 of file osapi.cpp.

void os_poll ( )

Definition at line 748 of file osapi.cpp.

void os_resume ( )

Definition at line 244 of file osapi.cpp.

void os_set_title ( const char *  title)

Definition at line 172 of file osapi.cpp.

void os_set_window ( uint  new_handle)

Definition at line 223 of file osapi.cpp.

void os_sleep ( int  ms)

Definition at line 232 of file osapi.cpp.

void os_suspend ( )

Definition at line 238 of file osapi.cpp.

void os_toggle_fullscreen ( )

Variable Documentation

int Os_debugger_running

Definition at line 68 of file osapi.cpp.