Rigs of Rods 2023.09
Soft-body Physics Simulation
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches
Namespaces | Macros | Typedefs | Enumerations | Functions | Variables
Application.h File Reference

Central state/object manager and communications hub. More...

#include "BitFlags.h"
#include "CVar.h"
#include "ForwardDeclarations.h"
#include "Str.h"
#include <fmt/format.h>
#include <OgreStringConverter.h>
#include <assert.h>
#include <string>

Go to the source code of this file.

Namespaces

namespace  RoR
 
namespace  RigDef
 
namespace  RoR::App
 

Macros

#define ROR_ASSERT(_EXPR)   assert(_EXPR)
 
#define CHARACTER_ANIM_NAME_LEN   10
 
#define RGN_TEMP   "Temp"
 
#define RGN_CACHE   "Cache"
 
#define RGN_THUMBNAILS   "Thumbnails"
 
#define RGN_REPO_ATTACHMENTS   "RepoAttachments"
 
#define RGN_CONFIG   "Config"
 
#define RGN_CONTENT   "Content"
 
#define RGN_SAVEGAMES   "Savegames"
 
#define RGN_MANAGED_MATS   "ManagedMaterials"
 
#define RGN_SCRIPTS   "Scripts"
 
#define RGN_LOGS   "Logs"
 
#define TOSTRING(x)   Ogre::StringConverter::toString(x)
 
#define PARSEINT(x)   Ogre::StringConverter::parseInt(x)
 
#define PARSEREAL(x)   Ogre::StringConverter::parseReal(x)
 
#define HydraxLOG(msg)   Ogre::LogManager::getSingleton().logMessage("[Hydrax] " + Ogre::String(msg));
 

Typedefs

typedef int RoR::CameraMode_t
 

Enumerations

