RigsofRods
Soft-body Physics Simulation
Namespaces | Data Structures | Typedefs | Enumerations | Functions | Variables
RoR Namespace Reference

Namespaces

 App
 
 ChatSystem
 
 GUI
 
 TObj
 

Data Structures

class  Actor
 Softbody object; can be anything from soda can to a space shuttle Constructed from a truck definition file, see https://docs.rigsofrods.org/vehicle-creation/fileformat-truck/ To spawn in-game, use MSG_SIM_SPAWN_ACTOR_REQUESTED, see GameContext::PushMessage(), in AngelScript use game.pushMessage(); Gameplay states are described by enum ActorState. More...
 
struct  ActorLinkingRequest
 Estabilishing a physics linkage between 2 actors modifies a global linkage table and triggers immediate update of every actor's linkage tables, so it has to be done sequentially on main thread. More...
 
class  ActorManager
 Builds and manages softbody actors (physics on background thread, networking) More...
 
struct  ActorModifyRequest
 
struct  ActorSB
 
class  ActorSpawner
 Processes a RigDef::Document (parsed from 'truck' file format) into a simulated gameplay object (Actor). More...
 
struct  ActorSpawnRequest
 
struct  AddonPartConflict
 < Conflict between two addonparts tweaking the same element More...
 
class  AddonPartUtility
 NOTE: Modcache processes this format directly using RoR::GenericDocument, see RoR::CacheSystem::FillAddonPartDetailInfo() More...
 
struct  AeroDashOverlay
 
class  AeroEngine
 
struct  AeroEngineOverlay
 
struct  AeroEngineSB
 
struct  AeroSwitchOverlay
 
struct  AeroTrimOverlay
 
class  Airbrake
 
struct  AirbrakeGfx
 
struct  AirbrakeSB
 
class  Airfoil
 Represents an airfoil http://en.wikipedia.org/wiki/Airfoil. More...
 
class  AngelScriptExamples
 
class  AppContext
 Central setup and event handler for input/windowing/rendering. More...
 
struct  AuthorInfo
 
struct  authorinfo_t
 
class  Autopilot
 
struct  beam_simple_t
 
struct  beam_t
 Simulation: An edge in the softbody structure. More...
 
struct  BeamGfx
 Visuals of softbody beam (beam_t struct); Partially updated along with SimBuffer. More...
 
class  Buoyance
 
struct  CabSubmesh
 Submesh for old-style actor body (the "cab") More...
 
struct  CabTexcoord
 Texture coordinates for old-style actor body (the "cab") More...
 
class  CacheEntry
 
struct  CacheQuery
 
struct  CacheQueryResult
 
class  CacheSystem
 A content database MOTIVATION: RoR users usually have A LOT of content installed. More...
 
class  CameraManager
 
class  Character
 
class  CharacterFactory
 
class  CmdKeyArray
 For backwards compatibility of the 'triggers' feature, the commandkey array must support negative indices of any size without breaking memory. More...
 
class  CmdKeyInertia
 Designed to be run in physics loop (2khz) More...
 
class  CmdKeyInertiaConfig
 Loads and manages 'inertia_models.cfg'. More...
 
struct  collcab_rate_t
 
struct  collision_box_t
 
struct  collision_mesh_t
 Records which collision triangles belong to which mesh. More...
 
struct  collision_tri_t
 
class  Collisions
 
struct  command_t
 
struct  commandbeam_state_t
 
struct  commandbeam_t
 
struct  CommandKeySB
 
class  ConfigFile
 Adds direct parsing of custom types. More...
 
class  Console
 Global game console backend. More...
 
class  ConsoleCmd
 Base (abstract) console command. More...
 
class  ContentManager
 
struct  cparticle_t
 
class  CReadonlyScriptArrayView
 
class  CReadonlyScriptDictView
 
struct  CreateProjectRequest
 Creates subdirectory in 'My Games\Rigs of Rods\projects', pre-populates it with files and adds modcache entry. More...
 
class  CSHA1
 
struct  CurlFailInfo
 
struct  CurlTaskContext
 
class  CVar
 Quake-style console variable, defined in RoR.cfg or crated via Console UI and scripts. More...
 
class  DashBoard
 
class  DashBoardManager
 
struct  dashData_t
 
union  dataContainer_t
 
class  Differential
 
struct  DifferentialData
 
class  DiscordRpc
 Wrapper class, just for code consistency with other subsystems. More...
 
class  DustPool
 
class  EngineSim
 A land vehicle engine + transmission. More...
 
struct  event_trigger_t
 
struct  eventsource_t
 < Scripting More...
 
struct  exhaust_t
 
struct  flare_t
 
struct  FlareMaterial
 
class  Flexable
 
class  FlexAirfoil
 
class  FlexBody
 Flexbody = A deformable mesh; updated on CPU every frame, then uploaded to video memory. More...
 
struct  FlexBodyCacheData
 
class  FlexBodyFileIO
 Enables saving and loading flexbodies from/to binary file. More...
 
struct  FlexBodyRecordHeader
 
class  FlexFactory
 
class  FlexMesh
 
class  FlexMeshWheel
 Consists of static mesh, representing the rim, and dynamic mesh, representing the tire. More...
 
class  FlexObj
 A visual mesh, forming a chassis for softbody actor At most one instance is created per actor. More...
 
class  ForceFeedback
 
struct  FreeForce
 Global force affecting particular (base) node of particular (base) actor; added ad-hoc by scripts. More...
 
struct  FreeForceRequest
 Common for ADD and MODIFY requests; tailored for use with AngelScript thru GameScript::pushMessage(). More...
 
class  GameContext
 Central game state manager. More...
 
struct  GameContextSB
 
class  GameScript
 Proxy class that can be called by script functions. More...
 
struct  GenericDocContext
 
struct  GenericDocument
 
class  GfxActor
 
struct  GfxCharacter
 
class  GfxEnvmap
 A dynamic environment probe; Creates a cubemap with realtime reflections around specified point. More...
 
class  GfxScene
 Provides a 3D graphical representation of the simulation Idea: simulation runs at it's own constant rate, scene updates and rendering run asynchronously. More...
 
struct  ground_model_t
 Surface friction properties. More...
 
class  GUIManager
 
struct  hook_t
 
class  HydraxWater
 
struct  hydrobeam_t
 
struct  ImTextFeeder
 Helper for drawing multiline wrapped & colored text. More...
 
class  InputEngine
 Manages controller configuration, evaluates input events. More...
 
struct  InputEvent
 
class  IWater
 < TODO: Mixed gfx+physics (waves) - must be separated ~ only_a_ptr, 02/2018 More...
 
class  Landusemap
 
class  LanguageEngine
 
struct  LoadScriptRequest
 
class  LocalStorage
 A class that allows scripts to store data persistently. More...
 
struct  Locator_t
 
struct  Message
 Unified game event system - all requests and state changes are reported using a message. More...
 
struct  ModifyProjectRequest
 
class  MovableText
 
struct  NetCharacterMsgAttach
 
struct  NetCharacterMsgGeneric
 
struct  NetCharacterMsgPos
 
struct  NetRecvPacket
 
struct  NetSendPacket
 
class  Network
 
struct  node_simple_t
 
struct  node_t
 Physics: A vertex in the softbody structure. More...
 
struct  NodeGfx
 Gfx attributes/state of a softbody node. More...
 
struct  NodeSB
 
struct  ODefAnimation
 
struct  ODefCollisionBox
 
struct  ODefCollisionMesh
 
struct  ODefFile
 
class  ODefParser
 
struct  ODefParticleSys
 
struct  ODefPointLight
 
struct  ODefSpotlight
 
struct  ODefTexPrint
 
struct  OTCFile
 Rembember OGRE coordinates are {X = right/left, Y = up/down, Z = front/back}. More...
 
struct  OTCLayer
 
struct  OTCPage
 
class  OTCParser
 
class  OutGauge
 
class  OverlayWrapper
 
struct  PerVehicleCameraContext
 
class  PointColDetector
 
class  ProceduralManager
 
struct  ProceduralObject
 
struct  ProceduralPoint
 
class  ProceduralRoad
 
struct  Prop
 A mesh attached to vehicle frame via 3 nodes. More...
 
struct  PropAnim
 
struct  PropAnimKeySB
 
struct  PropAnimKeyState
 User input state for animated props with 'source:event'. More...
 
struct  PSSM_Shadows_Data
 
class  RaceSystem
 
struct  RailGroup
 A series of RailSegment-s for SlideNode to slide along. Can be closed in a loop. More...
 
struct  RailSegment
 A single beam in a chain. More...
 
class  Renderdash
 'renderdash' is a name of a classic Render-To-Texture animated material with gauges and other dashboard info. More...
 
class  RepairMode
 Interactive recovery and repair mode, operates on player vehicle Formerly 'advanced repair' or 'interactive reset'. More...
 
class  Replay
 
struct  ropable_t
 
struct  rope_t
 
struct  rotator_t
 
class  SceneMouse
 
class  Screwprop
 
struct  ScrewpropSB
 
struct  ScriptCallbackArgs
 
class  ScriptEngine
 This class represents the angelscript scripting interface. More...
 
struct  ScriptEventArgs
 Args for eventCallbackEx() queued via MSG_SIM_SCRIPT_EVENT_TRIGGERED See descriptions at enum RoR::scriptEvents. More...
 
struct  ScriptUnit
 Represents a loaded script and all associated resources/handles. More...
 
class  ShadowManager
 
struct  shock_t
 
class  SimpleInertia
 Designed to be run on main/rendering loop (FPS) More...
 
class  Skidmark
 
class  SkidmarkConfig
 < Skidmark config file parser and data container More...
 
struct  SkinDef
 
class  SkinParser
 
class  SkyXManager
 
class  SlideNode
 
class  Sound
 
class  SoundManager
 
class  SoundScriptInstance
 
class  SoundScriptManager
 
class  SoundScriptTemplate
 
struct  soundsource_t
 
class  Str
 Wrapper for classic c-string (local buffer) Refresher: strlen() excludes '\0' terminator; strncat() Appends '\0' terminator. More...
 
struct  SurveyMapEntity
 
class  SurveyMapTextureCreator
 
class  Task
 /brief Handle for a task executed by ThreadPool More...
 
class  Terrain
 
class  TerrainEditor
 Minimalist editor mode; orig. More...
 
class  TerrainGeometryManager
 this class handles all interactions with the Ogre Terrain system More...
 
class  TerrainObjectManager
 
struct  Terrn2Author
 
struct  Terrn2Def
 
class  Terrn2Parser
 
struct  Terrn2Telepoint
 < Teleport drop location More...
 
class  ThreadPool
 Facilitates execution of (small) tasks on separate threads. More...
 
struct  tie_t
 
struct  TObjEntry
 
struct  TObjFile
 
struct  TObjGrass
 Unified 'grass' and 'grass2'. More...
 
class  TObjParser
 
struct  TObjTree
 
struct  TObjVehicle
 
struct  Token
 
class  TorqueCurve
 This class loads and processes a torque curve for a vehicle. More...
 
class  TransferCase
 
struct  TuneupDef
 Dual purpose: More...
 
struct  TuneupFlexbodyTweak
 < Data of 'addonpart_tweak_flexbody <flexbody ID> <offsetX> <offsetY> <offsetZ> <rotX> <rotY> <rotZ> <meshName>' More...
 
struct  TuneupManagedMatTweak
 < Data of 'addonpart_tweak_managedmaterial <name> <type> <media1> <media2> [<media3>]' More...
 
struct  TuneupNodeTweak
 < Data of 'addonpart_tweak_node <nodenum> <posX> <posY> <posZ>' More...
 
struct  TuneupPropTweak
 < Data of 'addonpart_tweak_prop <prop ID> <offsetX> <offsetY> <offsetZ> <rotX> <rotY> <rotZ> <media1> <media2>' More...
 
class  TuneupUtil
 
struct  TuneupWheelTweak
 < Data of 'addonpart_tweak_wheel <wheel ID> <media1> <media2> <side flag> <tire radius> <rim radius>' More...
 
class  Turbojet
 
class  TurbojetVisual
 
class  Turboprop
 
class  TyrePressure
 Land vehicle feat Simulates tyre pressurization by adjusting springness of in-wheel beams. More...
 
struct  UniqueCommandKeyPair
 UI helper for displaying command control keys to user. More...
 
class  VehicleAI
 
struct  VideoCamera
 An Ogre::Camera mounted on the actor and rendering into either in-scene texture or external window. More...
 
class  Water
 
struct  wheel_t
 
struct  wheeldetacher_t
 
struct  WheelGfx
 
struct  wing_t
 
class  World2ScreenConverter
 < Keeps data close for faster access. More...
 

Typedefs

typedef int ActorInstanceID_t
 Unique sequentially generated ID of an actor in session. Use ActorManager::GetActorById() More...
 
typedef int ScriptUnitId_t
 Unique sequentially generated ID of a loaded and running scriptin session. Use ScriptEngine::getScriptUnit() More...
 
typedef int PointidID_t
 index to PointColDetector::hit_pointid_list, use RoR::POINTIDID_INVALID as empty value. More...
 
typedef int RefelemID_t
 index to PointColDetector::m_ref_list, use RoR::REFELEMID_INVALID as empty value. More...
 
typedef int CacheEntryID_t
 index to CacheSystem::m_cache_entries, use RoR::CACHEENTRYNUM_INVALID as empty value. More...
 
typedef uint16_t NodeNum_t
 Node position within Actor::ar_nodes; use RoR::NODENUM_INVALID as empty value. More...
 
typedef int WheelID_t
 Index to Actor::ar_wheels, use RoR::WHEELID_INVALID as empty value. More...
 
typedef int PropID_t
 Index to GfxActor::m_props, use RoR::PROPID_INVALID as empty value. More...
 
typedef int FlexbodyID_t
 Index to GfxActor::m_flexbodies, use RoR::FLEXBODYID_INVALID as empty value. More...
 
typedef int FreeForceID_t
 Unique sequentially generated ID of FreeForce; use ActorManager::GetFreeForceNextId(). More...
 
typedef int FlareID_t
 Index into Actor::ar_flares, use RoR::FLAREID_INVALID as empty value. More...
 
typedef int ExhaustID_t
 Index into Actor::exhausts, use RoR::EXHAUSTID_INVALID as empty value. More...
 
typedef int CommandkeyID_t
 Index into Actor::ar_commandkeys (BEWARE: indexed 1-MAX_COMMANDKEYS, 0 is invalid value, negative subscript of any size is acceptable, see class CmdKeyArray ). More...
 
typedef RefCountingObjectPtr< ActorActorPtr
 
typedef RefCountingObjectPtr< CacheEntryCacheEntryPtr
 
typedef RefCountingObjectPtr< LocalStorageLocalStoragePtr
 
typedef RefCountingObjectPtr< ProceduralPointProceduralPointPtr
 
typedef RefCountingObjectPtr< ProceduralObjectProceduralObjectPtr
 
typedef RefCountingObjectPtr< ProceduralRoadProceduralRoadPtr
 
typedef RefCountingObjectPtr< ProceduralManagerProceduralManagerPtr
 
typedef RefCountingObjectPtr< SoundSoundPtr
 
typedef RefCountingObjectPtr< SoundScriptInstanceSoundScriptInstancePtr
 
typedef RefCountingObjectPtr< SoundScriptTemplateSoundScriptTemplatePtr
 
typedef RefCountingObjectPtr< TerrainTerrainPtr
 
typedef RefCountingObjectPtr< TuneupDefTuneupDefPtr
 
