18#ifndef INCLUDED_GAMESETUP
19#define INCLUDED_GAMESETUP
63extern void MountMods(
const Paths& paths,
const std::vector<CStr>& mods);
void MountMods(const Paths &paths, const std::vector< CStr > &mods)
Mounts all files of the given mods in the global VFS.
Definition: GameSetup.cpp:134
bool InitNonVisual(const CmdLineArgs &args)
ShutdownNetworkAndUI has to be called later.
Definition: GameSetup.cpp:694
void InitGraphics(const CmdLineArgs &args, int flags, const std::vector< CStr > &installedMods, ScriptContext &scriptContext, ScriptInterface &scriptInterface)
ShutdownNetworkAndUI has to be called later.
Definition: GameSetup.cpp:615
void EarlyInit()
initialize global modules that are be needed before Init.
Definition: GameSetup.cpp:477
void EndGame()
Definition: GameSetup.cpp:323
bool Init(const CmdLineArgs &args, int flags)
Returns true if successful, false if Init is aborted early (for instance if mods changed,...
Definition: GameSetup.cpp:519
bool InDevelopmentCopy()
Definition: GameSetup.cpp:1251
void CancelLoad(const CStrW &message)
Definition: GameSetup.cpp:1236
void ShutdownNetworkAndUI()
Has to be called before ShutdownConfigAndSubsequent.
Definition: GameSetup.cpp:336
void InitVfs(const CmdLineArgs &args)
Definition: GameSetup.cpp:158
void InitInput()
Definition: GameSetup.cpp:225
const std::vector< CStr > & GetMods(const CmdLineArgs &args, int flags)
InitFlags
Definition: GameSetup.h:39
@ INIT_MODS
Definition: GameSetup.h:50
@ INIT_MODS_PUBLIC
Definition: GameSetup.h:54
@ INIT_NO_GUI
Definition: GameSetup.h:47
@ INIT_HAVE_VMODE
Definition: GameSetup.h:43
void ShutdownConfigAndSubsequent()
Definition: GameSetup.cpp:376
Definition: CmdLineArgs.h:29
Wrapper class for OS paths used by the game.
Definition: Paths.h:28
Abstraction around a SpiderMonkey JSContext.
Definition: ScriptContext.h:46
Abstraction around a SpiderMonkey JS::Realm.
Definition: ScriptInterface.h:72