enum  RoR::MsgType {
  RoR::MSG_INVALID , RoR::MSG_APP_SHUTDOWN_REQUESTED , RoR::MSG_APP_SCREENSHOT_REQUESTED , RoR::MSG_APP_DISPLAY_FULLSCREEN_REQUESTED ,
  RoR::MSG_APP_DISPLAY_WINDOWED_REQUESTED , RoR::MSG_APP_MODCACHE_LOAD_REQUESTED , RoR::MSG_APP_MODCACHE_UPDATE_REQUESTED , RoR::MSG_APP_MODCACHE_PURGE_REQUESTED ,
  RoR::MSG_APP_LOAD_SCRIPT_REQUESTED , RoR::MSG_APP_UNLOAD_SCRIPT_REQUESTED , RoR::MSG_APP_SCRIPT_THREAD_STATUS , RoR::MSG_APP_REINIT_INPUT_REQUESTED ,
  RoR::MSG_NET_CONNECT_REQUESTED , RoR::MSG_NET_CONNECT_STARTED , RoR::MSG_NET_CONNECT_PROGRESS , RoR::MSG_NET_CONNECT_SUCCESS ,
  RoR::MSG_NET_CONNECT_FAILURE , RoR::MSG_NET_SERVER_KICK , RoR::MSG_NET_DISCONNECT_REQUESTED , RoR::MSG_NET_USER_DISCONNECT ,
  RoR::MSG_NET_RECV_ERROR , RoR::MSG_NET_REFRESH_SERVERLIST_SUCCESS , RoR::MSG_NET_REFRESH_SERVERLIST_FAILURE , RoR::MSG_NET_REFRESH_REPOLIST_SUCCESS ,
  RoR::MSG_NET_OPEN_RESOURCE_SUCCESS , RoR::MSG_NET_REFRESH_REPOLIST_FAILURE , RoR::MSG_NET_FETCH_AI_PRESETS_SUCCESS , RoR::MSG_NET_DOWNLOAD_REPOIMAGE_SUCCESS ,
  RoR::MSG_NET_DOWNLOAD_REPOIMAGE_FAILURE , RoR::MSG_NET_FETCH_AI_PRESETS_FAILURE , RoR::MSG_NET_ADD_PEEROPTIONS_REQUESTED , RoR::MSG_NET_REMOVE_PEEROPTIONS_REQUESTED ,
  RoR::MSG_NET_DOWNLOAD_REPOFILE_REQUESTED , RoR::MSG_NET_DOWNLOAD_REPOFILE_SUCCESS , RoR::MSG_NET_DOWNLOAD_REPOFILE_FAILURE , RoR::MSG_NET_DOWNLOAD_REPOFILE_PROGRESS ,
  RoR::MSG_SIM_PAUSE_REQUESTED , RoR::MSG_SIM_UNPAUSE_REQUESTED , RoR::MSG_SIM_LOAD_TERRN_REQUESTED , RoR::MSG_SIM_LOAD_SAVEGAME_REQUESTED ,
  RoR::MSG_SIM_UNLOAD_TERRN_REQUESTED , RoR::MSG_SIM_SPAWN_ACTOR_REQUESTED , RoR::MSG_SIM_MODIFY_ACTOR_REQUESTED , RoR::MSG_SIM_DELETE_ACTOR_REQUESTED ,
  RoR::MSG_SIM_SEAT_PLAYER_REQUESTED , RoR::MSG_SIM_TELEPORT_PLAYER_REQUESTED , RoR::MSG_SIM_HIDE_NET_ACTOR_REQUESTED , RoR::MSG_SIM_UNHIDE_NET_ACTOR_REQUESTED ,
  RoR::MSG_SIM_MUTE_NET_ACTOR_REQUESTED , RoR::MSG_SIM_UNMUTE_NET_ACTOR_REQUESTED , RoR::MSG_SIM_SCRIPT_EVENT_TRIGGERED , RoR::MSG_SIM_SCRIPT_CALLBACK_QUEUED ,
  RoR::MSG_SIM_ACTOR_LINKING_REQUESTED , RoR::MSG_SIM_ADD_FREEFORCE_REQUESTED , RoR::MSG_SIM_MODIFY_FREEFORCE_REQUESTED , RoR::MSG_SIM_REMOVE_FREEFORCE_REQUESTED ,
  RoR::MSG_GUI_OPEN_MENU_REQUESTED , RoR::MSG_GUI_CLOSE_MENU_REQUESTED , RoR::MSG_GUI_OPEN_SELECTOR_REQUESTED , RoR::MSG_GUI_CLOSE_SELECTOR_REQUESTED ,
  RoR::MSG_GUI_MP_CLIENTS_REFRESH , RoR::MSG_GUI_SHOW_MESSAGE_BOX_REQUESTED , RoR::MSG_GUI_HIDE_MESSAGE_BOX_REQUESTED , RoR::MSG_GUI_REFRESH_TUNING_MENU_REQUESTED ,
  RoR::MSG_GUI_SHOW_CHATBOX_REQUESTED , RoR::MSG_GUI_OPEN_MP_SETTINGS_REQUESTED , RoR::MSG_EDI_MODIFY_GROUNDMODEL_REQUESTED , RoR::MSG_EDI_ENTER_TERRN_EDITOR_REQUESTED ,
  RoR::MSG_EDI_LEAVE_TERRN_EDITOR_REQUESTED , RoR::MSG_EDI_SAVE_TERRN_CHANGES_REQUESTED , RoR::MSG_EDI_LOAD_BUNDLE_REQUESTED , RoR::MSG_EDI_RELOAD_BUNDLE_REQUESTED ,
  RoR::MSG_EDI_UNLOAD_BUNDLE_REQUESTED , RoR::MSG_EDI_DELETE_BUNDLE_REQUESTED , RoR::MSG_EDI_CREATE_PROJECT_REQUESTED , RoR::MSG_EDI_MODIFY_PROJECT_REQUESTED ,
  RoR::MSG_EDI_DELETE_PROJECT_REQUESTED , RoR::MSG_EDI_ADD_FREEBEAMGFX_REQUESTED , RoR::MSG_EDI_MODIFY_FREEBEAMGFX_REQUESTED , RoR::MSG_EDI_DELETE_FREEBEAMGFX_REQUESTED
}
 Global gameplay message loop, see struct Message in GameContext.h. More...
 
