|
RigsofRods
Soft-body Physics Simulation
|
Go to the documentation of this file.
26 #include <angelscript.h>
28 using namespace AngelScript;
36 result = engine->RegisterEnum(
"MsgType");
ROR_ASSERT(result >= 0);
103 result = engine->RegisterEnum(
"FreeForceType");
ROR_ASSERT(result>=0);
105 result = engine->RegisterEnumValue(
"FreeForceType",
"FREEFORCETYPE_DUMMY", (
int)FreeForceType::DUMMY);
ROR_ASSERT(result >= 0);
106 result = engine->RegisterEnumValue(
"FreeForceType",
"FREEFORCETYPE_CONSTANT", (
int)FreeForceType::CONSTANT);
ROR_ASSERT(result >= 0);
107 result = engine->RegisterEnumValue(
"FreeForceType",
"FREEFORCETYPE_TOWARDS_COORDS", (
int)FreeForceType::TOWARDS_COORDS);
ROR_ASSERT(result >= 0);
108 result = engine->RegisterEnumValue(
"FreeForceType",
"FREEFORCETYPE_TOWARDS_NODE", (
int)FreeForceType::TOWARDS_NODE);
ROR_ASSERT(result >= 0);
#define ROR_ASSERT(_EXPR)
@ MSG_SIM_LOAD_TERRN_REQUESTED
@ MSG_SIM_REMOVE_FREEFORCE_REQUESTED
Payload = RoR::FreeForceID_t* (owner)
@ MSG_GUI_SHOW_MESSAGE_BOX_REQUESTED
Payload = MessageBoxConfig* (owner)
@ MSG_SIM_MODIFY_ACTOR_REQUESTED
Payload = RoR::ActorModifyRequest* (owner)
@ MSG_EDI_RELOAD_BUNDLE_REQUESTED
Payload = RoR::CacheEntryPtr* (owner)
@ MSG_APP_REINIT_INPUT_REQUESTED
@ MSG_NET_USER_DISCONNECT
@ MSG_EDI_CREATE_PROJECT_REQUESTED
Payload = RoR::CreateProjectRequest* (owner)
@ MSG_EDI_UNLOAD_BUNDLE_REQUESTED
Payload = RoR::CacheEntryPtr* (owner)
@ MSG_SIM_UNLOAD_TERRN_REQUESTED
@ MSG_GUI_CLOSE_SELECTOR_REQUESTED
@ MSG_SIM_UNPAUSE_REQUESTED
@ MSG_NET_CONNECT_STARTED
@ MSG_GUI_DOWNLOAD_PROGRESS
@ MSG_NET_REFRESH_SERVERLIST_FAILURE
Payload = RoR::CurlFailInfo* (owner)
@ MSG_APP_LOAD_SCRIPT_REQUESTED
Payload = RoR::LoadScriptRequest* (owner)
@ MSG_NET_CONNECT_REQUESTED
@ MSG_APP_DISPLAY_WINDOWED_REQUESTED
@ MSG_APP_DISPLAY_FULLSCREEN_REQUESTED
@ MSG_NET_REFRESH_SERVERLIST_SUCCESS
Payload = GUI::MpServerInfoVec* (owner)
@ MSG_GUI_DOWNLOAD_FINISHED
@ MSG_NET_FETCH_AI_PRESETS_FAILURE
Description = message.
Core data structures for simulation; Everything affected by by either physics, network or user intera...
@ MSG_SIM_SEAT_PLAYER_REQUESTED
Payload = RoR::ActorPtr (owner) | nullptr.
@ MSG_APP_MODCACHE_PURGE_REQUESTED
@ MSG_GUI_MP_CLIENTS_REFRESH
@ MSG_NET_REFRESH_REPOLIST_FAILURE
Payload = RoR::CurlFailInfo* (owner)
@ MSG_GUI_OPEN_SELECTOR_REQUESTED
Payload = LoaderType* (owner), Description = GUID | empty.
@ MSG_SIM_HIDE_NET_ACTOR_REQUESTED
Payload = ActorPtr* (owner)
@ MSG_SIM_ADD_FREEFORCE_REQUESTED
Payload = RoR::FreeForceRequest* (owner)
Central state/object manager and communications hub.
@ MSG_NET_OPEN_RESOURCE_SUCCESS
Payload = GUI::ResourcesCollection* (owner)
@ MSG_APP_MODCACHE_LOAD_REQUESTED
@ MSG_APP_SCREENSHOT_REQUESTED
@ MSG_NET_REFRESH_REPOLIST_SUCCESS
Payload = GUI::ResourcesCollection* (owner)
@ MSG_SIM_TELEPORT_PLAYER_REQUESTED
Payload = Ogre::Vector3* (owner)
@ MSG_EDI_ENTER_TERRN_EDITOR_REQUESTED
@ MSG_EDI_LOAD_BUNDLE_REQUESTED
Payload = RoR::CacheEntryPtr* (owner)
@ MSG_NET_CONNECT_SUCCESS
@ MSG_NET_FETCH_AI_PRESETS_SUCCESS
Description = JSON string.
void RegisterMessageQueue(AngelScript::asIScriptEngine *engine)
Registers enum MsgType, defined in MsgQueueAngelscript.cpp.
@ MSG_GUI_OPEN_MENU_REQUESTED
@ MSG_EDI_LEAVE_TERRN_EDITOR_REQUESTED
@ MSG_SIM_SPAWN_ACTOR_REQUESTED
Payload = RoR::ActorSpawnRequest* (owner)
@ MSG_APP_MODCACHE_UPDATE_REQUESTED
@ MSG_NET_CONNECT_FAILURE
@ MSG_SIM_DELETE_ACTOR_REQUESTED
Payload = RoR::ActorPtr* (owner)
@ MSG_APP_SCRIPT_THREAD_STATUS
Payload = RoR::ScriptEventArgs* (owner)
@ MSG_EDI_MODIFY_GROUNDMODEL_REQUESTED
Payload = RoR::ground_model_t* (weak)
@ MSG_SIM_UNHIDE_NET_ACTOR_REQUESTED
Payload = ActorPtr* (owner)
@ MSG_APP_UNLOAD_SCRIPT_REQUESTED
Payload = RoR::ScriptUnitId_t* (owner)
@ MSG_GUI_CLOSE_MENU_REQUESTED
@ MSG_NET_CONNECT_PROGRESS
@ MSG_SIM_MODIFY_FREEFORCE_REQUESTED
Payload = RoR::FreeForceRequest* (owner)
@ MSG_SIM_PAUSE_REQUESTED
@ MSG_SIM_LOAD_SAVEGAME_REQUESTED
@ MSG_APP_SHUTDOWN_REQUESTED
@ MSG_NET_DISCONNECT_REQUESTED