Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
Functions | |
JS::Value | GuiInterfaceCall (const ScriptInterface &scriptInterface, const std::wstring &name, JS::HandleValue data) |
void | PostNetworkCommand (const ScriptInterface &scriptInterface, JS::HandleValue cmd) |
void | DumpSimState () |
entity_id_t | PickEntityAtPoint (int x, int y) |
std::vector< entity_id_t > | PickPlayerEntitiesInRect (int x0, int y0, int x1, int y1, int player) |
std::vector< entity_id_t > | PickPlayerEntitiesOnScreen (int player) |
std::vector< entity_id_t > | PickNonGaiaEntitiesOnScreen () |
std::vector< entity_id_t > | GetEntitiesWithStaticObstructionOnScreen () |
JS::Value | GetEdgesOfStaticObstructionsOnScreenNearTo (const ScriptInterface &scriptInterface, entity_pos_t x, entity_pos_t z) |
std::vector< entity_id_t > | PickSimilarPlayerEntities (const std::string &templateName, bool includeOffScreen, bool matchRank, bool allowFoundations) |
JS::Value | GetAIs (const ScriptInterface &scriptInterface) |
void | SetBoundingBoxDebugOverlay (bool enabled) |
void | RegisterScriptFunctions (const ScriptRequest &rq) |
void JSI_Simulation::DumpSimState | ( | ) |
JS::Value JSI_Simulation::GetAIs | ( | const ScriptInterface & | scriptInterface | ) |
JS::Value JSI_Simulation::GetEdgesOfStaticObstructionsOnScreenNearTo | ( | const ScriptInterface & | scriptInterface, |
entity_pos_t | x, | ||
entity_pos_t | z | ||
) |
std::vector< entity_id_t > JSI_Simulation::GetEntitiesWithStaticObstructionOnScreen | ( | ) |
JS::Value JSI_Simulation::GuiInterfaceCall | ( | const ScriptInterface & | scriptInterface, |
const std::wstring & | name, | ||
JS::HandleValue | data | ||
) |
entity_id_t JSI_Simulation::PickEntityAtPoint | ( | int | x, |
int | y | ||
) |
std::vector< entity_id_t > JSI_Simulation::PickNonGaiaEntitiesOnScreen | ( | ) |
std::vector< entity_id_t > JSI_Simulation::PickPlayerEntitiesInRect | ( | int | x0, |
int | y0, | ||
int | x1, | ||
int | y1, | ||
int | player | ||
) |
std::vector< entity_id_t > JSI_Simulation::PickPlayerEntitiesOnScreen | ( | int | player | ) |
std::vector< entity_id_t > JSI_Simulation::PickSimilarPlayerEntities | ( | const std::string & | templateName, |
bool | includeOffScreen, | ||
bool | matchRank, | ||
bool | allowFoundations | ||
) |
void JSI_Simulation::PostNetworkCommand | ( | const ScriptInterface & | scriptInterface, |
JS::HandleValue | cmd | ||
) |
void JSI_Simulation::RegisterScriptFunctions | ( | const ScriptRequest & | rq | ) |
void JSI_Simulation::SetBoundingBoxDebugOverlay | ( | bool | enabled | ) |