Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
JSI_Main Namespace Reference

Functions

void QuitEngine ()
 
void StartAtlas ()
 
bool AtlasIsAvailable ()
 
bool IsAtlasRunning ()
 
void OpenURL (const std::string &url)
 
std::wstring GetSystemUsername ()
 
std::wstring GetMatchID ()
 
JS::Value LoadMapSettings (const ScriptInterface &scriptInterface, const VfsPath &pathname)
 
int GetFps ()
 
CSize2D GetTextSize (const std::string &fontName, const std::wstring &text)
 
int GetTextWidth (const std::string &fontName, const std::wstring &text)
 
std::string CalculateMD5 (const std::string &input)
 
void RegisterScriptFunctions (const ScriptRequest &rq)
 

Function Documentation

◆ AtlasIsAvailable()

bool JSI_Main::AtlasIsAvailable ( )

◆ CalculateMD5()

std::string JSI_Main::CalculateMD5 ( const std::string &  input)

◆ GetFps()

int JSI_Main::GetFps ( )

◆ GetMatchID()

std::wstring JSI_Main::GetMatchID ( )

◆ GetSystemUsername()

std::wstring JSI_Main::GetSystemUsername ( )

◆ GetTextSize()

CSize2D JSI_Main::GetTextSize ( const std::string &  fontName,
const std::wstring &  text 
)

◆ GetTextWidth()

int JSI_Main::GetTextWidth ( const std::string &  fontName,
const std::wstring &  text 
)

◆ IsAtlasRunning()

bool JSI_Main::IsAtlasRunning ( )

◆ LoadMapSettings()

JS::Value JSI_Main::LoadMapSettings ( const ScriptInterface scriptInterface,
const VfsPath pathname 
)

◆ OpenURL()

void JSI_Main::OpenURL ( const std::string &  url)

◆ QuitEngine()

void JSI_Main::QuitEngine ( )

◆ RegisterScriptFunctions()

void JSI_Main::RegisterScriptFunctions ( const ScriptRequest rq)

◆ StartAtlas()

void JSI_Main::StartAtlas ( )