enum class  RigDef::Keyword {
  RigDef::Keyword::INVALID = 0 , RigDef::Keyword::ADD_ANIMATION = 1 , RigDef::Keyword::AIRBRAKES , RigDef::Keyword::ANIMATORS ,
  RigDef::Keyword::ANTILOCKBRAKES , RigDef::Keyword::ASSETPACKS , RigDef::Keyword::AUTHOR , RigDef::Keyword::AXLES ,
  RigDef::Keyword::BACKMESH , RigDef::Keyword::BEAMS , RigDef::Keyword::BRAKES , RigDef::Keyword::CAB ,
  RigDef::Keyword::CAMERARAIL , RigDef::Keyword::CAMERAS , RigDef::Keyword::CINECAM , RigDef::Keyword::COLLISIONBOXES ,
  RigDef::Keyword::COMMANDS , RigDef::Keyword::COMMANDS2 , RigDef::Keyword::COMMENT , RigDef::Keyword::CONTACTERS ,
  RigDef::Keyword::CRUISECONTROL , RigDef::Keyword::CUSTOMDASHBOARDINPUTS , RigDef::Keyword::DEFAULT_SKIN , RigDef::Keyword::DESCRIPTION ,
  RigDef::Keyword::DETACHER_GROUP , RigDef::Keyword::DISABLEDEFAULTSOUNDS , RigDef::Keyword::ENABLE_ADVANCED_DEFORMATION , RigDef::Keyword::END ,
  RigDef::Keyword::END_COMMENT , RigDef::Keyword::END_DESCRIPTION , RigDef::Keyword::END_SECTION , RigDef::Keyword::ENGINE ,
  RigDef::Keyword::ENGOPTION , RigDef::Keyword::ENGTURBO , RigDef::Keyword::ENVMAP , RigDef::Keyword::EXHAUSTS ,
  RigDef::Keyword::EXTCAMERA , RigDef::Keyword::FILEFORMATVERSION , RigDef::Keyword::FILEINFO , RigDef::Keyword::FIXES ,
  RigDef::Keyword::FLARES , RigDef::Keyword::FLARES2 , RigDef::Keyword::FLARES3 , RigDef::Keyword::FLAREGROUPS_NO_IMPORT ,
  RigDef::Keyword::FLEXBODIES , RigDef::Keyword::FLEXBODY_CAMERA_MODE , RigDef::Keyword::FLEXBODYWHEELS , RigDef::Keyword::FORSET ,
  RigDef::Keyword::FORVERT , RigDef::Keyword::FORWARDCOMMANDS , RigDef::Keyword::FUSEDRAG , RigDef::Keyword::GLOBALS ,
  RigDef::Keyword::GUID , RigDef::Keyword::GUISETTINGS , RigDef::Keyword::HELP , RigDef::Keyword::HIDEINCHOOSER ,
  RigDef::Keyword::HOOKGROUP , RigDef::Keyword::HOOKS , RigDef::Keyword::HYDROS , RigDef::Keyword::IMPORTCOMMANDS ,
  RigDef::Keyword::INTERAXLES , RigDef::Keyword::LOCKGROUPS , RigDef::Keyword::LOCKGROUP_DEFAULT_NOLOCK , RigDef::Keyword::MANAGEDMATERIALS ,
  RigDef::Keyword::MATERIALFLAREBINDINGS , RigDef::Keyword::MESHWHEELS , RigDef::Keyword::MESHWHEELS2 , RigDef::Keyword::MINIMASS ,
  RigDef::Keyword::NODECOLLISION , RigDef::Keyword::NODES , RigDef::Keyword::NODES2 , RigDef::Keyword::PARTICLES ,
  RigDef::Keyword::PISTONPROPS , RigDef::Keyword::PROP_CAMERA_MODE , RigDef::Keyword::PROPS , RigDef::Keyword::RAILGROUPS ,
  RigDef::Keyword::RESCUER , RigDef::Keyword::RIGIDIFIERS , RigDef::Keyword::ROLLON , RigDef::Keyword::ROPABLES ,
  RigDef::Keyword::ROPES , RigDef::Keyword::ROTATORS , RigDef::Keyword::ROTATORS2 , RigDef::Keyword::SCREWPROPS ,
  RigDef::Keyword::SCRIPTS , RigDef::Keyword::SECTION , RigDef::Keyword::SECTIONCONFIG , RigDef::Keyword::SET_BEAM_DEFAULTS ,
  RigDef::Keyword::SET_BEAM_DEFAULTS_SCALE , RigDef::Keyword::SET_COLLISION_RANGE , RigDef::Keyword::SET_DEFAULT_MINIMASS , RigDef::Keyword::SET_INERTIA_DEFAULTS ,
  RigDef::Keyword::SET_MANAGEDMATERIALS_OPTIONS , RigDef::Keyword::SET_NODE_DEFAULTS , RigDef::Keyword::SET_SHADOWS , RigDef::Keyword::SET_SKELETON_SETTINGS ,
  RigDef::Keyword::SHOCKS , RigDef::Keyword::SHOCKS2 , RigDef::Keyword::SHOCKS3 , RigDef::Keyword::SLIDENODE_CONNECT_INSTANTLY ,
  RigDef::Keyword::SLIDENODES , RigDef::Keyword::SLOPE_BRAKE , RigDef::Keyword::SOUNDSOURCES , RigDef::Keyword::SOUNDSOURCES2 ,
  RigDef::Keyword::SPEEDLIMITER , RigDef::Keyword::SUBMESH , RigDef::Keyword::SUBMESH_GROUNDMODEL , RigDef::Keyword::TEXCOORDS ,
  RigDef::Keyword::TIES , RigDef::Keyword::TORQUECURVE , RigDef::Keyword::TRACTIONCONTROL , RigDef::Keyword::TRANSFERCASE ,
  RigDef::Keyword::TRIGGERS , RigDef::Keyword::TURBOJETS , RigDef::Keyword::TURBOPROPS , RigDef::Keyword::TURBOPROPS2 ,
  RigDef::Keyword::VIDEOCAMERA , RigDef::Keyword::WHEELDETACHERS , RigDef::Keyword::WHEELS , RigDef::Keyword::WHEELS2 ,
  RigDef::Keyword::WINGS
}
 
