Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
anonymous_namespace{Mod.cpp} Namespace Reference

Functions

bool LoadModJSON (const PIVFS &vfs, OsPath modsPath, OsPath mod, std::string &text)
 
bool ParseModJSON (const ScriptRequest &rq, const PIVFS &vfs, OsPath modsPath, OsPath mod, Mod::ModData &data)
 

Variables

Mod g_ModInstance
 Global instance of Mod, always exists. More...
 

Function Documentation

◆ LoadModJSON()

bool anonymous_namespace{Mod.cpp}::LoadModJSON ( const PIVFS vfs,
OsPath  modsPath,
OsPath  mod,
std::string &  text 
)

◆ ParseModJSON()

bool anonymous_namespace{Mod.cpp}::ParseModJSON ( const ScriptRequest rq,
const PIVFS vfs,
OsPath  modsPath,
OsPath  mod,
Mod::ModData data 
)

Variable Documentation

◆ g_ModInstance

Mod anonymous_namespace{Mod.cpp}::g_ModInstance

Global instance of Mod, always exists.