typedef RefCountingObjectPtr< VehicleAIVehicleAIPtr
 
typedef std::vector< ActorPtrActorPtrVec
 
typedef std::queue< Message, std::list< Message > > GameMsgQueue
 
typedef BitMask64_t PropAnimFlag_t
 
typedef BitMask_t PropAnimMode_t
 
typedef int CameraMode_t
 
typedef union RoR::dataContainer_t dataContainer_t
 
typedef struct RoR::dashData_t dashData_t
 
typedef std::vector< collision_tri_tCollisionTriVec
 
typedef std::vector< collision_mesh_tCollisionMeshVec
 
typedef std::vector< collision_box_t * > CollisionBoxPtrVec
 
typedef std::vector< AddonPartConflictAddonPartConflictVec
 
typedef std::map< ScriptUnitId_t, ScriptUnitScriptUnitMap
 
typedef BitMask_t GetFuncFlags_t
 Flags for RoR::ScriptEngine::getFunctionByDeclAndLogCandidates() More...
 
typedef std::vector< SurveyMapEntitySurveyMapEntityVec
 
typedef RefCountingObjectPtr< GenericDocumentGenericDocumentPtr
 
typedef RefCountingObjectPtr< GenericDocContextGenericDocContextPtr
 

Enumerations

enum  MsgType {
  MSG_INVALID, MSG_APP_SHUTDOWN_REQUESTED, MSG_APP_SCREENSHOT_REQUESTED, MSG_APP_DISPLAY_FULLSCREEN_REQUESTED,
  MSG_APP_DISPLAY_WINDOWED_REQUESTED, MSG_APP_MODCACHE_LOAD_REQUESTED, MSG_APP_MODCACHE_UPDATE_REQUESTED, MSG_APP_MODCACHE_PURGE_REQUESTED,
  MSG_APP_LOAD_SCRIPT_REQUESTED, MSG_APP_UNLOAD_SCRIPT_REQUESTED, MSG_APP_SCRIPT_THREAD_STATUS, MSG_APP_REINIT_INPUT_REQUESTED,
  MSG_NET_CONNECT_REQUESTED, MSG_NET_CONNECT_STARTED, MSG_NET_CONNECT_PROGRESS, MSG_NET_CONNECT_SUCCESS,
  MSG_NET_CONNECT_FAILURE, MSG_NET_SERVER_KICK, MSG_NET_DISCONNECT_REQUESTED, MSG_NET_USER_DISCONNECT,
  MSG_NET_RECV_ERROR, MSG_NET_REFRESH_SERVERLIST_SUCCESS, MSG_NET_REFRESH_SERVERLIST_FAILURE, MSG_NET_REFRESH_REPOLIST_SUCCESS,
  MSG_NET_OPEN_RESOURCE_SUCCESS, MSG_NET_REFRESH_REPOLIST_FAILURE, MSG_NET_FETCH_AI_PRESETS_SUCCESS, MSG_NET_FETCH_AI_PRESETS_FAILURE,
  MSG_SIM_PAUSE_REQUESTED, MSG_SIM_UNPAUSE_REQUESTED, MSG_SIM_LOAD_TERRN_REQUESTED, MSG_SIM_LOAD_SAVEGAME_REQUESTED,
  MSG_SIM_UNLOAD_TERRN_REQUESTED, MSG_SIM_SPAWN_ACTOR_REQUESTED, MSG_SIM_MODIFY_ACTOR_REQUESTED, MSG_SIM_DELETE_ACTOR_REQUESTED,
  MSG_SIM_SEAT_PLAYER_REQUESTED, MSG_SIM_TELEPORT_PLAYER_REQUESTED, MSG_SIM_HIDE_NET_ACTOR_REQUESTED, MSG_SIM_UNHIDE_NET_ACTOR_REQUESTED,
  MSG_SIM_SCRIPT_EVENT_TRIGGERED, MSG_SIM_SCRIPT_CALLBACK_QUEUED, MSG_SIM_ACTOR_LINKING_REQUESTED, MSG_SIM_ADD_FREEFORCE_REQUESTED,
  MSG_SIM_MODIFY_FREEFORCE_REQUESTED, MSG_SIM_REMOVE_FREEFORCE_REQUESTED, MSG_GUI_OPEN_MENU_REQUESTED, MSG_GUI_CLOSE_MENU_REQUESTED,
  MSG_GUI_OPEN_SELECTOR_REQUESTED, MSG_GUI_CLOSE_SELECTOR_REQUESTED, MSG_GUI_MP_CLIENTS_REFRESH, MSG_GUI_SHOW_MESSAGE_BOX_REQUESTED,
  MSG_GUI_HIDE_MESSAGE_BOX_REQUESTED, MSG_GUI_DOWNLOAD_PROGRESS, MSG_GUI_DOWNLOAD_FINISHED, MSG_GUI_REFRESH_TUNING_MENU_REQUESTED,
  MSG_EDI_MODIFY_GROUNDMODEL_REQUESTED, MSG_EDI_ENTER_TERRN_EDITOR_REQUESTED, MSG_EDI_LEAVE_TERRN_EDITOR_REQUESTED, MSG_EDI_LOAD_BUNDLE_REQUESTED,
  MSG_EDI_RELOAD_BUNDLE_REQUESTED, MSG_EDI_UNLOAD_BUNDLE_REQUESTED, MSG_EDI_CREATE_PROJECT_REQUESTED, MSG_EDI_MODIFY_PROJECT_REQUESTED,
  MSG_EDI_DELETE_PROJECT_REQUESTED
}
 Global gameplay message loop, see struct Message in GameContext.h. More...
 
enum  AppState {
  AppState::BOOTSTRAP, AppState::MAIN_MENU, AppState::SIMULATION, AppState::SHUTDOWN,
  AppState::PRINT_HELP_EXIT, AppState::PRINT_VERSION_EXIT
}
 
enum  MpState { MpState::DISABLED, MpState::CONNECTING, MpState::CONNECTED }
 
enum  SimState { SimState::OFF, SimState::RUNNING, SimState::PAUSED, SimState::EDITOR_MODE }
 
enum  SimGearboxMode {
  SimGearboxMode::AUTO, SimGearboxMode::SEMI_AUTO, SimGearboxMode::MANUAL, SimGearboxMode::MANUAL_STICK,
  SimGearboxMode::MANUAL_RANGES
}
 
enum  GfxShadowType { GfxShadowType::NONE, GfxShadowType::PSSM }
 
enum  GfxExtCamMode { GfxExtCamMode::NONE, GfxExtCamMode::STATIC, GfxExtCamMode::PITCHING }
 
enum  GfxTexFilter { GfxTexFilter::NONE, GfxTexFilter::BILINEAR, GfxTexFilter::TRILINEAR, GfxTexFilter::ANISOTROPIC }
 
enum  GfxVegetation { GfxVegetation::NONE, GfxVegetation::x20PERC, GfxVegetation::x50PERC, GfxVegetation::FULL }
 
enum  GfxFlaresMode {
  GfxFlaresMode::NONE, GfxFlaresMode::NO_LIGHTSOURCES, GfxFlaresMode::CURR_VEHICLE_HEAD_ONLY, GfxFlaresMode::ALL_VEHICLES_HEAD_ONLY,
  GfxFlaresMode::ALL_VEHICLES_ALL_LIGHTS
}
 
enum  GfxWaterMode {
  GfxWaterMode::NONE, GfxWaterMode::BASIC, GfxWaterMode::REFLECT, GfxWaterMode::FULL_FAST,
  GfxWaterMode::FULL_HQ, GfxWaterMode::HYDRAX
}
 
enum  GfxSkyMode { GfxSkyMode::SANDSTORM, GfxSkyMode::CAELUM, GfxSkyMode::SKYX }
 
enum  IoInputGrabMode { IoInputGrabMode::NONE, IoInputGrabMode::ALL, IoInputGrabMode::DYNAMIC }
 
enum  SimResetMode { SimResetMode::HARD = 0, SimResetMode::SOFT = 1 }
 
enum  VisibilityMasks { DEPTHMAP_ENABLED = BITMASK(1), DEPTHMAP_DISABLED = BITMASK(2), HIDE_MIRROR = BITMASK(3) }
 
enum  LoaderType {
  LT_None, LT_Terrain, LT_Vehicle, LT_Truck,
  LT_Car, LT_Boat, LT_Airplane, LT_Trailer,
  LT_Train, LT_Load, LT_Extension, LT_Skin,
  LT_AllBeam, LT_AddonPart, LT_Tuneup, LT_AssetPack
}
 < Search mode for ModCache::Query() & Operation mode for GUI::MainSelector More...
 
enum  HandleGenericExceptionFlags { HANDLEGENERICEXCEPTION_LOGFILE = BITMASK(1), HANDLEGENERICEXCEPTION_SCRIPTEVENT = BITMASK(2), HANDLEGENERICEXCEPTION_CONSOLE = BITMASK(3), HANDLEGENERICEXCEPTION_DEFAULT = HANDLEGENERICEXCEPTION_LOGFILE | HANDLEGENERICEXCEPTION_SCRIPTEVENT }
 < Flags for HandleGenericException() More...
 
enum  { MAX_SOUNDS_PER_SCRIPT = 16, MAX_INSTANCES_PER_GROUP = 256 }
 
enum  SoundTriggers {
  SS_TRIG_NONE = -1, SS_TRIG_ENGINE = 0, SS_TRIG_AEROENGINE1, SS_TRIG_AEROENGINE2,
  SS_TRIG_AEROENGINE3, SS_TRIG_AEROENGINE4, SS_TRIG_HORN, SS_TRIG_BRAKE,
  SS_TRIG_PUMP, SS_TRIG_STARTER, SS_TRIG_TURBOBOV, SS_TRIG_TURBOWASTEGATE,
  SS_TRIG_TURBOBACKFIRE, SS_TRIG_ALWAYSON, SS_TRIG_REPAIR, SS_TRIG_AIR,
  SS_TRIG_GPWS_APDISCONNECT, SS_TRIG_GPWS_10, SS_TRIG_GPWS_20, SS_TRIG_GPWS_30,
  SS_TRIG_GPWS_40, SS_TRIG_GPWS_50, SS_TRIG_GPWS_100, SS_TRIG_GPWS_PULLUP,
  SS_TRIG_GPWS_MINIMUMS, SS_TRIG_AIR_PURGE, SS_TRIG_SHIFT, SS_TRIG_GEARSLIDE,
  SS_TRIG_CREAK, SS_TRIG_BREAK, SS_TRIG_SCREETCH, SS_TRIG_PARK,
  SS_TRIG_AFTERBURNER1, SS_TRIG_AFTERBURNER2, SS_TRIG_AFTERBURNER3, SS_TRIG_AFTERBURNER4,
  SS_TRIG_AFTERBURNER5, SS_TRIG_AFTERBURNER6, SS_TRIG_AFTERBURNER7, SS_TRIG_AFTERBURNER8,
  SS_TRIG_AEROENGINE5, SS_TRIG_AEROENGINE6, SS_TRIG_AEROENGINE7, SS_TRIG_AEROENGINE8,
  SS_TRIG_AOA, SS_TRIG_IGNITION, SS_TRIG_REVERSE_GEAR, SS_TRIG_TURN_SIGNAL,
  SS_TRIG_TURN_SIGNAL_TICK, SS_TRIG_TURN_SIGNAL_WARN_TICK, SS_TRIG_ALB_ACTIVE, SS_TRIG_TC_ACTIVE,
  SS_TRIG_AVICHAT01, SS_TRIG_AVICHAT02, SS_TRIG_AVICHAT03, SS_TRIG_AVICHAT04,
  SS_TRIG_AVICHAT05, SS_TRIG_AVICHAT06, SS_TRIG_AVICHAT07, SS_TRIG_AVICHAT08,
  SS_TRIG_AVICHAT09, SS_TRIG_AVICHAT10, SS_TRIG_AVICHAT11, SS_TRIG_AVICHAT12,
  SS_TRIG_AVICHAT13, SS_TRIG_LINKED_COMMAND, SS_TRIG_MAIN_MENU, SS_MAX_TRIG
}
 
enum  ModulationSources {
  SS_MOD_NONE, SS_MOD_ENGINE, SS_MOD_TURBO, SS_MOD_AEROENGINE1,
  SS_MOD_AEROENGINE2, SS_MOD_AEROENGINE3, SS_MOD_AEROENGINE4, SS_MOD_WHEELSPEED,
  SS_MOD_INJECTOR, SS_MOD_TORQUE, SS_MOD_GEARBOX, SS_MOD_CREAK,
  SS_MOD_BREAK, SS_MOD_SCREETCH, SS_MOD_PUMP, SS_MOD_THROTTLE1,
  SS_MOD_THROTTLE2, SS_MOD_THROTTLE3, SS_MOD_THROTTLE4, SS_MOD_THROTTLE5,
  SS_MOD_THROTTLE6, SS_MOD_THROTTLE7, SS_MOD_THROTTLE8, SS_MOD_AEROENGINE5,
  SS_MOD_AEROENGINE6, SS_MOD_AEROENGINE7, SS_MOD_AEROENGINE8, SS_MOD_AIRSPEED,
  SS_MOD_AOA, SS_MOD_LINKED_COMMANDRATE, SS_MOD_MUSIC_VOLUME, SS_MAX_MOD
}
 
enum  SoundLinkTypes {
  SL_DEFAULT, SL_COMMAND, SL_HYDRO, SL_COLLISION,
  SL_SHOCKS, SL_BRAKES, SL_ROPES, SL_TIES,
  SL_PARTICLES, SL_AXLES, SL_FLARES, SL_FLEXBODIES,
  SL_EXHAUSTS, SL_VIDEOCAMERA, SL_MAX
}
 
enum  scriptEvents {
  SE_EVENTBOX_ENTER = BITMASK(1), SE_EVENTBOX_EXIT = BITMASK(2), SE_TRUCK_ENTER = BITMASK(3), SE_TRUCK_EXIT = BITMASK(4),
  SE_TRUCK_ENGINE_DIED = BITMASK(5), SE_TRUCK_ENGINE_FIRE = BITMASK(6), SE_TRUCK_TOUCHED_WATER = BITMASK(7), SE_TRUCK_LIGHT_TOGGLE = BITMASK(8),
  SE_TRUCK_TIE_TOGGLE = BITMASK(9), SE_TRUCK_PARKINGBRAKE_TOGGLE = BITMASK(10), SE_TRUCK_BEACONS_TOGGLE = BITMASK(11), SE_TRUCK_CPARTICLES_TOGGLE = BITMASK(12),
  SE_GENERIC_NEW_TRUCK = BITMASK(13), SE_GENERIC_DELETED_TRUCK = BITMASK(14), SE_TRUCK_RESET = BITMASK(15), SE_TRUCK_TELEPORT = BITMASK(16),
  SE_TRUCK_MOUSE_GRAB = BITMASK(17), SE_ANGELSCRIPT_MANIPULATIONS = BITMASK(18), SE_ANGELSCRIPT_MSGCALLBACK = BITMASK(19), SE_ANGELSCRIPT_LINECALLBACK = BITMASK(20),
  SE_ANGELSCRIPT_EXCEPTIONCALLBACK = BITMASK(21), SE_ANGELSCRIPT_THREAD_STATUS = BITMASK(22), SE_GENERIC_MESSAGEBOX_CLICK = BITMASK(23), SE_GENERIC_EXCEPTION_CAUGHT = BITMASK(24),
  SE_GENERIC_MODCACHE_ACTIVITY = BITMASK(25), SE_GENERIC_TRUCK_LINKING_CHANGED = BITMASK(26), SE_ALL_EVENTS = 0xffffffff, SE_NO_EVENTS = 0
}
 This enum describes what events are existing. The script can register to receive events. More...
 
