|
UFO: Alien Invasion
|
main function and system functions More...
#include <CoreFoundation/CoreFoundation.h>#include <SDL_main.h>#include <fcntl.h>#include <sys/param.h>#include <unistd.h>#include "../../common/common.h"
Go to the source code of this file.
Functions | |
| static void | SetWorkingDirectory () |
| Sets the current working directory to the top of the application bundle hierarchy. | |
| int | main (int argc, char **argv) |
| The entry point for OSX server and client. | |
main function and system functions
Definition in file osx_main.cpp.
The entry point for OSX server and client.
Inits the the program and calls Qcommon in an infinite loop. FIXME: While this works, infinite loops are bad; one should not rely on exit() call; the program should be designed to fall through the bottom.
Definition at line 62 of file osx_main.cpp.
References Qcommon_Frame(), Qcommon_Init(), SetWorkingDirectory(), and Sys_ConsoleInit().
|
static |
Sets the current working directory to the top of the application bundle hierarchy.
Definition at line 38 of file osx_main.cpp.
References Com_DPrintf(), Com_Printf(), and DEBUG_SYSTEM.
Referenced by main().