|
UFO: Alien Invasion
|
Some android specific functions. More...
#include <unistd.h>#include <sys/time.h>#include <stdlib.h>#include <sys/stat.h>#include <sys/types.h>#include <pwd.h>#include <dlfcn.h>#include <fcntl.h>#include <locale.h>#include <signal.h>#include <dirent.h>#include "../../common/common.h"#include "../system.h"#include <android/log.h>#include "../android/android_debugger.h"
Go to the source code of this file.
Functions | |
| const char * | Sys_GetCurrentUser (void) |
| void | Sys_Error (const char *error,...) |
| Errors out of the game. More... | |
| void | Sys_Quit (void) |
| void | Sys_Backtrace (void) |
| On platforms supporting it, print a backtrace. More... | |
Some android specific functions.
Definition in file android_system.cpp.
On platforms supporting it, print a backtrace.
Definition at line 102 of file android_system.cpp.
References androidDumpBacktrace(), BUILDSTRING, Com_BreakIntoDebugger(), Com_UploadCrashDump(), CPUSTRING, FILE, Sys_Fopen(), and UFO_VERSION.
Referenced by Com_Error(), Com_SetValue(), Com_ValueToStr(), and Sys_Error().
| void Sys_Error | ( | const char * | error, |
| ... | |||
| ) |
Errors out of the game.
Definition at line 57 of file android_system.cpp.
References Com_BreakIntoDebugger(), Mem_Shutdown(), Q_vsnprintf(), Sys_Backtrace(), and Sys_ConsoleShutdown().
| const char * Sys_GetCurrentUser | ( | void | ) |
Definition at line 44 of file android_system.cpp.
References user.
Referenced by CL_InitLocal(), Com_UploadCrashDump(), and WEB_InitStartup().
Definition at line 86 of file android_system.cpp.
References CL_Shutdown(), Mem_Shutdown(), Qcommon_Shutdown(), and Sys_ConsoleShutdown().
Referenced by Com_Quit(), Sys_ConsoleLoop(), and Sys_ConsoleProc().