enum  angelScriptManipulationType { ASMANIP_CONSOLE_SNIPPET_EXECUTED = 0, ASMANIP_SCRIPT_LOADED, ASMANIP_SCRIPT_UNLOADING }
 Argument #2 of script event SE_ANGELSCRIPT_MANIPULATIONS More...
 
enum  angelScriptThreadStatus { ASTHREADSTATUS_NONE, ASTHREADSTATUS_CURLSTRING_PROGRESS, ASTHREADSTATUS_CURLSTRING_SUCCESS, ASTHREADSTATUS_CURLSTRING_FAILURE }
 
enum  modCacheActivityType {
  MODCACHEACTIVITY_NONE, MODCACHEACTIVITY_ENTRY_ADDED, MODCACHEACTIVITY_ENTRY_MODIFIED, MODCACHEACTIVITY_ENTRY_DELETED,
  MODCACHEACTIVITY_BUNDLE_LOADED, MODCACHEACTIVITY_BUNDLE_RELOADED, MODCACHEACTIVITY_BUNDLE_UNLOADED
}
 Argument #2 of script event RoR::SE_GENERIC_MODCACHE_ACTIVITY More...
 
enum  Ai_events { AI_HORN, AI_LIGHTSTOGGLE, AI_WAIT_SECONDS, AI_BEACONSTOGGLE }
 Enum with AI events. More...
 
enum  Ai_values { AI_SPEED, AI_POWER }
 Enum with AI values that can be set. More...
 
enum  VideoCamState { VideoCamState::VCSTATE_INVALID, VideoCamState::VCSTATE_DISABLED, VideoCamState::VCSTATE_ENABLED_OFFLINE, VideoCamState::VCSTATE_ENABLED_ONLINE }
 
enum  DebugViewType {
  DebugViewType::DEBUGVIEW_NONE, DebugViewType::DEBUGVIEW_SKELETON, DebugViewType::DEBUGVIEW_NODES, DebugViewType::DEBUGVIEW_BEAMS,
  DebugViewType::DEBUGVIEW_WHEELS, DebugViewType::DEBUGVIEW_SHOCKS, DebugViewType::DEBUGVIEW_ROTATORS, DebugViewType::DEBUGVIEW_SLIDENODES,
  DebugViewType::DEBUGVIEW_SUBMESH
}
 
enum  WheelSide : char { WheelSide::INVALID = 'n', WheelSide::RIGHT = 'r', WheelSide::LEFT = 'l' }
 Used by rig-def/addonpart/tuneup formats to specify wheel rim mesh orientation. More...
 
enum  ShifterPropAnim {
  SHIFTER_INVALID = 0, SHIFTERMAN1 = 1, SHIFTERMAN2 = 2, SHIFTERSEQ = 3,
  SHIFTERLIN = 4, AUTOSHIFTERLIN = 5
}
 < PropAnim::animOpt3 values for PROP_ANIM_FLAG_SHIFTER More...
 
enum  VideoCamType {
  VCTYPE_INVALID, VCTYPE_VIDEOCAM, VCTYPE_TRACKING_VIDEOCAM, VCTYPE_MIRROR,
  VCTYPE_MIRROR_PROP_LEFT, VCTYPE_MIRROR_PROP_RIGHT
}
 
enum  {
  DC_BOOL, DC_INT, DC_FLOAT, DC_CHAR,
  DC_INVALID
}
 
enum  DashData {
  DD_ENGINE_RPM, DD_ENGINE_SPEEDO_KPH, DD_ENGINE_SPEEDO_MPH, DD_ENGINE_TURBO,
  DD_ENGINE_IGNITION, DD_ENGINE_BATTERY, DD_ENGINE_CLUTCH_WARNING, DD_ENGINE_GEAR,
  DD_ENGINE_NUM_GEAR, DD_ENGINE_GEAR_STRING, DD_ENGINE_AUTOGEAR_STRING, DD_ENGINE_AUTO_GEAR,
  DD_ENGINE_CLUTCH, DD_BRAKE, DD_ACCELERATOR, DD_ROLL,
  DD_ROLL_CORR, DD_ROLL_CORR_ACTIVE, DD_PITCH, DD_PARKINGBRAKE,
  DD_LOCKED, DD_LOW_PRESSURE, DD_TRACTIONCONTROL_MODE, DD_ANTILOCKBRAKE_MODE,
  DD_TIES_MODE, DD_SCREW_THROTTLE_0, DD_SCREW_THROTTLE_1, DD_SCREW_THROTTLE_2,
  DD_SCREW_THROTTLE_3, DD_SCREW_THROTTLE_4, DD_SCREW_THROTTLE_5, DD_SCREW_STEER_0,
  DD_SCREW_STEER_1, DD_SCREW_STEER_2, DD_SCREW_STEER_3, DD_SCREW_STEER_4,
  DD_SCREW_STEER_5, DD_WATER_DEPTH, DD_WATER_SPEED, DD_AEROENGINE_THROTTLE_0,
  DD_AEROENGINE_THROTTLE_1, DD_AEROENGINE_THROTTLE_2, DD_AEROENGINE_THROTTLE_3, DD_AEROENGINE_THROTTLE_4,
  DD_AEROENGINE_THROTTLE_5, DD_AEROENGINE_FAILED_0, DD_AEROENGINE_FAILED_1, DD_AEROENGINE_FAILED_2,
  DD_AEROENGINE_FAILED_3, DD_AEROENGINE_FAILED_4, DD_AEROENGINE_FAILED_5, DD_AEROENGINE_RPM_0,
  DD_AEROENGINE_RPM_1, DD_AEROENGINE_RPM_2, DD_AEROENGINE_RPM_3, DD_AEROENGINE_RPM_4,
  DD_AEROENGINE_RPM_5, DD_AIRSPEED, DD_WING_AOA_0, DD_WING_AOA_1,
  DD_WING_AOA_2, DD_WING_AOA_3, DD_WING_AOA_4, DD_WING_AOA_5,
  DD_ALTITUDE, DD_ALTITUDE_STRING, DD_ODOMETER_TOTAL, DD_ODOMETER_USER,
  DD_CUSTOM_LIGHT1, DD_CUSTOM_LIGHT2, DD_CUSTOM_LIGHT3, DD_CUSTOM_LIGHT4,
  DD_CUSTOM_LIGHT5, DD_CUSTOM_LIGHT6, DD_CUSTOM_LIGHT7, DD_CUSTOM_LIGHT8,
  DD_CUSTOM_LIGHT9, DD_CUSTOM_LIGHT10, DD_HEADLIGHTS, DD_HIGHBEAMS,
  DD_FOGLIGHTS, DD_SIDELIGHTS, DD_BRAKE_LIGHTS, DD_REVERSE_LIGHT,
  DD_BEACONS, DD_LIGHTS_LEGACY, DD_SIGNAL_TURNLEFT, DD_SIGNAL_TURNRIGHT,
  DD_SIGNAL_WARNING, DD_MAX
}
 
enum  NetCharacterCmd { CHARACTER_CMD_INVALID, CHARACTER_CMD_POSITION, CHARACTER_CMD_ATTACH, CHARACTER_CMD_DETACH }
 
enum  DiffType {
  SPLIT_DIFF = 0, OPEN_DIFF, VISCOUS_DIFF, LOCKED_DIFF,
  INVALID_DIFF
}
 
enum  CollisionEventFilter : short {
  EVENT_NONE = 0, EVENT_ALL, EVENT_AVATAR, EVENT_TRUCK,
  EVENT_TRUCK_WHEELS, EVENT_AIRPLANE, EVENT_BOAT
}
 Specified in terrain object (.ODEF) file, syntax: 'event <type> <filter>'. More...
 
enum  ExtCameraMode { ExtCameraMode::INVALID = -1, ExtCameraMode::CLASSIC = 0, ExtCameraMode::CINECAM = 1, ExtCameraMode::NODE = 2 }
 
enum  BeamType : short { BEAM_NORMAL, BEAM_HYDRO, BEAM_VIRTUAL }
 
enum  HookState { UNLOCKED, PRELOCK, LOCKED }
 
enum  ActorType {
  NOT_DRIVEABLE = 0, TRUCK = 1, AIRPLANE = 2, BOAT = 3,
  MACHINE = 4, AI = 5
}
 < Aka 'Driveable' More...
 
enum  SpecialBeam : short {
  NOSHOCK, SHOCK1, SHOCK2, SHOCK3,
  TRIGGER, SUPPORTBEAM, ROPE
}
 
enum  BlinkType { BLINK_NONE, BLINK_LEFT, BLINK_RIGHT, BLINK_WARN }
 < Turn signal More...
 
enum  HydroFlags {
  HYDRO_FLAG_SPEED = BITMASK(1), HYDRO_FLAG_DIR = BITMASK(2), HYDRO_FLAG_AILERON = BITMASK(3), HYDRO_FLAG_RUDDER = BITMASK(4),
  HYDRO_FLAG_ELEVATOR = BITMASK(5), HYDRO_FLAG_REV_AILERON = BITMASK(6), HYDRO_FLAG_REV_RUDDER = BITMASK(7), HYDRO_FLAG_REV_ELEVATOR = BITMASK(8)
}
 
enum  AnimFlags {
  ANIM_FLAG_AIRSPEED = BITMASK(1), ANIM_FLAG_VVI = BITMASK(2), ANIM_FLAG_ALTIMETER = BITMASK(3), ANIM_FLAG_AOA = BITMASK(4),
  ANIM_FLAG_FLAP = BITMASK(5), ANIM_FLAG_AIRBRAKE = BITMASK(6), ANIM_FLAG_ROLL = BITMASK(7), ANIM_FLAG_PITCH = BITMASK(8),
  ANIM_FLAG_THROTTLE = BITMASK(9), ANIM_FLAG_RPM = BITMASK(10), ANIM_FLAG_ACCEL = BITMASK(11), ANIM_FLAG_BRAKE = BITMASK(12),
  ANIM_FLAG_CLUTCH = BITMASK(13), ANIM_FLAG_TACHO = BITMASK(14), ANIM_FLAG_SPEEDO = BITMASK(15), ANIM_FLAG_PBRAKE = BITMASK(16),
  ANIM_FLAG_TURBO = BITMASK(17), ANIM_FLAG_SHIFTER = BITMASK(18), ANIM_FLAG_AETORQUE = BITMASK(19), ANIM_FLAG_AEPITCH = BITMASK(20),
  ANIM_FLAG_AESTATUS = BITMASK(21), ANIM_FLAG_TORQUE = BITMASK(22), ANIM_FLAG_HEADING = BITMASK(23), ANIM_FLAG_DIFFLOCK = BITMASK(24),
  ANIM_FLAG_STEERING = BITMASK(25), ANIM_FLAG_EVENT = BITMASK(26), ANIM_FLAG_AILERONS = BITMASK(27), ANIM_FLAG_ARUDDER = BITMASK(28),
  ANIM_FLAG_BRUDDER = BITMASK(29), ANIM_FLAG_BTHROTTLE = BITMASK(30), ANIM_FLAG_PERMANENT = BITMASK(31), ANIM_FLAG_ELEVATORS = BITMASK(32)
}
 
enum  AnimModes {
  ANIM_MODE_ROTA_X = BITMASK(1), ANIM_MODE_ROTA_Y = BITMASK(2), ANIM_MODE_ROTA_Z = BITMASK(3), ANIM_MODE_OFFSET_X = BITMASK(4),
  ANIM_MODE_OFFSET_Y = BITMASK(5), ANIM_MODE_OFFSET_Z = BITMASK(6), ANIM_MODE_AUTOANIMATE = BITMASK(7), ANIM_MODE_NOFLIP = BITMASK(8),
  ANIM_MODE_BOUNCE = BITMASK(9)
}
 
enum  ShockFlags {
  SHOCK_FLAG_NORMAL = BITMASK(1), SHOCK_FLAG_LACTIVE = BITMASK(3), SHOCK_FLAG_RACTIVE = BITMASK(4), SHOCK_FLAG_ISSHOCK2 = BITMASK(5),
  SHOCK_FLAG_ISSHOCK3 = BITMASK(6), SHOCK_FLAG_SOFTBUMP = BITMASK(7), SHOCK_FLAG_ISTRIGGER = BITMASK(8), SHOCK_FLAG_TRG_BLOCKER = BITMASK(9),
  SHOCK_FLAG_TRG_CMD_SWITCH = BITMASK(10), SHOCK_FLAG_TRG_CMD_BLOCKER = BITMASK(11), SHOCK_FLAG_TRG_BLOCKER_A = BITMASK(12), SHOCK_FLAG_TRG_HOOK_UNLOCK = BITMASK(13),
  SHOCK_FLAG_TRG_HOOK_LOCK = BITMASK(14), SHOCK_FLAG_TRG_CONTINUOUS = BITMASK(15), SHOCK_FLAG_TRG_ENGINE = BITMASK(16)
}
 
enum  EngineTriggerType {
  TRG_ENGINE_CLUTCH = 0, TRG_ENGINE_BRAKE = 1, TRG_ENGINE_ACC = 2, TRG_ENGINE_RPM = 3,
  TRG_ENGINE_SHIFTUP = 4, TRG_ENGINE_SHIFTDOWN = 5
}
 
enum  FlareType : char {
  FlareType::NONE = 0, FlareType::HEADLIGHT = 'f', FlareType::HIGH_BEAM = 'h', FlareType::FOG_LIGHT = 'g',
  FlareType::TAIL_LIGHT = 't', FlareType::BRAKE_LIGHT = 'b', FlareType::REVERSE_LIGHT = 'R', FlareType::SIDELIGHT = 's',
  FlareType::BLINKER_LEFT = 'l', FlareType::BLINKER_RIGHT = 'r', FlareType::USER = 'u', FlareType::DASHBOARD = 'd'
}
 
enum  LocalizerType { LOCALIZER_VERTICAL, LOCALIZER_HORIZONTAL, LOCALIZER_NDB, LOCALIZER_VOR }
 
enum  ActorState {
  ActorState::LOCAL_SIMULATED, ActorState::NETWORKED_OK, ActorState::NETWORKED_HIDDEN, ActorState::LOCAL_REPLAY,
  ActorState::LOCAL_SLEEPING, ActorState::DISPOSED
}
 
enum  AeroEngineType { AeroEngineType::AE_UNKNOWN, AeroEngineType::AE_XPROP, AeroEngineType::AE_TURBOJET }
 
enum  FreeForceType { FreeForceType::DUMMY, FreeForceType::CONSTANT, FreeForceType::TOWARDS_COORDS, FreeForceType::TOWARDS_NODE }
 
enum  ActorLinkingRequestType {
  ActorLinkingRequestType::INVALID, ActorLinkingRequestType::LOAD_SAVEGAME, ActorLinkingRequestType::HOOK_LOCK, ActorLinkingRequestType::HOOK_UNLOCK,
  ActorLinkingRequestType::HOOK_TOGGLE, ActorLinkingRequestType::HOOK_MOUSE_TOGGLE, ActorLinkingRequestType::HOOK_RESET, ActorLinkingRequestType::TIE_TOGGLE,
  ActorLinkingRequestType::TIE_RESET, ActorLinkingRequestType::ROPE_TOGGLE, ActorLinkingRequestType::ROPE_RESET, ActorLinkingRequestType::SLIDENODE_TOGGLE
}
 