enum class  RoR::AppState {
  RoR::AppState::BOOTSTRAP , RoR::AppState::MAIN_MENU , RoR::AppState::SIMULATION , RoR::AppState::SHUTDOWN ,
  RoR::AppState::PRINT_HELP_EXIT , RoR::AppState::PRINT_VERSION_EXIT
}
 
enum class  RoR::MpState { RoR::MpState::DISABLED , RoR::MpState::CONNECTING , RoR::MpState::CONNECTED }
 
enum class  RoR::SimState { RoR::SimState::OFF , RoR::SimState::RUNNING , RoR::SimState::PAUSED , RoR::SimState::EDITOR_MODE }
 
enum class  RoR::SimGearboxMode {
  RoR::SimGearboxMode::AUTO , RoR::SimGearboxMode::SEMI_AUTO , RoR::SimGearboxMode::MANUAL , RoR::SimGearboxMode::MANUAL_STICK ,
  RoR::SimGearboxMode::MANUAL_RANGES
}
 
enum class  RoR::GfxShadowType { RoR::NONE , RoR::PSSM }
 
enum class  RoR::GfxExtCamMode { RoR::NONE , RoR::STATIC , RoR::PITCHING }
 
enum class  RoR::GfxTexFilter { RoR::NONE , RoR::BILINEAR , RoR::TRILINEAR , RoR::ANISOTROPIC }
 
enum class  RoR::GfxVegetation { RoR::NONE , RoR::x20PERC , RoR::x50PERC , RoR::FULL }
 
enum class  RoR::GfxFlaresMode {
  RoR::NONE , RoR::NO_LIGHTSOURCES , RoR::CURR_VEHICLE_HEAD_ONLY , RoR::ALL_VEHICLES_HEAD_ONLY ,
  RoR::ALL_VEHICLES_ALL_LIGHTS
}
 
enum class  RoR::GfxWaterMode {
  RoR::NONE , RoR::BASIC , RoR::REFLECT , RoR::FULL_FAST ,
  RoR::FULL_HQ , RoR::HYDRAX
}
 
