xoreos  0.0.5
Macros | Functions | Variables
xoreos.cpp File Reference

The project's main entry point. More...

#include <cassert>
#include <cstdio>
#include <vector>
#include "src/cline.h"
#include "src/engines.h"
#include "src/common/ustring.h"
#include "src/common/util.h"
#include "src/common/error.h"
#include "src/common/platform.h"
#include "src/common/filepath.h"
#include "src/common/threads.h"
#include "src/common/debugman.h"
#include "src/common/configman.h"
#include "src/common/xml.h"
#include "src/aurora/resman.h"
#include "src/aurora/2dareg.h"
#include "src/aurora/language.h"
#include "src/aurora/talkman.h"
#include "src/aurora/util.h"
#include "src/graphics/queueman.h"
#include "src/graphics/graphics.h"
#include "src/sound/sound.h"
#include "src/events/requests.h"
#include "src/events/events.h"
#include "src/events/timerman.h"
#include "src/engines/enginemanager.h"
#include "src/engines/gamethread.h"
#include "src/graphics/aurora/textureman.h"
#include "src/graphics/aurora/cursorman.h"
#include "src/graphics/aurora/fontman.h"
Include dependency graph for xoreos.cpp:

Go to the source code of this file.

Macros

#define SDL_MAIN_HANDLED
 

Functions

static void initPlatform ()
 
static void initConfig ()
 
static void init ()
 
static void deinit ()
 
static void listDebug ()
 
int main (int argc, char **argv)
 

Variables

static bool configFileIsBroken = false
 

Detailed Description

The project's main entry point.

Definition in file xoreos.cpp.

Macro Definition Documentation

◆ SDL_MAIN_HANDLED

#define SDL_MAIN_HANDLED

Definition at line 25 of file xoreos.cpp.

Function Documentation

◆ deinit()

static void deinit ( )
static

◆ init()

static void init ( )
static

Definition at line 284 of file xoreos.cpp.

References EventMan, GfxMan, Common::initThreads(), Common::initXML(), SoundMan, and status().

Referenced by main().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ initConfig()

static void initConfig ( )
static

Definition at line 230 of file xoreos.cpp.

References configFileIsBroken, ConfigMan, and Common::kConfigRealmDefault.

Referenced by main().

Here is the caller graph for this function:

◆ initPlatform()

static void initPlatform ( )
static

Definition at line 221 of file xoreos.cpp.

References Common::exceptionDispatcherError(), and Common::Platform::init().

Referenced by main().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ listDebug()

static void listDebug ( )
static

Definition at line 268 of file xoreos.cpp.

References DebugMan, and MAX().

Referenced by main().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ main()

int main ( int  argc,
char **  argv 
)

Variable Documentation

◆ configFileIsBroken

bool configFileIsBroken = false
static

Definition at line 75 of file xoreos.cpp.

Referenced by initConfig(), and main().