enum  CacheCategoryId {
  CID_None = 0, CID_Projects = 8000, CID_Tuneups = 8001, CID_Max = 9000,
  CID_Unsorted = 9990, CID_All = 9991, CID_Fresh = 9992, CID_Hidden = 9993,
  CID_SearchResults = 9994
}
 
enum  CacheSearchMethod {
  CacheSearchMethod::NONE, CacheSearchMethod::FULLTEXT, CacheSearchMethod::GUID, CacheSearchMethod::AUTHORS,
  CacheSearchMethod::WHEELS, CacheSearchMethod::FILENAME
}
 
enum  CacheValidity { CacheValidity::UNKNOWN, CacheValidity::VALID, CacheValidity::NEEDS_UPDATE, CacheValidity::NEEDS_REBUILD }
 
enum  CreateProjectRequestType { CreateProjectRequestType::NONE, CreateProjectRequestType::DEFAULT, CreateProjectRequestType::SAVE_TUNEUP }
 
enum  ModifyProjectRequestType {
  ModifyProjectRequestType::NONE, ModifyProjectRequestType::TUNEUP_USE_ADDONPART_SET, ModifyProjectRequestType::TUNEUP_USE_ADDONPART_RESET, ModifyProjectRequestType::TUNEUP_FORCEREMOVE_PROP_SET,
  ModifyProjectRequestType::TUNEUP_FORCEREMOVE_PROP_RESET, ModifyProjectRequestType::TUNEUP_FORCEREMOVE_FLEXBODY_SET, ModifyProjectRequestType::TUNEUP_FORCEREMOVE_FLEXBODY_RESET, ModifyProjectRequestType::TUNEUP_FORCED_WHEEL_SIDE_SET,
  ModifyProjectRequestType::TUNEUP_FORCED_WHEEL_SIDE_RESET, ModifyProjectRequestType::TUNEUP_FORCEREMOVE_FLARE_SET, ModifyProjectRequestType::TUNEUP_FORCEREMOVE_FLARE_RESET, ModifyProjectRequestType::TUNEUP_FORCEREMOVE_EXHAUST_SET,
  ModifyProjectRequestType::TUNEUP_FORCEREMOVE_EXHAUST_RESET, ModifyProjectRequestType::TUNEUP_FORCEREMOVE_MANAGEDMAT_SET, ModifyProjectRequestType::TUNEUP_FORCEREMOVE_MANAGEDMAT_RESET, ModifyProjectRequestType::TUNEUP_PROTECTED_PROP_SET,
  ModifyProjectRequestType::TUNEUP_PROTECTED_PROP_RESET, ModifyProjectRequestType::TUNEUP_PROTECTED_FLEXBODY_SET, ModifyProjectRequestType::TUNEUP_PROTECTED_FLEXBODY_RESET, ModifyProjectRequestType::TUNEUP_PROTECTED_WHEEL_SET,
  ModifyProjectRequestType::TUNEUP_PROTECTED_WHEEL_RESET, ModifyProjectRequestType::TUNEUP_PROTECTED_FLARE_SET, ModifyProjectRequestType::TUNEUP_PROTECTED_FLARE_RESET, ModifyProjectRequestType::TUNEUP_PROTECTED_EXHAUST_SET,
  ModifyProjectRequestType::TUNEUP_PROTECTED_EXHAUST_RESET, ModifyProjectRequestType::TUNEUP_PROTECTED_MANAGEDMAT_SET, ModifyProjectRequestType::TUNEUP_PROTECTED_MANAGEDMAT_RESET, ModifyProjectRequestType::PROJECT_LOAD_TUNEUP,
  ModifyProjectRequestType::PROJECT_RESET_TUNEUP
}
 
enum  ScriptCategory { ScriptCategory::INVALID, ScriptCategory::ACTOR, ScriptCategory::TERRAIN, ScriptCategory::CUSTOM }
 Note: Either of these can be loaded from script using game.pushMessage(MSG_APP_LOAD_SCRIPT_REQUESTED...) More...
 
enum  CVarFlags {
  CVAR_TYPE_BOOL = BITMASK(1), CVAR_TYPE_INT = BITMASK(2), CVAR_TYPE_FLOAT = BITMASK(3), CVAR_ARCHIVE = BITMASK(4),
  CVAR_NO_LOG = BITMASK(5)
}
 
enum  RoadType {
  RoadType::ROAD_AUTOMATIC, RoadType::ROAD_FLAT, RoadType::ROAD_LEFT, RoadType::ROAD_RIGHT,
  RoadType::ROAD_BOTH, RoadType::ROAD_BRIDGE, RoadType::ROAD_MONORAIL
}
 
enum  TextureFit {
  TextureFit::TEXFIT_NONE, TextureFit::TEXFIT_BRICKWALL, TextureFit::TEXFIT_ROADS1, TextureFit::TEXFIT_ROADS2,
  TextureFit::TEXFIT_ROAD, TextureFit::TEXFIT_ROADS3, TextureFit::TEXFIT_ROADS4, TextureFit::TEXFIT_CONCRETEWALL,
  TextureFit::TEXFIT_CONCRETEWALLI, TextureFit::TEXFIT_CONCRETETOP, TextureFit::TEXFIT_CONCRETEUNDER
}
 
enum  TokenType {
  TokenType::NONE, TokenType::LINEBREAK, TokenType::COMMENT, TokenType::STRING,
  TokenType::NUMBER, TokenType::BOOL, TokenType::KEYWORD
}
 
enum  eventtypes {
  ET_NONE =0, ET_Keyboard, ET_MouseButton, ET_MouseAxisX,
  ET_MouseAxisY, ET_MouseAxisZ, ET_JoystickButton, ET_JoystickAxisAbs,
  ET_JoystickAxisRel, ET_JoystickPov, ET_JoystickSliderX, ET_JoystickSliderY,
  ET_END
}
 
enum  InputSourceType { InputSourceType::IST_ANY, InputSourceType::IST_DIGITAL, InputSourceType::IST_ANALOG }
 
enum  events {
  EV_AIRPLANE_AIRBRAKES_FULL =0, EV_AIRPLANE_AIRBRAKES_LESS, EV_AIRPLANE_AIRBRAKES_MORE, EV_AIRPLANE_AIRBRAKES_NONE,
  EV_AIRPLANE_BRAKE, EV_AIRPLANE_ELEVATOR_DOWN, EV_AIRPLANE_ELEVATOR_UP, EV_AIRPLANE_FLAPS_FULL,
  EV_AIRPLANE_FLAPS_LESS, EV_AIRPLANE_FLAPS_MORE, EV_AIRPLANE_FLAPS_NONE, EV_AIRPLANE_PARKING_BRAKE,
  EV_AIRPLANE_REVERSE, EV_AIRPLANE_RUDDER_LEFT, EV_AIRPLANE_RUDDER_RIGHT, EV_AIRPLANE_STEER_LEFT,
  EV_AIRPLANE_STEER_RIGHT, EV_AIRPLANE_THROTTLE, EV_AIRPLANE_THROTTLE_AXIS, EV_AIRPLANE_THROTTLE_DOWN,
  EV_AIRPLANE_THROTTLE_FULL, EV_AIRPLANE_THROTTLE_NO, EV_AIRPLANE_THROTTLE_UP, EV_AIRPLANE_TOGGLE_ENGINES,
  EV_BOAT_CENTER_RUDDER, EV_BOAT_REVERSE, EV_BOAT_STEER_LEFT, EV_BOAT_STEER_LEFT_AXIS,
  EV_BOAT_STEER_RIGHT, EV_BOAT_STEER_RIGHT_AXIS, EV_BOAT_THROTTLE_AXIS, EV_BOAT_THROTTLE_DOWN,
  EV_BOAT_THROTTLE_UP, EV_SKY_DECREASE_TIME, EV_SKY_DECREASE_TIME_FAST, EV_SKY_INCREASE_TIME,
  EV_SKY_INCREASE_TIME_FAST, EV_CAMERA_CHANGE, EV_CAMERA_DOWN, EV_CAMERA_FREE_MODE,
  EV_CAMERA_FREE_MODE_FIX, EV_CAMERA_LOOKBACK, EV_CAMERA_RESET, EV_CAMERA_ROTATE_DOWN,
  EV_CAMERA_ROTATE_LEFT, EV_CAMERA_ROTATE_RIGHT, EV_CAMERA_ROTATE_UP, EV_CAMERA_UP,
  EV_CAMERA_ZOOM_IN, EV_CAMERA_ZOOM_IN_FAST, EV_CAMERA_ZOOM_OUT, EV_CAMERA_ZOOM_OUT_FAST,
  EV_CHARACTER_BACKWARDS, EV_CHARACTER_FORWARD, EV_CHARACTER_JUMP, EV_CHARACTER_LEFT,
  EV_CHARACTER_RIGHT, EV_CHARACTER_ROT_DOWN, EV_CHARACTER_ROT_UP, EV_CHARACTER_RUN,
  EV_CHARACTER_SIDESTEP_LEFT, EV_CHARACTER_SIDESTEP_RIGHT, EV_COMMANDS_01, EV_COMMANDS_02,
  EV_COMMANDS_03, EV_COMMANDS_04, EV_COMMANDS_05, EV_COMMANDS_06,
  EV_COMMANDS_07, EV_COMMANDS_08, EV_COMMANDS_09, EV_COMMANDS_10,
  EV_COMMANDS_11, EV_COMMANDS_12, EV_COMMANDS_13, EV_COMMANDS_14,
  EV_COMMANDS_15, EV_COMMANDS_16, EV_COMMANDS_17, EV_COMMANDS_18,
  EV_COMMANDS_19, EV_COMMANDS_20, EV_COMMANDS_21, EV_COMMANDS_22,
  EV_COMMANDS_23, EV_COMMANDS_24, EV_COMMANDS_25, EV_COMMANDS_26,
  EV_COMMANDS_27, EV_COMMANDS_28, EV_COMMANDS_29, EV_COMMANDS_30,
  EV_COMMANDS_31, EV_COMMANDS_32, EV_COMMANDS_33, EV_COMMANDS_34,
  EV_COMMANDS_35, EV_COMMANDS_36, EV_COMMANDS_37, EV_COMMANDS_38,
  EV_COMMANDS_39, EV_COMMANDS_40, EV_COMMANDS_41, EV_COMMANDS_42,
  EV_COMMANDS_43, EV_COMMANDS_44, EV_COMMANDS_45, EV_COMMANDS_46,
  EV_COMMANDS_47, EV_COMMANDS_48, EV_COMMANDS_49, EV_COMMANDS_50,
  EV_COMMANDS_51, EV_COMMANDS_52, EV_COMMANDS_53, EV_COMMANDS_54,
  EV_COMMANDS_55, EV_COMMANDS_56, EV_COMMANDS_57, EV_COMMANDS_58,
  EV_COMMANDS_59, EV_COMMANDS_60, EV_COMMANDS_61, EV_COMMANDS_62,
  EV_COMMANDS_63, EV_COMMANDS_64, EV_COMMANDS_65, EV_COMMANDS_66,
  EV_COMMANDS_67, EV_COMMANDS_68, EV_COMMANDS_69, EV_COMMANDS_70,
  EV_COMMANDS_71, EV_COMMANDS_72, EV_COMMANDS_73, EV_COMMANDS_74,
  EV_COMMANDS_75, EV_COMMANDS_76, EV_COMMANDS_77, EV_COMMANDS_78,
  EV_COMMANDS_79, EV_COMMANDS_80, EV_COMMANDS_81, EV_COMMANDS_82,
  EV_COMMANDS_83, EV_COMMANDS_84, EV_COMMON_ACCELERATE_SIMULATION, EV_COMMON_DECELERATE_SIMULATION,
  EV_COMMON_RESET_SIMULATION_PACE, EV_COMMON_AUTOLOCK, EV_COMMON_CONSOLE_TOGGLE, EV_COMMON_ENTER_CHATMODE,
  EV_COMMON_ENTER_OR_EXIT_TRUCK, EV_COMMON_ENTER_NEXT_TRUCK, EV_COMMON_ENTER_PREVIOUS_TRUCK, EV_COMMON_REMOVE_CURRENT_TRUCK,
  EV_COMMON_RESPAWN_LAST_TRUCK, EV_COMMON_FOV_LESS, EV_COMMON_FOV_MORE, EV_COMMON_FOV_RESET,
  EV_COMMON_FULLSCREEN_TOGGLE, EV_COMMON_HIDE_GUI, EV_COMMON_TOGGLE_DASHBOARD, EV_COMMON_LOCK,
  EV_COMMON_NETCHATDISPLAY, EV_COMMON_NETCHATMODE, EV_COMMON_OUTPUT_POSITION, EV_COMMON_GET_NEW_VEHICLE,
  EV_COMMON_PRESSURE_LESS, EV_COMMON_PRESSURE_MORE, EV_COMMON_QUICKLOAD, EV_COMMON_QUICKSAVE,
  EV_COMMON_QUIT_GAME, EV_COMMON_REPAIR_TRUCK, EV_COMMON_LIVE_REPAIR_MODE, EV_COMMON_REPLAY_BACKWARD,
  EV_COMMON_REPLAY_FAST_BACKWARD, EV_COMMON_REPLAY_FAST_FORWARD, EV_COMMON_REPLAY_FORWARD, EV_COMMON_RESCUE_TRUCK,
  EV_COMMON_RESET_TRUCK, EV_COMMON_TOGGLE_RESET_MODE, EV_COMMON_ROPELOCK, EV_COMMON_SAVE_TERRAIN,
  EV_COMMON_SCREENSHOT, EV_COMMON_SCREENSHOT_BIG, EV_COMMON_SECURE_LOAD, EV_COMMON_SEND_CHAT,
  EV_COMMON_TOGGLE_DEBUG_VIEW, EV_COMMON_CYCLE_DEBUG_VIEWS, EV_COMMON_TOGGLE_TERRAIN_EDITOR, EV_COMMON_TOGGLE_CUSTOM_PARTICLES,
  EV_COMMON_TOGGLE_MAT_DEBUG, EV_COMMON_TOGGLE_REPLAY_MODE, EV_COMMON_TOGGLE_PHYSICS, EV_COMMON_TOGGLE_STATS,
  EV_COMMON_TOGGLE_TRUCK_BEACONS, EV_COMMON_CYCLE_TRUCK_LIGHTS, EV_COMMON_TOGGLE_TRUCK_LOW_BEAMS, EV_COMMON_TOGGLE_TRUCK_HIGH_BEAMS,
  EV_COMMON_TOGGLE_TRUCK_FOG_LIGHTS, EV_COMMON_TRUCK_INFO, EV_COMMON_TRUCK_DESCRIPTION, EV_COMMON_TRUCK_REMOVE,
  EV_GRASS_LESS, EV_GRASS_MORE, EV_GRASS_MOST, EV_GRASS_NONE,
  EV_GRASS_SAVE, EV_MENU_DOWN, EV_MENU_LEFT, EV_MENU_RIGHT,
  EV_MENU_SELECT, EV_MENU_UP, EV_SURVEY_MAP_TOGGLE_ICONS, EV_SURVEY_MAP_CYCLE,
  EV_SURVEY_MAP_TOGGLE, EV_SURVEY_MAP_ZOOM_IN, EV_SURVEY_MAP_ZOOM_OUT, EV_TRUCK_ACCELERATE,
  EV_TRUCK_ACCELERATE_MODIFIER_25, EV_TRUCK_ACCELERATE_MODIFIER_50, EV_TRUCK_ANTILOCK_BRAKE, EV_TRUCK_AUTOSHIFT_DOWN,
  EV_TRUCK_AUTOSHIFT_UP, EV_TRUCK_BLINK_LEFT, EV_TRUCK_BLINK_RIGHT, EV_TRUCK_BLINK_WARN,
  EV_TRUCK_BRAKE, EV_TRUCK_BRAKE_MODIFIER_25, EV_TRUCK_BRAKE_MODIFIER_50, EV_TRUCK_CRUISE_CONTROL,
  EV_TRUCK_CRUISE_CONTROL_ACCL, EV_TRUCK_CRUISE_CONTROL_DECL, EV_TRUCK_CRUISE_CONTROL_READJUST, EV_TRUCK_HORN,
  EV_TRUCK_LEFT_MIRROR_LEFT, EV_TRUCK_LEFT_MIRROR_RIGHT, EV_TRUCK_LIGHTTOGGLE01, EV_TRUCK_LIGHTTOGGLE02,
  EV_TRUCK_LIGHTTOGGLE03, EV_TRUCK_LIGHTTOGGLE04, EV_TRUCK_LIGHTTOGGLE05, EV_TRUCK_LIGHTTOGGLE06,
  EV_TRUCK_LIGHTTOGGLE07, EV_TRUCK_LIGHTTOGGLE08, EV_TRUCK_LIGHTTOGGLE09, EV_TRUCK_LIGHTTOGGLE10,
  EV_TRUCK_MANUAL_CLUTCH, EV_TRUCK_PARKING_BRAKE, EV_TRUCK_TRAILER_PARKING_BRAKE, EV_TRUCK_RIGHT_MIRROR_LEFT,
  EV_TRUCK_RIGHT_MIRROR_RIGHT, EV_TRUCK_SHIFT_DOWN, EV_TRUCK_SHIFT_GEAR01, EV_TRUCK_SHIFT_GEAR02,
  EV_TRUCK_SHIFT_GEAR03, EV_TRUCK_SHIFT_GEAR04, EV_TRUCK_SHIFT_GEAR05, EV_TRUCK_SHIFT_GEAR06,
  EV_TRUCK_SHIFT_GEAR07, EV_TRUCK_SHIFT_GEAR08, EV_TRUCK_SHIFT_GEAR09, EV_TRUCK_SHIFT_GEAR10,
  EV_TRUCK_SHIFT_GEAR11, EV_TRUCK_SHIFT_GEAR12, EV_TRUCK_SHIFT_GEAR13, EV_TRUCK_SHIFT_GEAR14,
  EV_TRUCK_SHIFT_GEAR15, EV_TRUCK_SHIFT_GEAR16, EV_TRUCK_SHIFT_GEAR17, EV_TRUCK_SHIFT_GEAR18,
  EV_TRUCK_SHIFT_GEAR_REVERSE, EV_TRUCK_SHIFT_HIGHRANGE, EV_TRUCK_SHIFT_LOWRANGE, EV_TRUCK_SHIFT_MIDRANGE,
  EV_TRUCK_SHIFT_NEUTRAL, EV_TRUCK_SHIFT_UP, EV_TRUCK_STARTER, EV_TRUCK_STEER_LEFT,
  EV_TRUCK_STEER_RIGHT, EV_TRUCK_SWITCH_SHIFT_MODES, EV_TRUCK_TOGGLE_CONTACT, EV_TRUCK_TOGGLE_FORWARDCOMMANDS,
  EV_TRUCK_TOGGLE_IMPORTCOMMANDS, EV_TRUCK_TOGGLE_INTER_AXLE_DIFF, EV_TRUCK_TOGGLE_INTER_WHEEL_DIFF, EV_TRUCK_TOGGLE_PHYSICS,
  EV_TRUCK_TOGGLE_TCASE_4WD_MODE, EV_TRUCK_TOGGLE_TCASE_GEAR_RATIO, EV_TRUCK_TOGGLE_VIDEOCAMERA, EV_TRUCK_TRACTION_CONTROL,
  EV_COMMON_QUICKSAVE_01, EV_COMMON_QUICKSAVE_02, EV_COMMON_QUICKSAVE_03, EV_COMMON_QUICKSAVE_04,
  EV_COMMON_QUICKSAVE_05, EV_COMMON_QUICKSAVE_06, EV_COMMON_QUICKSAVE_07, EV_COMMON_QUICKSAVE_08,
  EV_COMMON_QUICKSAVE_09, EV_COMMON_QUICKSAVE_10, EV_COMMON_QUICKLOAD_01, EV_COMMON_QUICKLOAD_02,
  EV_COMMON_QUICKLOAD_03, EV_COMMON_QUICKLOAD_04, EV_COMMON_QUICKLOAD_05, EV_COMMON_QUICKLOAD_06,
  EV_COMMON_QUICKLOAD_07, EV_COMMON_QUICKLOAD_08, EV_COMMON_QUICKLOAD_09, EV_COMMON_QUICKLOAD_10,
  EV_TRUCKEDIT_RELOAD, EV_ROAD_EDITOR_POINT_INSERT, EV_ROAD_EDITOR_POINT_SET_POS, EV_ROAD_EDITOR_POINT_GOTO,
  EV_ROAD_EDITOR_POINT_DELETE, EV_ROAD_EDITOR_REBUILD_MESH, EV_MODE_BEFORELAST, EV_MODE_LAST
}
 

