UFO: Alien Invasion
Loading...
Searching...
No Matches
android_main.cpp File Reference

main function and system functions More...

#include <SDL.h>
#include <fcntl.h>
#include <unistd.h>
#include <signal.h>
#include <android/log.h>
#include "../../common/common.h"
#include "../system.h"
Include dependency graph for android_main.cpp:

Go to the source code of this file.

Functions

void Sys_Init (void)
int SDL_main (int argc, char **argv)
 The entry point for Android server and client. Initializes the program and calls Qcommon_Frame in an infinite loop.

Detailed Description

main function and system functions

Definition in file android_main.cpp.

Function Documentation

◆ SDL_main()

int SDL_main ( int argc,
char ** argv )

The entry point for Android server and client. Initializes the program and calls Qcommon_Frame in an infinite loop.

Definition at line 50 of file android_main.cpp.

References Qcommon_Frame(), Qcommon_Init(), and Sys_ConsoleInit().

◆ Sys_Init()

void Sys_Init ( void )

Definition at line 39 of file android_main.cpp.

References CVAR_ARCHIVE, Cvar_Get(), CVAR_SERVERINFO, sys_affinity, sys_os, and sys_priority.

Referenced by Qcommon_Init().