enum class  RoR::GfxSkyMode { RoR::SANDSTORM , RoR::CAELUM , RoR::SKYX }
 
enum class  RoR::EfxReverbEngine { RoR::NONE , RoR::REVERB , RoR::EAXREVERB }
 
enum class  RoR::IoInputGrabMode { RoR::NONE , RoR::ALL , RoR::DYNAMIC }
 
enum class  RoR::SimResetMode { RoR::HARD = 0 , RoR::SOFT = 1 }
 
enum class  RoR::UiPreset {
  RoR::NOVICE , RoR::REGULAR , RoR::EXPERT , RoR::MINIMALLIST ,
  RoR::Count
}
 See UiPresets[] list in GUIManager.cpp (declared extern in GUIManager.h) More...
 
enum  RoR::VisibilityMasks { RoR::DEPTHMAP_ENABLED = BITMASK(1) , RoR::DEPTHMAP_DISABLED = BITMASK(2) , RoR::HIDE_MIRROR = BITMASK(3) }
 
enum  RoR::LoaderType {
  RoR::LT_None , RoR::LT_Terrain , RoR::LT_Vehicle , RoR::LT_Truck ,
  RoR::LT_Car , RoR::LT_Boat , RoR::LT_Airplane , RoR::LT_Trailer ,
  RoR::LT_Train , RoR::LT_Load , RoR::LT_Extension , RoR::LT_Skin ,
  RoR::LT_AllBeam , RoR::LT_AddonPart , RoR::LT_Tuneup , RoR::LT_AssetPack ,
  RoR::LT_DashBoard , RoR::LT_Gadget
}
 < Search mode for ModCache::Query() & Operation mode for GUI::MainSelector More...
 
enum  RoR::CacheCategoryId {
  RoR::CID_None = 0 , RoR::CID_DashboardsGeneric = 200 , RoR::CID_DashboardsTruck = 201 , RoR::CID_DashboardsBoat = 202 ,
  RoR::CID_GadgetsGeneric = 300 , RoR::CID_GadgetsActor = 301 , RoR::CID_GadgetsTerrain = 302 , RoR::CID_Projects = 8000 ,
  RoR::CID_Tuneups = 8001 , RoR::CID_Max = 9000 , RoR::CID_Unsorted = 9990 , RoR::CID_All = 9991 ,
  RoR::CID_Fresh = 9992 , RoR::CID_Hidden = 9993 , RoR::CID_SearchResults = 9994
}
 
enum class  RoR::FlareType : char {
  RoR::NONE = 0 , RoR::HEADLIGHT = 'f' , RoR::HIGH_BEAM = 'h' , RoR::FOG_LIGHT = 'g' ,
  RoR::TAIL_LIGHT = 't' , RoR::BRAKE_LIGHT = 'b' , RoR::REVERSE_LIGHT = 'R' , RoR::SIDELIGHT = 's' ,
  RoR::BLINKER_LEFT = 'l' , RoR::BLINKER_RIGHT = 'r' , RoR::USER = 'u' , RoR::DASHBOARD = 'd'
}
 
enum class  RoR::WheelBraking : int {
  RoR::NONE = 0 , RoR::FOOT_HAND = 1 , RoR::FOOT_HAND_SKID_LEFT = 2 , RoR::FOOT_HAND_SKID_RIGHT = 3 ,
  RoR::FOOT_ONLY = 4
}
 
enum class  RoR::WheelPropulsion : int { RoR::NONE = 0 , RoR::FORWARD = 1 , RoR::BACKWARD = 2 }
 
enum class  RoR::WheelSide : char { RoR::INVALID = 'n' , RoR::RIGHT = 'r' , RoR::LEFT = 'l' }
 Used by rig-def/addonpart/tuneup formats to specify wheel rim mesh orientation. More...
 
enum class  RoR::ExtCameraMode { RoR::INVALID = -1 , RoR::CLASSIC = 0 , RoR::CINECAM = 1 , RoR::NODE = 2 }
 