Functions

void HandleGenericException (const std::string &from, BitMask_t flags)
 
void HandleMsgQueueException (MsgType from)
 
void Log (const char *msg)
 The ultimate, application-wide logging function. Adds a line (any length) in 'RoR.log' file. More...
 
void LogFormat (const char *format,...)
 Improved logging utility. Uses fixed 2Kb buffer. More...
 
std::string ToLocalizedString (SimGearboxMode e)
 
std::string ToLocalizedString (GfxFlaresMode e)
 
std::string ToLocalizedString (GfxShadowType e)
 
std::string ToLocalizedString (GfxSkyMode e)
 
std::string ToLocalizedString (GfxTexFilter e)
 
std::string ToLocalizedString (GfxVegetation e)
 
std::string ToLocalizedString (GfxWaterMode e)
 
std::string ToLocalizedString (GfxExtCamMode e)
 
std::string ToLocalizedString (IoInputGrabMode e)
 
std::string ToLocalizedString (SimResetMode e)
 
const char * MsgTypeToString (MsgType type)
 
void LoadingIndicatorCircle (const char *label, const float indicator_radius, const ImVec4 &main_color, const ImVec4 &backdrop_color, const int circle_count, const float speed)
 Draws animated loading spinner. More...
 
void DrawImageRotated (ImTextureID tex_id, ImVec2 center, ImVec2 size, float angle)
 Add rotated textured quad to ImDrawList, source: https://github.com/ocornut/imgui/issues/1982#issuecomment-408834301. More...
 
ImVec2 DrawColorMarkedText (ImDrawList *drawlist, ImVec2 text_cursor, ImVec4 default_color, float override_alpha, float wrap_width, std::string const &line)
 Draw multiline text with '#rrggbb' color markers. Returns total text size. More...
 
std::string StripColorMarksFromText (std::string const &text)
 
void ImTextWrappedColorMarked (std::string const &text)
 Prints multiline text with '#rrggbb' color markers. Behaves like ImGui::Text* functions. More...
 
bool DrawGCheckbox (CVar *cvar, const char *label)
 
void DrawGIntCheck (CVar *cvar, const char *label)
 
void DrawGIntBox (CVar *cvar, const char *label)
 
void DrawGIntSlider (CVar *cvar, const char *label, int v_min, int v_max)
 
void DrawGFloatSlider (CVar *cvar, const char *label, float v_min, float v_max)
 
void DrawGFloatBox (CVar *cvar, const char *label)
 
void DrawGTextEdit (CVar *cvar, const char *label, Str< 1000 > &buf)
 
void DrawGCombo (CVar *cvar, const char *label, const char *values)
 
Ogre::TexturePtr FetchIcon (const char *name)
 
ImDrawList * GetImDummyFullscreenWindow (const std::string &name="RoR_TransparentFullscreenWindow")
 
bool GetScreenPosFromWorldPos (Ogre::Vector3 const &world_pos, ImVec2 &out_screen)
 
void ImAddItemToComboboxString (std::string &target, std::string const &item)
 
void ImTerminateComboboxString (std::string &target)
 
void ImDrawEventHighlighted (events input_event)
 
bool ImDrawEventHighlightedButton (events input_event, bool *btn_hovered=nullptr, bool *btn_active=nullptr)
 
void ImDrawModifierKeyHighlighted (OIS::KeyCode key)
 
ImVec2 ImCalcEventHighlightedSize (events input_event)
 
bool ImButtonHoldToConfirm (const std::string &btn_idstr, const bool smallbutton, const float time_limit)
 
bool GetUrlAsString (const std::string &url, CURLcode &curl_result, long &response_code, std::string &response_payload)
 
bool GetUrlAsStringMQ (CurlTaskContext task)
 
Ogre::Vector3 primitiveCollision (node_t *node, Ogre::Vector3 velocity, float mass, Ogre::Vector3 normal, float dt, ground_model_t *gm, float penetration=0)
 
void ResolveInterActorCollisions (const float dt, PointColDetector &interPointCD, const int free_collcab, int collcabs[], int cabs[], collcab_rate_t inter_collcabrate[], node_t nodes[], const float collrange, ground_model_t &submesh_ground_model)
 
void ResolveIntraActorCollisions (const float dt, PointColDetector &intraPointCD, const int free_collcab, int collcabs[], int cabs[], collcab_rate_t intra_collcabrate[], node_t nodes[], const float collrange, ground_model_t &submesh_ground_model)
 
void RegisterActor (AngelScript::asIScriptEngine *engine)
 defined in ActorAngelscript.cpp More...
 
void RegisterVehicleAi (AngelScript::asIScriptEngine *engine)
 defined in VehicleAiAngelscript.cpp More...
 
void RegisterInputEngine (AngelScript::asIScriptEngine *engine)
 Registers RoR::InputEngine, defined in InputEngineAngelscript.cpp. More...
 
void RegisterConsole (AngelScript::asIScriptEngine *engine)
 Registers RoR::Console, defined in ConsoleAngelscript.cpp. More...
 
void RegisterLocalStorage (AngelScript::asIScriptEngine *engine)
 Registers RoR::LocalStorage, defined in LocalStorageAngelscript.cpp. More...
 
void RegisterGameScript (AngelScript::asIScriptEngine *engine)
 Registers RoR::GameScript, defined in GameScriptAngelscript.cpp. More...
 
void RegisterScriptEvents (AngelScript::asIScriptEngine *engine)
 Registers enum scriptEvents, defined in ScriptEventsAngelscript.cpp. More...
 
void RegisterImGuiBindings (AngelScript::asIScriptEngine *engine)
 defined in ImGuiAngelscript.cpp More...
 
void RegisterOgreObjects (AngelScript::asIScriptEngine *engine)
 defined in OgreAngelscript.cpp More...
 
void RegisterTerrain (AngelScript::asIScriptEngine *engine)
 Registers RoR::Terrain, defined in TerrainAngelscript.cpp. More...
 
void RegisterProceduralRoad (AngelScript::asIScriptEngine *engine)
 defined in ProceduralRoadAngelscript.cpp More...
 
void RegisterGenericFileFormat (AngelScript::asIScriptEngine *engine)
 defined in GenericFileFormatAngelscript.cpp More...
 
void RegisterMessageQueue (AngelScript::asIScriptEngine *engine)
 Registers enum MsgType, defined in MsgQueueAngelscript.cpp. More...
 
void RegisterSoundScript (AngelScript::asIScriptEngine *engine)
 defined in SoundScriptAngelscript.cpp More...
 
void RegisterCacheSystem (AngelScript::asIScriptEngine *engine)
 defined in CacheSystemAngelscript.cpp More...
 
void 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 * ScriptCategoryToString (ScriptCategory c)
 
template<typename T >
AngelScript::CScriptArray * VectorToScriptArray (const std::vector< T > &vec, const std::string &decl)
 
template<typename T , typename U >
AngelScript::CScriptArray * MapToScriptArray (std::map< T, U > &map, const std::string &decl)
 
template<typename ItorT >
AngelScript::CScriptArray * IterableMapToScriptArray (ItorT begin, ItorT end, const std::string &decl)
 
template<typename ItorT >
AngelScript::CScriptArray * IterableListToScriptArray (ItorT begin, ItorT end, const std::string &decl)
 
template<typename T >
bool GetValueFromScriptDict (const std::string &log_msg, AngelScript::CScriptDictionary *dict, bool required, std::string const &key, const char *decl, T &out_value)
 
template<class A , class B >
B * ScriptRefCast (A *a)
 
template<class A , class B >
B * ScriptRefCastNoCount (A *a)
 
bool FileExists (const char *path)
 Path must be UTF-8 encoded. More...
 
bool FolderExists (const char *path)
 Path must be UTF-8 encoded. More...
 
void CreateFolder (const char *path)
 Path must be UTF-8 encoded. More...
 
std::string GetUserHomeDirectory ()
 Returns UTF-8 path or empty string on error. More...
 
std::string GetExecutablePath ()
 Returns UTF-8 path or empty string on error. More...
 
void OpenUrlInDefaultBrowser (std::string const &url)
 
std::string GetParentDirectory (const char *path)
 Returns UTF-8 path without trailing slash. More...
 
std::time_t GetFileLastModifiedTime (std::string const &path)
 
bool FileExists (std::string const &path)
 
bool FolderExists (std::string const &path)
 
void CreateFolder (std::string const &path)
 
std::string PathCombine (std::string a, std::string b)
 
Ogre::String sha1sum (const char *key, int len)
 
Ogre::String HashData (const char *key, int len)
 
Ogre::UTFString tryConvertUTF (const char *buffer)
 
Ogre::UTFString formatBytes (double bytes)
 
std::time_t getTimeStamp ()
 
Ogre::String getVersionString (bool multiline=true)
 
void replaceString (std::string &str, std::string searchString, std::string replaceString)
 
Ogre::Real Round (Ogre::Real value, unsigned short ndigits=0)
 
std::string SanitizeUtf8String (std::string const &str_in)
 
std::string SanitizeUtf8CString (const char *start, const char *end=nullptr)
 
std::string & TrimStr (std::string &s)
 
std::string Sha1Hash (std::string const &data)
 
std::string JoinStrVec (Ogre::StringVector tokens, const std::string &delim)
 
template<class T , class A , class Predicate >
void EraseIf (std::vector< T, A > &c, Predicate pred)
 
bool IsDistanceWithin (Ogre::Vector3 const &a, Ogre::Vector3 const &b, float max)
 
std::string PrintMeshInfo (std::string const &title, Ogre::MeshPtr mesh)
 
void CvarAddFileToList (CVar *cvar, const std::string &filename)
 
void CvarRemoveFileFromList (CVar *cvar, const std::string &filename)
 
void SplitBundleQualifiedFilename (const std::string &bundleQualifiedFilename, std::string &out_bundleName, std::string &out_filename)
 

Variables

static const ActorInstanceID_t ACTORINSTANCEID_INVALID = 0
 
static const ScriptUnitId_t SCRIPTUNITID_INVALID = -1
 
static const PointidID_t POINTIDID_INVALID = -1
 
static const RefelemID_t REFELEMID_INVALID = -1
 
static const CacheEntryID_t CACHEENTRYID_INVALID = -1
 
