Open source remastering of the Freespace 2 engine
osapi_unix.cpp File Reference
#include <stdio.h>
#include <fcntl.h>
#include <stdarg.h>
#include "cmdline/cmdline.h"
#include "globalincs/pstypes.h"
#include "io/key.h"
#include "io/mouse.h"
#include "osapi/outwnd.h"
#include "io/joy.h"
#include "io/joy_ff.h"
#include "osapi/osregistry.h"
#include "graphics/2d.h"
#include "freespace2/freespace.h"
#include "osapi/osapi.h"

Go to the source code of this file.


#define THREADED


DWORD unix_process (DWORD lparam)
void os_deinit ()
const char * detect_home (void)
void os_init (const char *wclass, const char *title, const char *app_name, const char *version_string)
void os_set_title (const char *title)
void gr_opengl_shutdown ()
void os_cleanup ()
int os_foreground ()
void os_sleep (int ms)
void os_suspend ()
void os_resume ()
void joy_set_button_state (int button, int state)
void joy_set_hat_state (int position)
void os_poll ()
void debug_int3 (char *file, int line)


int Os_debugger_running = 0

Macro Definition Documentation

#define THREADED

Definition at line 29 of file osapi_unix.cpp.

Function Documentation

void debug_int3 ( char *  file,
int  line 

Definition at line 242 of file osapi_unix.cpp.

const char* detect_home ( void  )

Definition at line 62 of file osapi_unix.cpp.

void gr_opengl_shutdown ( )

Definition at line 1316 of file gropengl.cpp.

void joy_set_button_state ( int  button,
int  state 

Definition at line 365 of file joy-unix.cpp.

void joy_set_hat_state ( int  position)

Definition at line 394 of file joy-unix.cpp.

void os_cleanup ( )

Definition at line 101 of file osapi_unix.cpp.

void os_deinit ( )

Definition at line 230 of file osapi_unix.cpp.

int os_foreground ( )

Definition at line 114 of file osapi_unix.cpp.

void os_init ( const char *  wclass,
const char *  title,
const char *  app_name,
const char *  version_string 

Definition at line 69 of file osapi_unix.cpp.

void os_poll ( )

Definition at line 237 of file osapi_unix.cpp.

void os_resume ( )

Definition at line 142 of file osapi_unix.cpp.

void os_set_title ( const char *  title)

Definition at line 91 of file osapi_unix.cpp.

void os_sleep ( int  ms)

Definition at line 130 of file osapi_unix.cpp.

void os_suspend ( )

Definition at line 136 of file osapi_unix.cpp.

DWORD unix_process ( DWORD  lparam)

Definition at line 156 of file osapi_unix.cpp.

Variable Documentation

int Os_debugger_running = 0

Definition at line 44 of file osapi_unix.cpp.