enum class  RoR::TObjSpecialObject {
  RoR::NONE , RoR::TRUCK , RoR::LOAD , RoR::MACHINE ,
  RoR::BOAT , RoR::TRUCK2 , RoR::GRID , RoR::ROAD ,
  RoR::ROAD_BORDER_LEFT , RoR::ROAD_BORDER_RIGHT , RoR::ROAD_BORDER_BOTH , RoR::ROAD_BRIDGE_NO_PILLARS ,
  RoR::ROAD_BRIDGE
}
 
enum  RoR::VideoCamRole {
  RoR::VCAM_ROLE_VIDEOCAM = -1 , RoR::VCAM_ROLE_TRACKING_VIDEOCAM = 0 , RoR::VCAM_ROLE_MIRROR = 1 , RoR::VCAM_ROLE_MIRROR_NOFLIP = 2 ,
  RoR::VCAM_ROLE_TRACKING_MIRROR = -1001 , RoR::VCAM_ROLE_TRACKING_MIRROR_NOFLIP = -1002 , RoR::VCAM_ROLE_MIRROR_PROP_LEFT = -2001 , RoR::VCAM_ROLE_MIRROR_PROP_RIGHT = -2002 ,
  RoR::VCAM_ROLE_INVALID = -9999
}
 
enum  RoR::HandleGenericExceptionFlags { RoR::HANDLEGENERICEXCEPTION_LOGFILE = BITMASK(1) , RoR::HANDLEGENERICEXCEPTION_SCRIPTEVENT = BITMASK(2) , RoR::HANDLEGENERICEXCEPTION_CONSOLE = BITMASK(3) , RoR::HANDLEGENERICEXCEPTION_DEFAULT = HANDLEGENERICEXCEPTION_LOGFILE | HANDLEGENERICEXCEPTION_SCRIPTEVENT }
 < Flags for HandleGenericException() More...
 

Functions

const char * RoR::MsgTypeToString (MsgType type)
 
const char * RigDef::KeywordToString (RigDef::Keyword keyword)
 
std::string RoR::ToLocalizedString (SimGearboxMode e)
 
std::string RoR::ToLocalizedString (GfxShadowType e)
 
std::string RoR::ToLocalizedString (GfxExtCamMode e)
 
std::string RoR::ToLocalizedString (GfxTexFilter e)
 
std::string RoR::ToLocalizedString (GfxVegetation e)
 
std::string RoR::ToLocalizedString (GfxFlaresMode e)
 
std::string RoR::ToLocalizedString (GfxWaterMode e)
 
std::string RoR::ToLocalizedString (GfxSkyMode e)
 
std::string RoR::ToLocalizedString (EfxReverbEngine e)
 
std::string RoR::ToLocalizedString (IoInputGrabMode e)
 
std::string RoR::ToLocalizedString (SimResetMode e)
 
std::string RoR::ToLocalizedString (UiPreset e)
 
const char * RoR::TObjSpecialObjectToString (TObjSpecialObject val)
 
AppContextRoR::App::GetAppContext ()
 
ContentManagerRoR::App::GetContentManager ()
 
OverlayWrapperRoR::App::GetOverlayWrapper ()
 
GUIManagerRoR::App::GetGuiManager ()
 
ConsoleRoR::App::GetConsole ()
 
InputEngineRoR::App::GetInputEngine ()
 
CacheSystemRoR::App::GetCacheSystem ()
 
MumbleIntegration * RoR::App::GetMumble ()
 
ThreadPoolRoR::App::GetThreadPool ()
 
CameraManagerRoR::App::GetCameraManager ()
 
GfxSceneRoR::App::GetGfxScene ()
 
SoundScriptManagerRoR::App::GetSoundScriptManager ()
 
LanguageEngineRoR::App::GetLanguageEngine ()
 
ScriptEngineRoR::App::GetScriptEngine ()
 
NetworkRoR::App::GetNetwork ()
 
GameContextRoR::App::GetGameContext ()
 
OutGaugeRoR::App::GetOutGauge ()
 
DiscordRpcRoR::App::GetDiscordRpc ()
 
void RoR::App::CreateOverlayWrapper ()
 
void RoR::App::CreateGuiManager ()
 
