![]() |
RigsofRods
Soft-body Physics Simulation
|
#include "AngelScriptBindings.h"
#include "Application.h"
#include "GameContext.h"
#include "GameScript.h"
#include "InterThreadStoreVector.h"
#include "ScriptEvents.h"
#include <Ogre.h>
#include "scriptdictionary/scriptdictionary.h"
#include "scriptbuilder/scriptbuilder.h"
#include <map>
Go to the source code of this file.
Data Structures | |
struct | RoR::ScriptUnit |
Represents a loaded script and all associated resources/handles. More... | |
struct | RoR::LoadScriptRequest |
struct | RoR::ScriptCallbackArgs |
class | RoR::ScriptEngine |
This class represents the angelscript scripting interface. More... | |
Namespaces | |
RoR | |
Macros | |
#define | DEFAULT_TERRAIN_SCRIPT "default.as" |
Typedefs | |
typedef std::map< ScriptUnitId_t, ScriptUnit > | RoR::ScriptUnitMap |
typedef BitMask_t | RoR::GetFuncFlags_t |
Flags for RoR::ScriptEngine::getFunctionByDeclAndLogCandidates() More... | |
Enumerations | |
enum | RoR::ScriptCategory { RoR::ScriptCategory::INVALID, RoR::ScriptCategory::ACTOR, RoR::ScriptCategory::TERRAIN, RoR::ScriptCategory::CUSTOM } |
Note: Either of these can be loaded from script using game.pushMessage(MSG_APP_LOAD_SCRIPT_REQUESTED...) More... | |
Functions | |
void | RoR::TRIGGER_EVENT_ASYNC (scriptEvents type, int arg1, int arg2ex=0, int arg3ex=0, int arg4ex=0, std::string arg5ex="", std::string arg6ex="", std::string arg7ex="", std::string arg8ex="") |
Asynchronously (via MSG_SIM_SCRIPT_EVENT_TRIGGERED ) invoke script function eventCallbackEx() , if registered, otherwise fall back to eventCallback() More... | |
const char * | RoR::ScriptCategoryToString (ScriptCategory c) |
Variables | |
const GetFuncFlags_t | RoR::GETFUNCFLAG_OPTIONAL = 0 |
Only logs warning if candidate is found, to help modder find a typo. More... | |
const GetFuncFlags_t | RoR::GETFUNCFLAG_REQUIRED = BITMASK(1) |
Always logs warning that function was not found. More... | |
const GetFuncFlags_t | RoR::GETFUNCFLAG_SILENT = BITMASK(2) |
Never logs. More... | |
const std::string | RoR::GETFUNC_DEFAULTEVENTCALLBACK_SIGFMT = "void {}(int, string, string, int)" |
const std::string | RoR::GETFUNC_DEFAULTEVENTCALLBACK_NAME = "defaultEventCallback" |
Definition in file ScriptEngine.h.
#define DEFAULT_TERRAIN_SCRIPT "default.as" |
Definition at line 30 of file ScriptEngine.h.