xoreos
0.0.5
|
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"
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 |
The project's main entry point.
Definition in file xoreos.cpp.
#define SDL_MAIN_HANDLED |
Definition at line 25 of file xoreos.cpp.
|
static |
Definition at line 300 of file xoreos.cpp.
References Common::deinitXML(), Common::Singleton< ConfigManager >::destroy(), Common::Singleton< DebugManager >::destroy(), Common::Singleton< TextureManager >::destroy(), Common::Singleton< GraphicsManager >::destroy(), Common::Singleton< LanguageManager >::destroy(), Common::Singleton< TimerManager >::destroy(), Common::Singleton< SoundManager >::destroy(), Common::Singleton< EventsManager >::destroy(), Common::Singleton< EngineManager >::destroy(), Common::Singleton< FileTypeManager >::destroy(), Common::Singleton< TalkManager >::destroy(), Common::Singleton< QueueManager >::destroy(), Common::Singleton< TwoDARegistry >::destroy(), Common::Singleton< FontManager >::destroy(), Common::Singleton< ResourceManager >::destroy(), Common::Singleton< CursorManager >::destroy(), Events::RequestManager::destroy(), EventMan, GfxMan, Common::initedThreads(), and SoundMan.
Referenced by main().
|
static |
Definition at line 284 of file xoreos.cpp.
References EventMan, GfxMan, Common::initThreads(), Common::initXML(), SoundMan, and status().
Referenced by main().
|
static |
Definition at line 230 of file xoreos.cpp.
References configFileIsBroken, ConfigMan, and Common::kConfigRealmDefault.
Referenced by main().
|
static |
Definition at line 221 of file xoreos.cpp.
References Common::exceptionDispatcherError(), and Common::Platform::init().
Referenced by main().
|
static |
Definition at line 268 of file xoreos.cpp.
References DebugMan, and MAX().
Referenced by main().
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 77 of file xoreos.cpp.
References Common::UString::c_str(), Common::FilePath::canonicalize(), Common::UString::clear(), configFileIsBroken, ConfigMan, Engines::DragonAge::createEngineProbes(), DebugMan, deinit(), destroyEngineProbes(), Common::UString::empty(), error(), EventMan, Common::exceptionDispatcherError(), Common::Platform::getParameters(), Engines::GameThread::init(), init(), initConfig(), initPlatform(), Common::FilePath::isDirectory(), Common::FilePath::isRegularFile(), listDebug(), parseCommandline(), Engines::GameThread::run(), status(), and warning().
|
static |
Definition at line 75 of file xoreos.cpp.
Referenced by initConfig(), and main().