static const NodeNum_t NODENUM_INVALID = std::numeric_limits<NodeNum_t>::max()
 
static const NodeNum_t NODENUM_MAX = std::numeric_limits<NodeNum_t>::max() - 1
 
static const WheelID_t WHEELID_INVALID = -1
 
static const PropID_t PROPID_INVALID = -1
 
static const FlexbodyID_t FLEXBODYID_INVALID = -1
 
static const FreeForceID_t FREEFORCEID_INVALID = -1
 
static const FlareID_t FLAREID_INVALID = -1
 
static const ExhaustID_t EXHAUSTID_INVALID = -1
 
static const CommandkeyID_t COMMANDKEYID_INVALID = 0
 
const PropAnimFlag_t PROP_ANIM_FLAG_AIRSPEED = BITMASK64(1)
 
const PropAnimFlag_t PROP_ANIM_FLAG_VVI = BITMASK64(2)
 
const PropAnimFlag_t PROP_ANIM_FLAG_ALTIMETER = BITMASK64(3)
 
const PropAnimFlag_t PROP_ANIM_FLAG_AOA = BITMASK64(4)
 
const PropAnimFlag_t PROP_ANIM_FLAG_FLAP = BITMASK64(5)
 
const PropAnimFlag_t PROP_ANIM_FLAG_AIRBRAKE = BITMASK64(6)
 
const PropAnimFlag_t PROP_ANIM_FLAG_ROLL = BITMASK64(7)
 
const PropAnimFlag_t PROP_ANIM_FLAG_PITCH = BITMASK64(8)
 
const PropAnimFlag_t PROP_ANIM_FLAG_THROTTLE = BITMASK64(9)
 
const PropAnimFlag_t PROP_ANIM_FLAG_RPM = BITMASK64(10)
 
const PropAnimFlag_t PROP_ANIM_FLAG_ACCEL = BITMASK64(11)
 
const PropAnimFlag_t PROP_ANIM_FLAG_BRAKE = BITMASK64(12)
 
const PropAnimFlag_t PROP_ANIM_FLAG_CLUTCH = BITMASK64(13)
 
const PropAnimFlag_t PROP_ANIM_FLAG_TACHO = BITMASK64(14)
 
const PropAnimFlag_t PROP_ANIM_FLAG_SPEEDO = BITMASK64(15)
 
const PropAnimFlag_t PROP_ANIM_FLAG_PBRAKE = BITMASK64(16)
 
const PropAnimFlag_t PROP_ANIM_FLAG_TURBO = BITMASK64(17)
 
const PropAnimFlag_t PROP_ANIM_FLAG_SHIFTER = BITMASK64(18)
 'shifterman1, shifterman2, sequential, shifterlin, autoshifterlin'; animOpt3: see RoR::ShifterPropAnim More...
 
const PropAnimFlag_t PROP_ANIM_FLAG_AETORQUE = BITMASK64(19)
 
const PropAnimFlag_t PROP_ANIM_FLAG_AEPITCH = BITMASK64(20)
 
const PropAnimFlag_t PROP_ANIM_FLAG_AESTATUS = BITMASK64(21)
 
const PropAnimFlag_t PROP_ANIM_FLAG_TORQUE = BITMASK64(22)
 
const PropAnimFlag_t PROP_ANIM_FLAG_HEADING = BITMASK64(23)
 
const PropAnimFlag_t PROP_ANIM_FLAG_DIFFLOCK = BITMASK64(24)
 
const PropAnimFlag_t PROP_ANIM_FLAG_STEERING = BITMASK64(25)
 
const PropAnimFlag_t PROP_ANIM_FLAG_EVENT = BITMASK64(26)
 
const PropAnimFlag_t PROP_ANIM_FLAG_AILERONS = BITMASK64(27)
 
const PropAnimFlag_t PROP_ANIM_FLAG_ARUDDER = BITMASK64(28)
 
const PropAnimFlag_t PROP_ANIM_FLAG_BRUDDER = BITMASK64(29)
 
const PropAnimFlag_t PROP_ANIM_FLAG_BTHROTTLE = BITMASK64(30)
 
const PropAnimFlag_t PROP_ANIM_FLAG_PERMANENT = BITMASK64(31)
 
const PropAnimFlag_t PROP_ANIM_FLAG_ELEVATORS = BITMASK64(32)
 
const PropAnimFlag_t PROP_ANIM_FLAG_DASHBOARD = BITMASK64(33)
 Used with dashboard system inputs, see enum DashData in file DashBoardManager.h. More...
 
const PropAnimFlag_t PROP_ANIM_FLAG_SIGNALSTALK = BITMASK64(34)
 Turn indicator stalk position (-1=left, 0=off, 1=right) More...
 