void RoR::App::CreateInputEngine ()
 
void RoR::App::CreateMumble ()
 
void RoR::App::CreateThreadPool ()
 
void RoR::App::CreateCameraManager ()
 
void RoR::App::CreateGfxScene ()
 
void RoR::App::CreateSoundScriptManager ()
 
void RoR::App::CreateScriptEngine ()
 
void RoR::App::DestroyOverlayWrapper ()
 
void RoR::App::DestroyInputEngine ()
 
void RoR::HandleGenericException (const std::string &from, BitMask_t flags)
 
void RoR::HandleMsgQueueException (MsgType from)
 
void RoR::Log (const char *msg)
 The ultimate, application-wide logging function. Adds a line (any length) in 'RoR.log' file.
 
void RoR::LogFormat (const char *format,...)
 Improved logging utility. Uses fixed 2Kb buffer.
 
void LOG (const char *msg)
 Legacy alias - formerly a macro.
 
void LOG (std::string const &msg)
 Legacy alias - formerly a macro.
 

Variables

static CameraMode_t RoR::CAMERA_MODE_ALWAYS_HIDDEN = -3
 
static CameraMode_t RoR::CAMERA_MODE_ALWAYS_VISIBLE = -2
 
static CameraMode_t RoR::CAMERA_MODE_3RDPERSON_ONLY = -1
 
CVarRoR::App::diag_trace_globals
 

Detailed Description

Central state/object manager and communications hub.

Author
Petr Ohlidal
Date
05/2014

Definition in file Application.h.

Macro Definition Documentation

◆ CHARACTER_ANIM_NAME_LEN

#define CHARACTER_ANIM_NAME_LEN   10

Definition at line 42 of file Application.h.

◆ HydraxLOG

#define HydraxLOG (   msg)    Ogre::LogManager::getSingleton().logMessage("[Hydrax] " + Ogre::String(msg));

Definition at line 60 of file Application.h.

◆ PARSEINT

#define PARSEINT (   x)    Ogre::StringConverter::parseInt(x)

Definition at line 58 of file Application.h.

◆ PARSEREAL

#define PARSEREAL (   x)    Ogre::StringConverter::parseReal(x)

Definition at line 59 of file Application.h.

◆ RGN_CACHE

#define RGN_CACHE   "Cache"

Definition at line 46 of file Application.h.

◆ RGN_CONFIG

#define RGN_CONFIG   "Config"

Definition at line 49 of file Application.h.

◆ RGN_CONTENT

#define RGN_CONTENT   "Content"

Definition at line 50 of file Application.h.

◆ RGN_LOGS

#define RGN_LOGS   "Logs"

Definition at line 54 of file Application.h.

◆ RGN_MANAGED_MATS

#define RGN_MANAGED_MATS   "ManagedMaterials"

Definition at line 52 of file Application.h.

◆ RGN_REPO_ATTACHMENTS

#define RGN_REPO_ATTACHMENTS   "RepoAttachments"

Definition at line 48 of file Application.h.

◆ RGN_SAVEGAMES

#define RGN_SAVEGAMES   "Savegames"

Definition at line 51 of file Application.h.

◆ RGN_SCRIPTS

#define RGN_SCRIPTS   "Scripts"

Definition at line 53 of file Application.h.

◆ RGN_TEMP

#define RGN_TEMP   "Temp"

Definition at line 45 of file Application.h.

◆ RGN_THUMBNAILS

#define RGN_THUMBNAILS   "Thumbnails"

Definition at line 47 of file Application.h.

◆ ROR_ASSERT

#define ROR_ASSERT (   _EXPR)    assert(_EXPR)

Definition at line 40 of file Application.h.

◆ TOSTRING

#define TOSTRING (   x)    Ogre::StringConverter::toString(x)

Definition at line 57 of file Application.h.

Function Documentation

◆ LOG() [1/2]

void LOG ( const char *  msg)
inline

Legacy alias - formerly a macro.

Definition at line 897 of file Application.h.

◆ LOG() [2/2]

void LOG ( std::string const &  msg)
inline

Legacy alias - formerly a macro.

Definition at line 898 of file Application.h.