Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
JSInterface_Game.cpp File Reference
#include "precompiled.h"
#include "JSInterface_Game.h"
#include "graphics/Terrain.h"
#include "network/NetClient.h"
#include "network/NetServer.h"
#include "ps/CLogger.h"
#include "ps/Filesystem.h"
#include "ps/Game.h"
#include "ps/GameSetup/GameSetup.h"
#include "ps/Replay.h"
#include "ps/World.h"
#include "scriptinterface/FunctionWrapper.h"
#include "scriptinterface/StructuredClone.h"
#include "simulation2/system/TurnManager.h"
#include "simulation2/Simulation2.h"
#include "soundmanager/SoundManager.h"
Include dependency graph for JSInterface_Game.cpp:

Namespaces

namespace  JSI_Game
 

Functions

void JSI_Game::StartGame (const ScriptInterface &guiInterface, JS::HandleValue attribs, int playerID, bool storeReplay)
 
void JSI_Game::Script_EndGame ()
 
int JSI_Game::GetPlayerID ()
 
void JSI_Game::SetPlayerID (int id)
 
void JSI_Game::SetViewedPlayer (int id)
 
float JSI_Game::GetSimRate ()
 
void JSI_Game::SetSimRate (float rate)
 
int JSI_Game::GetPendingTurns ()
 
bool JSI_Game::IsPaused (const ScriptRequest &rq)
 
void JSI_Game::SetPaused (const ScriptRequest &rq, bool pause, bool sendMessage)
 
bool JSI_Game::IsVisualReplay ()
 
std::wstring JSI_Game::GetCurrentReplayDirectory ()
 
void JSI_Game::EnableTimeWarpRecording (unsigned int numTurns)
 
void JSI_Game::RewindTimeWarp ()
 
void JSI_Game::DumpTerrainMipmap ()
 
void JSI_Game::RegisterScriptFunctions (const ScriptRequest &rq)