const PropAnimFlag_t PROP_ANIM_FLAG_GEAR = BITMASK64(35)
 'gearreverse' (animOpt3=-1), 'gearneutral' (animOpt3=0), 'gear#' (animOpt3=#) More...
 
const PropAnimMode_t PROP_ANIM_MODE_ROTA_X = BITMASK(1)
 
const PropAnimMode_t PROP_ANIM_MODE_ROTA_Y = BITMASK(2)
 
const PropAnimMode_t PROP_ANIM_MODE_ROTA_Z = BITMASK(3)
 
const PropAnimMode_t PROP_ANIM_MODE_OFFSET_X = BITMASK(4)
 
const PropAnimMode_t PROP_ANIM_MODE_OFFSET_Y = BITMASK(5)
 
const PropAnimMode_t PROP_ANIM_MODE_OFFSET_Z = BITMASK(6)
 
const PropAnimMode_t PROP_ANIM_MODE_AUTOANIMATE = BITMASK(7)
 
const PropAnimMode_t PROP_ANIM_MODE_NOFLIP = BITMASK(8)
 
const PropAnimMode_t PROP_ANIM_MODE_BOUNCE = BITMASK(9)
 
static CameraMode_t CAMERA_MODE_ALWAYS_HIDDEN = -3
 
static CameraMode_t CAMERA_MODE_ALWAYS_VISIBLE = -2
 
static CameraMode_t CAMERA_MODE_3RDPERSON_ONLY = -1
 
const size_t TUNEUP_BUF_SIZE = 2000
 
const GetFuncFlags_t GETFUNCFLAG_OPTIONAL = 0
 Only logs warning if candidate is found, to help modder find a typo. More...
 
const GetFuncFlags_t GETFUNCFLAG_REQUIRED = BITMASK(1)
 Always logs warning that function was not found. More...
 
const GetFuncFlags_t GETFUNCFLAG_SILENT = BITMASK(2)
 Never logs. More...
 
const std::string GETFUNC_DEFAULTEVENTCALLBACK_SIGFMT = "void {}(int, string, string, int)"
 
const std::string GETFUNC_DEFAULTEVENTCALLBACK_NAME = "defaultEventCallback"
 
const events EV_INVALID = (events)-1
 
char PATH_SLASH = '/'
 

Detailed Description

Author
Remake to DearIMGUI: Petr Ohlidal, 11/2019
Petr Ohlidal
Date
10/2019 Based on SimUtils - TruckInfo by Moncef Ben Slimane, 12/2014 Iconified buttons by tritonas00, 2021

Typedef Documentation

◆ ActorInstanceID_t

Unique sequentially generated ID of an actor in session. Use ActorManager::GetActorById()

Definition at line 37 of file ForwardDeclarations.h.

◆ ActorPtr

Definition at line 194 of file ForwardDeclarations.h.

◆ ActorPtrVec

typedef std::vector<ActorPtr> RoR::ActorPtrVec

Definition at line 210 of file ForwardDeclarations.h.

◆ AddonPartConflictVec

Definition at line 53 of file AddonPartFileFormat.h.

◆ CacheEntryID_t

typedef int RoR::CacheEntryID_t

index to CacheSystem::m_cache_entries, use RoR::CACHEENTRYNUM_INVALID as empty value.

Definition at line 49 of file ForwardDeclarations.h.

◆ CacheEntryPtr

Definition at line 197 of file ForwardDeclarations.h.

◆ CommandkeyID_t

typedef int RoR::CommandkeyID_t

Index into Actor::ar_commandkeys (BEWARE: indexed 1-MAX_COMMANDKEYS, 0 is invalid value, negative subscript of any size is acceptable, see class CmdKeyArray ).

Definition at line 74 of file ForwardDeclarations.h.

◆ dashData_t

◆ dataContainer_t

◆ ExhaustID_t

typedef int RoR::ExhaustID_t

Index into Actor::exhausts, use RoR::EXHAUSTID_INVALID as empty value.

Definition at line 71 of file ForwardDeclarations.h.

◆ FlareID_t

typedef int RoR::FlareID_t

Index into Actor::ar_flares, use RoR::FLAREID_INVALID as empty value.

Definition at line 68 of file ForwardDeclarations.h.

◆ FlexbodyID_t

typedef int RoR::FlexbodyID_t

Index to GfxActor::m_flexbodies, use RoR::FLEXBODYID_INVALID as empty value.

Definition at line 62 of file ForwardDeclarations.h.

◆ FreeForceID_t

typedef int RoR::FreeForceID_t

Unique sequentially generated ID of FreeForce; use ActorManager::GetFreeForceNextId().

Definition at line 65 of file ForwardDeclarations.h.

◆ GenericDocContextPtr

Definition at line 147 of file GenericFileFormat.h.

◆ GenericDocumentPtr

Definition at line 88 of file GenericFileFormat.h.

◆ LocalStoragePtr

Definition at line 198 of file ForwardDeclarations.h.

◆ NodeNum_t

typedef uint16_t RoR::NodeNum_t

Node position within Actor::ar_nodes; use RoR::NODENUM_INVALID as empty value.

Definition at line 52 of file ForwardDeclarations.h.

◆ PointidID_t

typedef int RoR::PointidID_t

index to PointColDetector::hit_pointid_list, use RoR::POINTIDID_INVALID as empty value.

Definition at line 43 of file ForwardDeclarations.h.

◆ ProceduralManagerPtr

Definition at line 202 of file ForwardDeclarations.h.

◆ ProceduralObjectPtr

Definition at line 200 of file ForwardDeclarations.h.

◆ ProceduralPointPtr

Definition at line 199 of file ForwardDeclarations.h.

◆ ProceduralRoadPtr

Definition at line 201 of file ForwardDeclarations.h.

◆ PropID_t

typedef int RoR::PropID_t

Index to GfxActor::m_props, use RoR::PROPID_INVALID as empty value.

Definition at line 59 of file ForwardDeclarations.h.

◆ RefelemID_t

typedef int RoR::RefelemID_t

index to PointColDetector::m_ref_list, use RoR::REFELEMID_INVALID as empty value.

Definition at line 46 of file ForwardDeclarations.h.

◆ ScriptUnitId_t

typedef int RoR::ScriptUnitId_t

Unique sequentially generated ID of a loaded and running scriptin session. Use ScriptEngine::getScriptUnit()

Definition at line 40 of file ForwardDeclarations.h.

◆ SoundPtr

Definition at line 203 of file ForwardDeclarations.h.

◆ SoundScriptInstancePtr

Definition at line 204 of file ForwardDeclarations.h.

◆ SoundScriptTemplatePtr

Definition at line 205 of file ForwardDeclarations.h.

◆ TerrainPtr

Definition at line 206 of file ForwardDeclarations.h.

◆ TuneupDefPtr

Definition at line 207 of file ForwardDeclarations.h.

◆ VehicleAIPtr

Definition at line 208 of file ForwardDeclarations.h.

◆ WheelID_t

typedef int RoR::WheelID_t

Index to Actor::ar_wheels, use RoR::WHEELID_INVALID as empty value.

Definition at line 56 of file ForwardDeclarations.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
DC_BOOL 
DC_INT 
DC_FLOAT 
DC_CHAR 
DC_INVALID 

Definition at line 53 of file DashBoardManager.h.

◆ ActorLinkingRequestType

Enumerator
INVALID 
LOAD_SAVEGAME 
HOOK_LOCK 
HOOK_UNLOCK 
HOOK_TOGGLE 
HOOK_MOUSE_TOGGLE 
HOOK_RESET 
TIE_TOGGLE 
TIE_RESET 
ROPE_TOGGLE 
ROPE_RESET 
SLIDENODE_TOGGLE 

Definition at line 894 of file SimData.h.

◆ Ai_events

Enum with AI events.

Enumerator
AI_HORN 
AI_LIGHTSTOGGLE 
AI_WAIT_SECONDS 
AI_BEACONSTOGGLE 

Definition at line 44 of file VehicleAI.h.

◆ Ai_values

Enum with AI values that can be set.

Enumerator
AI_SPEED 
AI_POWER 

Definition at line 55 of file VehicleAI.h.

◆ angelScriptManipulationType

Argument #2 of script event SE_ANGELSCRIPT_MANIPULATIONS

Enumerator
ASMANIP_CONSOLE_SNIPPET_EXECUTED 
ASMANIP_SCRIPT_LOADED 

Triggered after the script's main() completed; may trigger additional processing (for example, it delivers the *.mission file to mission system script).

ASMANIP_SCRIPT_UNLOADING 

Triggered before unloading the script to let it clean up (important for missions).

Definition at line 72 of file ScriptEvents.h.

◆ angelScriptThreadStatus

Enumerator
ASTHREADSTATUS_NONE 
ASTHREADSTATUS_CURLSTRING_PROGRESS 

Args of RoR::SE_ANGELSCRIPT_THREAD_STATUS: arg#1 type, arg#2 percentage, arg#3 unused, arg#4 unused, arg#5 progress message (formatted by RoR)

ASTHREADSTATUS_CURLSTRING_SUCCESS 

Args of RoR::SE_ANGELSCRIPT_THREAD_STATUS: arg#1 type, arg#2 HTTP code, arg#3 CURLcode, arg#4 unused, arg#5 payload.

ASTHREADSTATUS_CURLSTRING_FAILURE 

Args of RoR::SE_ANGELSCRIPT_THREAD_STATUS: arg#1 type, arg#2 HTTP code, arg#3 CURLcode, arg#4 unused, arg#5 message from curl_easy_strerror()

Definition at line 79 of file ScriptEvents.h.

◆ CacheCategoryId

Enumerator
CID_None 
CID_Projects 

For truck files under 'projects/' directory, to allow listing from editors.

CID_Tuneups 

For unsorted tuneup files.

CID_Max 

SPECIAL VALUE - Maximum allowed to be present in any mod files.

CID_Unsorted 
CID_All 
CID_Fresh 
CID_Hidden 
CID_SearchResults 

Definition at line 147 of file CacheSystem.h.

◆ CacheSearchMethod

Enumerator
NONE 

Ignore the search string and find all.

FULLTEXT 

Partial match in: name, filename, description, author name/mail.

GUID 

Partial match in: guid.

AUTHORS 

Partial match in: author name/email.

WHEELS 

Wheel configuration, i.e. 4x4.

FILENAME 

Partial match in file name.

Definition at line 172 of file CacheSystem.h.

◆ CacheValidity

enum RoR::CacheValidity
strong
Enumerator
UNKNOWN 
VALID 
NEEDS_UPDATE 
NEEDS_REBUILD 

Definition at line 203 of file CacheSystem.h.

◆ CollisionEventFilter

Specified in terrain object (.ODEF) file, syntax: 'event <type> <filter>'.

Enumerator
EVENT_NONE 

Invalid value.

EVENT_ALL 

(default) ~ Triggered by any node on any vehicle

EVENT_AVATAR 

'avatar' ~ Triggered by the character only

EVENT_TRUCK 

'truck' ~ Triggered by any node of land vehicle (ActorType::TRUCK)

EVENT_TRUCK_WHEELS 

'truck_wheels' ~ Triggered only by wheel nodes of land vehicle (ActorType::TRUCK)

EVENT_AIRPLANE 

'airplane' ~ Triggered by any node of airplane (ActorType::AIRPLANE)

EVENT_BOAT 

'boat' ~ Triggered by any node of boats (ActorType::BOAT)

Definition at line 46 of file SimData.h.

◆ CreateProjectRequestType

Enumerator
NONE 
DEFAULT 

Copy files from source mod. Source mod Determines mod file extension.

SAVE_TUNEUP 

Dumps .tuneup file with CID_Tuneup from source actor, will not overwrite existing unless explicitly instructed.

Definition at line 211 of file CacheSystem.h.

◆ DashData

Enumerator
DD_ENGINE_RPM 
DD_ENGINE_SPEEDO_KPH 
DD_ENGINE_SPEEDO_MPH 

speedo in kilometer per hour

DD_ENGINE_TURBO 

speedo in miles per hour

DD_ENGINE_IGNITION 

turbo gauge

DD_ENGINE_BATTERY 
DD_ENGINE_CLUTCH_WARNING 

battery lamp

DD_ENGINE_GEAR 

clutch warning lamp

DD_ENGINE_NUM_GEAR 

current gear

DD_ENGINE_GEAR_STRING 
DD_ENGINE_AUTOGEAR_STRING 

string like "<current gear>/<max gear>"

DD_ENGINE_AUTO_GEAR 

string like "P R N G"

DD_ENGINE_CLUTCH 

automatic gear

DD_BRAKE 
DD_ACCELERATOR 
DD_ROLL 
DD_ROLL_CORR 
DD_ROLL_CORR_ACTIVE 
DD_PITCH 
DD_PARKINGBRAKE 

chassis pitch

DD_LOCKED 

parking brake status

DD_LOW_PRESSURE 

locked lamp

DD_TRACTIONCONTROL_MODE 

low pressure

DD_ANTILOCKBRAKE_MODE 
DD_TIES_MODE 
DD_SCREW_THROTTLE_0 

ties locked

DD_SCREW_THROTTLE_1 
DD_SCREW_THROTTLE_2 
DD_SCREW_THROTTLE_3 
DD_SCREW_THROTTLE_4 
DD_SCREW_THROTTLE_5 
DD_SCREW_STEER_0 
DD_SCREW_STEER_1 
DD_SCREW_STEER_2 
DD_SCREW_STEER_3 
DD_SCREW_STEER_4 
DD_SCREW_STEER_5 
DD_WATER_DEPTH 
DD_WATER_SPEED 
DD_AEROENGINE_THROTTLE_0 
DD_AEROENGINE_THROTTLE_1 
DD_AEROENGINE_THROTTLE_2 
DD_AEROENGINE_THROTTLE_3 
DD_AEROENGINE_THROTTLE_4 
DD_AEROENGINE_THROTTLE_5 
DD_AEROENGINE_FAILED_0 
DD_AEROENGINE_FAILED_1 
DD_AEROENGINE_FAILED_2 
DD_AEROENGINE_FAILED_3 
DD_AEROENGINE_FAILED_4 
DD_AEROENGINE_FAILED_5 
DD_AEROENGINE_RPM_0 
DD_AEROENGINE_RPM_1 
DD_AEROENGINE_RPM_2 
DD_AEROENGINE_RPM_3 
DD_AEROENGINE_RPM_4 
DD_AEROENGINE_RPM_5 
DD_AIRSPEED 
DD_WING_AOA_0 
DD_WING_AOA_1 
DD_WING_AOA_2 
DD_WING_AOA_3 
DD_WING_AOA_4 
DD_WING_AOA_5 
DD_ALTITUDE 
DD_ALTITUDE_STRING 
DD_ODOMETER_TOTAL 
DD_ODOMETER_USER 
DD_CUSTOM_LIGHT1 

custom light 1 on

DD_CUSTOM_LIGHT2 

custom light 2 on

DD_CUSTOM_LIGHT3 

custom light 3 on

DD_CUSTOM_LIGHT4 

custom light 4 on

DD_CUSTOM_LIGHT5 

custom light 5 on

DD_CUSTOM_LIGHT6 

custom light 6 on

DD_CUSTOM_LIGHT7 

custom light 7 on

DD_CUSTOM_LIGHT8 

custom light 8 on

DD_CUSTOM_LIGHT9 

custom light 9 on

DD_CUSTOM_LIGHT10 

custom light 10 on

DD_HEADLIGHTS 
DD_HIGHBEAMS 
DD_FOGLIGHTS 
DD_SIDELIGHTS 
DD_BRAKE_LIGHTS 
DD_REVERSE_LIGHT 
DD_BEACONS 
DD_LIGHTS_LEGACY 

Alias of 'sidelights'.

DD_SIGNAL_TURNLEFT 

Left blinker is lit.

DD_SIGNAL_TURNRIGHT 

Right blinker is lit.

DD_SIGNAL_WARNING 

The warning-blink indicator is lit.

DD_MAX 

Definition at line 84 of file DashBoardManager.h.

◆ ExtCameraMode

enum RoR::ExtCameraMode
strong
Enumerator
INVALID 
CLASSIC 
CINECAM 
NODE 

Definition at line 57 of file SimData.h.

◆ GfxExtCamMode

enum RoR::GfxExtCamMode
strong
Enumerator
NONE 
STATIC 
PITCHING 

Definition at line 212 of file Application.h.

◆ GfxFlaresMode

enum RoR::GfxFlaresMode
strong
Enumerator
NONE 

None (fastest)

NO_LIGHTSOURCES 

No light sources.

CURR_VEHICLE_HEAD_ONLY 

Only current vehicle, main lights.

ALL_VEHICLES_HEAD_ONLY 

All vehicles, main lights.

ALL_VEHICLES_ALL_LIGHTS 

All vehicles, all lights.

Definition at line 238 of file Application.h.

◆ GfxShadowType

enum RoR::GfxShadowType
strong
Enumerator
NONE 
PSSM 

Definition at line 205 of file Application.h.

◆ GfxSkyMode

enum RoR::GfxSkyMode
strong
Enumerator
SANDSTORM 

Sandstorm (fastest)

CAELUM 

Caelum (best looking, slower)

SKYX 

SkyX (best looking, slower)

Definition at line 259 of file Application.h.

◆ GfxTexFilter

enum RoR::GfxTexFilter
strong
Enumerator
NONE 
BILINEAR 
TRILINEAR 
ANISOTROPIC 

Definition at line 220 of file Application.h.

◆ GfxVegetation

enum RoR::GfxVegetation
strong
Enumerator
NONE 
x20PERC 
x50PERC 
FULL 

Definition at line 229 of file Application.h.

◆ GfxWaterMode

enum RoR::GfxWaterMode
strong
Enumerator
NONE 

None.

BASIC 

Basic (fastest)

REFLECT 

Reflection.

FULL_FAST 

Reflection + refraction (speed optimized)

FULL_HQ 

Reflection + refraction (quality optimized)

HYDRAX 

HydraX.

Definition at line 248 of file Application.h.

◆ HandleGenericExceptionFlags

< Flags for HandleGenericException()

Enumerator
HANDLEGENERICEXCEPTION_LOGFILE 
HANDLEGENERICEXCEPTION_SCRIPTEVENT 
HANDLEGENERICEXCEPTION_CONSOLE 
HANDLEGENERICEXCEPTION_DEFAULT 

Definition at line 547 of file Application.h.

◆ IoInputGrabMode

enum RoR::IoInputGrabMode
strong
Enumerator
NONE 
ALL 
DYNAMIC 

Definition at line 267 of file Application.h.

◆ LoaderType

< Search mode for ModCache::Query() & Operation mode for GUI::MainSelector

Enumerator
LT_None 
LT_Terrain 
LT_Vehicle 
LT_Truck 
LT_Car 
LT_Boat 
LT_Airplane 
LT_Trailer 
LT_Train 
LT_Load 
LT_Extension 
LT_Skin 
LT_AllBeam 
LT_AddonPart 
LT_Tuneup 
LT_AssetPack 

Definition at line 289 of file Application.h.

◆ modCacheActivityType

Argument #2 of script event RoR::SE_GENERIC_MODCACHE_ACTIVITY

Enumerator
MODCACHEACTIVITY_NONE 
MODCACHEACTIVITY_ENTRY_ADDED 

Args: #1 type, #2 entry number, –, –, #5 fname, #6 fext.

MODCACHEACTIVITY_ENTRY_MODIFIED 

Args: #1 type, #2 entry number, –, –, #5 fname, #6 fext.

MODCACHEACTIVITY_ENTRY_DELETED 

Flagged as deleted, managed by shared pointers; Args: #1 type, #2 entry number, –, –, #5 fname, #6 fext.

MODCACHEACTIVITY_BUNDLE_LOADED 

Args: #1 type, #2 entry number, –, –, #5 rg name.

MODCACHEACTIVITY_BUNDLE_RELOADED 

Args: #1 type, #2 entry number, –, –, #5 rg name.

MODCACHEACTIVITY_BUNDLE_UNLOADED 

Args: #1 type, #2 entry number.

Definition at line 88 of file ScriptEvents.h.

◆ ModifyProjectRequestType

Enumerator
NONE 
TUNEUP_USE_ADDONPART_SET 

'subject' is addonpart filename.

TUNEUP_USE_ADDONPART_RESET 

'subject' is addonpart filename.

TUNEUP_FORCEREMOVE_PROP_SET 

'subject_id' is prop ID.

TUNEUP_FORCEREMOVE_PROP_RESET 

'subject_id' is prop ID.

TUNEUP_FORCEREMOVE_FLEXBODY_SET 

'subject_id' is flexbody ID.

TUNEUP_FORCEREMOVE_FLEXBODY_RESET 

'subject_id' is flexbody ID.

TUNEUP_FORCED_WHEEL_SIDE_SET 

'subject_id' is wheel ID, 'value_int' is RoR::WheelSide

TUNEUP_FORCED_WHEEL_SIDE_RESET 

'subject_id' is wheel ID.

TUNEUP_FORCEREMOVE_FLARE_SET 

'subject_id' is flare ID.

TUNEUP_FORCEREMOVE_FLARE_RESET 

'subject_id' is flare ID.

TUNEUP_FORCEREMOVE_EXHAUST_SET 

'subject_id' is exhaust ID.

TUNEUP_FORCEREMOVE_EXHAUST_RESET 

'subject_id' is exhaust ID.

TUNEUP_FORCEREMOVE_MANAGEDMAT_SET 

'subject' is managed material name.

TUNEUP_FORCEREMOVE_MANAGEDMAT_RESET 

'subject' is managed material name.

TUNEUP_PROTECTED_PROP_SET 

'subject_id' is prop ID.

TUNEUP_PROTECTED_PROP_RESET 

'subject_id' is prop ID.

TUNEUP_PROTECTED_FLEXBODY_SET 

'subject_id' is flexbody ID.

TUNEUP_PROTECTED_FLEXBODY_RESET 

'subject_id' is flexbody ID.

TUNEUP_PROTECTED_WHEEL_SET 

'subject_id' is wheel ID.

TUNEUP_PROTECTED_WHEEL_RESET 

'subject_id' is wheel ID.

TUNEUP_PROTECTED_FLARE_SET 

'subject_id' is flare ID.

TUNEUP_PROTECTED_FLARE_RESET 

'subject_id' is flare ID.

TUNEUP_PROTECTED_EXHAUST_SET 

'subject_id' is exhaust ID.

TUNEUP_PROTECTED_EXHAUST_RESET 

'subject_id' is exhaust ID.

TUNEUP_PROTECTED_MANAGEDMAT_SET 

'subject' is managed material name.

TUNEUP_PROTECTED_MANAGEDMAT_RESET 

'subject' is managed material name.

PROJECT_LOAD_TUNEUP 

'subject' is tuneup filename. This overwrites the auto-generated tuneup with the save.

PROJECT_RESET_TUNEUP 

'subject' is empty. This resets the auto-generated tuneup to orig. values.

Definition at line 232 of file CacheSystem.h.

◆ scriptEvents

This enum describes what events are existing. The script can register to receive events.

Enumerator
SE_EVENTBOX_ENTER 

Actor or person entered an eventbox; arguments: #1 type, #2 actorID (actor only), #3 node ID (actor only), #4 unused, #5 object instance name #6 eventbox name, #7 unused #8 unused.

SE_EVENTBOX_EXIT 

Actor or person left an eventbox; arguments: #1 type, #2 actorID (actor only), #3 unused, #4 unused, #5 object instance name #6 eventbox name, #7 unused #8 unused.

SE_TRUCK_ENTER 

triggered when switching from person mode to vehicle mode, the argument refers to the actor ID of the vehicle

SE_TRUCK_EXIT 

triggered when switching from vehicle mode to person mode, the argument refers to the actor ID of the vehicle

SE_TRUCK_ENGINE_DIED 

triggered when the vehicle's engine dies (from underrev, water, etc), the argument refers to the actor ID of the vehicle

SE_TRUCK_ENGINE_FIRE 

triggered when the planes engines start to get on fire, the argument refers to the actor ID of the vehicle

SE_TRUCK_TOUCHED_WATER 

triggered when any part of the actor touches water, the argument refers to the actor ID

SE_TRUCK_LIGHT_TOGGLE 

triggered when the main light is toggled, the argument refers to the actor ID

SE_TRUCK_TIE_TOGGLE 

triggered when the user toggles ties, the argument refers to the actor ID

SE_TRUCK_PARKINGBRAKE_TOGGLE 

triggered when the user toggles the parking brake, the argument refers to the actor ID

SE_TRUCK_BEACONS_TOGGLE 

triggered when the user toggles beacons, the argument refers to the actor ID

SE_TRUCK_CPARTICLES_TOGGLE 

triggered when the user toggles custom particles, the argument refers to the actor ID

SE_GENERIC_NEW_TRUCK 

triggered when the user spawns a new actor, the argument refers to the actor ID

SE_GENERIC_DELETED_TRUCK 

triggered when the user deletes an actor, the argument refers to the actor ID

SE_TRUCK_RESET 

triggered when the user resets the truck, the argument refers to the actor ID of the vehicle

SE_TRUCK_TELEPORT 

triggered when the user teleports the truck, the argument refers to the actor ID of the vehicle

SE_TRUCK_MOUSE_GRAB 

triggered when the user uses the mouse to interact with the actor, the argument refers to the actor ID

SE_ANGELSCRIPT_MANIPULATIONS 

triggered when the user tries to dynamically use the scripting capabilities (prevent cheating) args: #1 angelScriptManipulationType, #2 ScriptUnitId_t, #3 RoR::ScriptCategory, #4 unused, #5 filename

SE_ANGELSCRIPT_MSGCALLBACK 

The diagnostic info directly from AngelScript engine (see asSMessageInfo), args: #1 ScriptUnitID, #2 asEMsgType, #3 row, #4 col, #5 sectionName, #6 message.

SE_ANGELSCRIPT_LINECALLBACK 

The diagnostic info directly from AngelScript engine (see SetLineCallback()), args: #1 ScriptUnitID, #2 LineNumber, #3 CallstackSize, #4 unused, #5 FunctionName, #6 FunctionObjectTypeName #7 ObjectName.

SE_ANGELSCRIPT_EXCEPTIONCALLBACK 

The diagnostic info directly from AngelScript engine (see SetExceptionCallback()), args: #1 ScriptUnitID, #2 unused, #3 row (GetExceptionLineNumber()), #4 unused, #5 funcName, #6 message (GetExceptionString())

SE_ANGELSCRIPT_THREAD_STATUS 

Sent by background threads (i.e. CURL) when there's something important (like finishing a download). args: #1 type, see RoR::angelScriptThreadStatus.

SE_GENERIC_MESSAGEBOX_CLICK 

triggered when the user clicks on a message box button, the argument refers to the button pressed

SE_GENERIC_EXCEPTION_CAUGHT 

Triggered when C++ exception (usually Ogre::Exception) is thrown; #1 ScriptUnitID, #5 originFuncName, #6 type, #7 message.

SE_GENERIC_MODCACHE_ACTIVITY 

Triggered when status of modcache changes, args: #1 type, #2 entry number, for other args see RoR::modCacheActivityType

SE_GENERIC_TRUCK_LINKING_CHANGED 

Triggered when 2 actors become linked or unlinked via ties/hooks/ropes/slidenodes; args: #1 state (1=linked, 0=unlinked), #2 action ActorLinkingRequestType #3 master ActorInstanceID_t, #4 slave ActorInstanceID_t.

SE_ALL_EVENTS 
SE_NO_EVENTS 

Definition at line 30 of file ScriptEvents.h.

◆ SimResetMode

enum RoR::SimResetMode
strong
Enumerator
HARD 
SOFT 

Definition at line 275 of file Application.h.

◆ TokenType

enum RoR::TokenType
strong
Enumerator
NONE 
LINEBREAK 
COMMENT 
STRING 
NUMBER 
BOOL 
KEYWORD 

Definition at line 48 of file GenericFileFormat.h.

◆ VisibilityMasks

Enumerator
DEPTHMAP_ENABLED 
DEPTHMAP_DISABLED 
HIDE_MIRROR 

Definition at line 282 of file Application.h.

Function Documentation

◆ CvarAddFileToList()

void RoR::CvarAddFileToList ( CVar cvar,
const std::string &  filename 
)

Definition at line 206 of file Utils.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CvarRemoveFileFromList()

void RoR::CvarRemoveFileFromList ( CVar cvar,
const std::string &  filename 
)

Definition at line 216 of file Utils.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DrawColorMarkedText()

ImVec2 RoR::DrawColorMarkedText ( ImDrawList *  drawlist,
ImVec2  text_cursor,
ImVec4  default_color,
float  override_alpha,
float  wrap_width,
std::string const &  line 
)

Draw multiline text with '#rrggbb' color markers. Returns total text size.

Definition at line 204 of file GUIUtils.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DrawGCheckbox()

bool RoR::DrawGCheckbox ( CVar cvar,
const char *  label 
)

Definition at line 261 of file GUIUtils.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DrawGCombo()

void RoR::DrawGCombo ( CVar cvar,
const char *  label,
const char *  values 
)

Definition at line 335 of file GUIUtils.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DrawGFloatBox()

void RoR::DrawGFloatBox ( CVar cvar,
const char *  label 
)

Definition at line 310 of file GUIUtils.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DrawGFloatSlider()

void RoR::DrawGFloatSlider ( CVar cvar,
const char *  label,
float  v_min,
float  v_max 
)

Definition at line 300 of file GUIUtils.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DrawGIntBox()

void RoR::DrawGIntBox ( CVar cvar,
const char *  label 
)

Definition at line 281 of file GUIUtils.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DrawGIntCheck()

void RoR::DrawGIntCheck ( CVar cvar,
const char *  label 
)

Definition at line 272 of file GUIUtils.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DrawGIntSlider()

void RoR::DrawGIntSlider ( CVar cvar,
const char *  label,
int  v_min,
int  v_max 
)

Definition at line 290 of file GUIUtils.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DrawGTextEdit()

void RoR::DrawGTextEdit ( CVar cvar,
const char *  label,
Str< 1000 > &  buf 
)

Definition at line 319 of file GUIUtils.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DrawImageRotated()

void RoR::DrawImageRotated ( ImTextureID  tex_id,
ImVec2  center,
ImVec2  size,
float  angle 
)

Add rotated textured quad to ImDrawList, source: https://github.com/ocornut/imgui/issues/1982#issuecomment-408834301.

Definition at line 175 of file GUIUtils.cpp.

+ Here is the caller graph for this function:

◆ EraseIf()

template<class T , class A , class Predicate >
void RoR::EraseIf ( std::vector< T, A > &  c,
Predicate  pred 
)
inline

Definition at line 74 of file Utils.h.

+ Here is the caller graph for this function:

◆ FetchIcon()

Ogre::TexturePtr RoR::FetchIcon ( const char *  name)

Definition at line 344 of file GUIUtils.cpp.

+ Here is the caller graph for this function:

◆ formatBytes()

UTFString RoR::formatBytes ( double  bytes)

Definition at line 64 of file Utils.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetImDummyFullscreenWindow()

ImDrawList * RoR::GetImDummyFullscreenWindow ( const std::string &  name = "RoR_TransparentFullscreenWindow")

Definition at line 356 of file GUIUtils.cpp.

+ Here is the caller graph for this function:

◆ GetScreenPosFromWorldPos()

bool RoR::GetScreenPosFromWorldPos ( Ogre::Vector3 const &  world_pos,
ImVec2 &  out_screen 
)

Definition at line 518 of file GUIUtils.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getTimeStamp()

std::time_t RoR::getTimeStamp ( )

Definition at line 74 of file Utils.cpp.

+ Here is the caller graph for this function:

◆ GetUrlAsString()

bool RoR::GetUrlAsString ( const std::string &  url,
CURLcode &  curl_result,
long &  response_code,
std::string &  response_payload 
)

Definition at line 71 of file CurlHelpers.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetUrlAsStringMQ()

bool RoR::GetUrlAsStringMQ ( CurlTaskContext  task)

Definition at line 106 of file CurlHelpers.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getVersionString()

String RoR::getVersionString ( bool  multiline = true)

Definition at line 79 of file Utils.cpp.

+ Here is the caller graph for this function:

◆ HandleGenericException()

void RoR::HandleGenericException ( const std::string &  from,
BitMask_t  flags 
)

Definition at line 369 of file Application.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleMsgQueueException()

void RoR::HandleMsgQueueException ( MsgType  from)

Definition at line 410 of file Application.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HashData()

String RoR::HashData ( const char *  key,
int  len 
)

Definition at line 51 of file Utils.cpp.

+ Here is the caller graph for this function:

◆ ImAddItemToComboboxString()

void RoR::ImAddItemToComboboxString ( std::string &  target,
std::string const &  item 
)

Definition at line 374 of file GUIUtils.cpp.

+ Here is the caller graph for this function:

◆ ImButtonHoldToConfirm()

bool RoR::ImButtonHoldToConfirm ( const std::string &  btn_idstr,
const bool  smallbutton,
const float  time_limit 
)

Definition at line 474 of file GUIUtils.cpp.

+ Here is the caller graph for this function:

◆ ImCalcEventHighlightedSize()

ImVec2 RoR::ImCalcEventHighlightedSize ( events  input_event)

Definition at line 467 of file GUIUtils.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ImDrawEventHighlighted()

void RoR::ImDrawEventHighlighted ( events  input_event)

Definition at line 408 of file GUIUtils.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ImDrawEventHighlightedButton()

bool RoR::ImDrawEventHighlightedButton ( events  input_event,
bool *  btn_hovered = nullptr,
bool *  btn_active = nullptr 
)

Definition at line 424 of file GUIUtils.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ImDrawModifierKeyHighlighted()

void RoR::ImDrawModifierKeyHighlighted ( OIS::KeyCode  key)

Definition at line 451 of file GUIUtils.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ImTerminateComboboxString()

void RoR::ImTerminateComboboxString ( std::string &  target)

Definition at line 396 of file GUIUtils.cpp.

+ Here is the caller graph for this function:

◆ ImTextWrappedColorMarked()

void RoR::ImTextWrappedColorMarked ( std::string const &  text)

Prints multiline text with '#rrggbb' color markers. Behaves like ImGui::Text* functions.

Definition at line 246 of file GUIUtils.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsDistanceWithin()

bool RoR::IsDistanceWithin ( Ogre::Vector3 const &  a,
Ogre::Vector3 const &  b,
float  max 
)

Definition at line 158 of file Utils.cpp.

+ Here is the caller graph for this function:

◆ JoinStrVec()

std::string RoR::JoinStrVec ( Ogre::StringVector  tokens,
const std::string &  delim 
)

Definition at line 146 of file Utils.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ LoadingIndicatorCircle()

void RoR::LoadingIndicatorCircle ( const char *  label,
const float  indicator_radius,
const ImVec4 &  main_color,
const ImVec4 &  backdrop_color,
const int  circle_count,
const float  speed 
)

Draws animated loading spinner.

Definition at line 132 of file GUIUtils.cpp.

+ Here is the caller graph for this function:

◆ Log()

void RoR::Log ( const char *  msg)

The ultimate, application-wide logging function. Adds a line (any length) in 'RoR.log' file.

Definition at line 419 of file Application.cpp.

+ Here is the caller graph for this function:

◆ LogFormat()

void RoR::LogFormat ( const char *  format,
  ... 
)

Improved logging utility. Uses fixed 2Kb buffer.

Definition at line 424 of file Application.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ PrintMeshInfo()

std::string RoR::PrintMeshInfo ( std::string const &  title,
Ogre::MeshPtr  mesh 
)
+ Here is the caller graph for this function:

◆ replaceString()

void RoR::replaceString ( std::string &  str,
std::string  searchString,
std::string  replaceString 
)
inline

Definition at line 52 of file Utils.h.

+ Here is the caller graph for this function:

◆ Round()

Real RoR::Round ( Ogre::Real  value,
unsigned short  ndigits = 0 
)

Definition at line 98 of file Utils.cpp.

+ Here is the caller graph for this function:

◆ SanitizeUtf8CString()

std::string RoR::SanitizeUtf8CString ( const char *  start,
const char *  end = nullptr 
)

Definition at line 125 of file Utils.cpp.

+ Here is the caller graph for this function:

◆ SanitizeUtf8String()

std::string RoR::SanitizeUtf8String ( std::string const &  str_in)

Definition at line 117 of file Utils.cpp.

+ Here is the caller graph for this function:

◆ Sha1Hash()

std::string RoR::Sha1Hash ( std::string const &  data)

Definition at line 138 of file Utils.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ sha1sum()

String RoR::sha1sum ( const char *  key,
int  len 
)

Definition at line 43 of file Utils.cpp.

+ Here is the call graph for this function:

◆ SplitBundleQualifiedFilename()

void RoR::SplitBundleQualifiedFilename ( const std::string &  bundleQualifiedFilename,
std::string &  out_bundleName,
std::string &  out_filename 
)

Definition at line 228 of file Utils.cpp.

+ Here is the caller graph for this function:

◆ StripColorMarksFromText()

std::string RoR::StripColorMarksFromText ( std::string const &  text)

Definition at line 199 of file GUIUtils.cpp.

+ Here is the caller graph for this function:

◆ ToLocalizedString() [1/9]

std::string RoR::ToLocalizedString ( GfxExtCamMode  e)

Definition at line 525 of file Application.cpp.

◆ ToLocalizedString() [2/9]

std::string RoR::ToLocalizedString ( GfxFlaresMode  e)

Definition at line 453 of file Application.cpp.

◆ ToLocalizedString() [3/9]

std::string RoR::ToLocalizedString ( GfxShadowType  e)

Definition at line 466 of file Application.cpp.

◆ ToLocalizedString() [4/9]

std::string RoR::ToLocalizedString ( GfxSkyMode  e)

Definition at line 476 of file Application.cpp.

◆ ToLocalizedString() [5/9]

std::string RoR::ToLocalizedString ( GfxTexFilter  e)

Definition at line 487 of file Application.cpp.

◆ ToLocalizedString() [6/9]

std::string RoR::ToLocalizedString ( GfxVegetation  e)

Definition at line 499 of file Application.cpp.

◆ ToLocalizedString() [7/9]

std::string RoR::ToLocalizedString ( GfxWaterMode  e)

Definition at line 511 of file Application.cpp.

◆ ToLocalizedString() [8/9]

std::string RoR::ToLocalizedString ( IoInputGrabMode  e)

Definition at line 536 of file Application.cpp.

◆ ToLocalizedString() [9/9]

std::string RoR::ToLocalizedString ( SimResetMode  e)

Definition at line 547 of file Application.cpp.

◆ TrimStr()

std::string& RoR::TrimStr ( std::string &  s)
inline

Definition at line 67 of file Utils.h.

+ Here is the caller graph for this function:

◆ tryConvertUTF()

UTFString RoR::tryConvertUTF ( const char *  buffer)

Definition at line 58 of file Utils.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ ACTORINSTANCEID_INVALID

const ActorInstanceID_t RoR::ACTORINSTANCEID_INVALID = 0
static

Definition at line 38 of file ForwardDeclarations.h.

◆ CACHEENTRYID_INVALID

const CacheEntryID_t RoR::CACHEENTRYID_INVALID = -1
static

Definition at line 50 of file ForwardDeclarations.h.

◆ COMMANDKEYID_INVALID

const CommandkeyID_t RoR::COMMANDKEYID_INVALID = 0
static

Definition at line 75 of file ForwardDeclarations.h.

◆ EXHAUSTID_INVALID

const ExhaustID_t RoR::EXHAUSTID_INVALID = -1
static

Definition at line 72 of file ForwardDeclarations.h.

◆ FLAREID_INVALID

const FlareID_t RoR::FLAREID_INVALID = -1
static

Definition at line 69 of file ForwardDeclarations.h.

◆ FLEXBODYID_INVALID

const FlexbodyID_t RoR::FLEXBODYID_INVALID = -1
static

Definition at line 63 of file ForwardDeclarations.h.

◆ FREEFORCEID_INVALID

const FreeForceID_t RoR::FREEFORCEID_INVALID = -1
static

Definition at line 66 of file ForwardDeclarations.h.

◆ NODENUM_INVALID

const NodeNum_t RoR::NODENUM_INVALID = std::numeric_limits<NodeNum_t>::max()
static

Definition at line 53 of file ForwardDeclarations.h.

◆ NODENUM_MAX

const NodeNum_t RoR::NODENUM_MAX = std::numeric_limits<NodeNum_t>::max() - 1
static

Definition at line 54 of file ForwardDeclarations.h.

◆ POINTIDID_INVALID

const PointidID_t RoR::POINTIDID_INVALID = -1
static

Definition at line 44 of file ForwardDeclarations.h.

◆ PROPID_INVALID

const PropID_t RoR::PROPID_INVALID = -1
static

Definition at line 60 of file ForwardDeclarations.h.

◆ REFELEMID_INVALID

const RefelemID_t RoR::REFELEMID_INVALID = -1
static

Definition at line 47 of file ForwardDeclarations.h.

◆ SCRIPTUNITID_INVALID

const ScriptUnitId_t RoR::SCRIPTUNITID_INVALID = -1
static

Definition at line 41 of file ForwardDeclarations.h.

◆ TUNEUP_BUF_SIZE

const size_t RoR::TUNEUP_BUF_SIZE = 2000

Definition at line 42 of file TuneupFileFormat.h.

◆ WHEELID_INVALID

const WheelID_t RoR::WHEELID_INVALID = -1
static

Definition at line 57 of file ForwardDeclarations.h.