RigsofRods
Soft-body Physics Simulation
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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>
+ Include dependency graph for Application.h:

Go to the source code of this file.

Namespaces

 RoR
 
 RigDef
 
 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_REPO   "Repo"
 
#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_FETCH_AI_PRESETS_FAILURE,
  RoR::MSG_NET_ADD_PEEROPTIONS_REQUESTED, RoR::MSG_NET_REMOVE_PEEROPTIONS_REQUESTED, 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_DOWNLOAD_PROGRESS, RoR::MSG_GUI_DOWNLOAD_FINISHED, RoR::MSG_GUI_REFRESH_TUNING_MENU_REQUESTED,
  RoR::MSG_GUI_SHOW_CHATBOX_REQUESTED, RoR::MSG_EDI_MODIFY_GROUNDMODEL_REQUESTED, RoR::MSG_EDI_ENTER_TERRN_EDITOR_REQUESTED, RoR::MSG_EDI_LEAVE_TERRN_EDITOR_REQUESTED,
  RoR::MSG_EDI_LOAD_BUNDLE_REQUESTED, RoR::MSG_EDI_RELOAD_BUNDLE_REQUESTED, RoR::MSG_EDI_UNLOAD_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  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::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  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  RoR::MpState { RoR::MpState::DISABLED, RoR::MpState::CONNECTING, RoR::MpState::CONNECTED }
 
enum  RoR::SimState { RoR::SimState::OFF, RoR::SimState::RUNNING, RoR::SimState::PAUSED, RoR::SimState::EDITOR_MODE }
 
enum  RoR::SimGearboxMode {
  RoR::SimGearboxMode::AUTO, RoR::SimGearboxMode::SEMI_AUTO, RoR::SimGearboxMode::MANUAL, RoR::SimGearboxMode::MANUAL_STICK,
  RoR::SimGearboxMode::MANUAL_RANGES
}
 
enum  RoR::GfxShadowType { RoR::GfxShadowType::NONE, RoR::GfxShadowType::PSSM }
 
enum  RoR::GfxExtCamMode { RoR::GfxExtCamMode::NONE, RoR::GfxExtCamMode::STATIC, RoR::GfxExtCamMode::PITCHING }
 
enum  RoR::GfxTexFilter { RoR::GfxTexFilter::NONE, RoR::GfxTexFilter::BILINEAR, RoR::GfxTexFilter::TRILINEAR, RoR::GfxTexFilter::ANISOTROPIC }
 
enum  RoR::GfxVegetation { RoR::GfxVegetation::NONE, RoR::GfxVegetation::x20PERC, RoR::GfxVegetation::x50PERC, RoR::GfxVegetation::FULL }
 
enum  RoR::GfxFlaresMode {
  RoR::GfxFlaresMode::NONE, RoR::GfxFlaresMode::NO_LIGHTSOURCES, RoR::GfxFlaresMode::CURR_VEHICLE_HEAD_ONLY, RoR::GfxFlaresMode::ALL_VEHICLES_HEAD_ONLY,
  RoR::GfxFlaresMode::ALL_VEHICLES_ALL_LIGHTS
}
 
enum  RoR::GfxWaterMode {
  RoR::GfxWaterMode::NONE, RoR::GfxWaterMode::BASIC, RoR::GfxWaterMode::REFLECT, RoR::GfxWaterMode::FULL_FAST,
  RoR::GfxWaterMode::FULL_HQ, RoR::GfxWaterMode::HYDRAX
}
 
enum  RoR::GfxSkyMode { RoR::GfxSkyMode::SANDSTORM, RoR::GfxSkyMode::CAELUM, RoR::GfxSkyMode::SKYX }
 
enum  RoR::EfxReverbEngine { RoR::EfxReverbEngine::NONE, RoR::EfxReverbEngine::REVERB, RoR::EfxReverbEngine::EAXREVERB }
 
enum  RoR::IoInputGrabMode { RoR::IoInputGrabMode::NONE, RoR::IoInputGrabMode::ALL, RoR::IoInputGrabMode::DYNAMIC }
 
enum  RoR::SimResetMode { RoR::SimResetMode::HARD = 0, RoR::SimResetMode::SOFT = 1 }
 
enum  RoR::UiPreset {
  RoR::UiPreset::NOVICE, RoR::UiPreset::REGULAR, RoR::UiPreset::EXPERT, RoR::UiPreset::MINIMALLIST,
  RoR::UiPreset::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  RoR::FlareType : char {
  RoR::FlareType::NONE = 0, RoR::FlareType::HEADLIGHT = 'f', RoR::FlareType::HIGH_BEAM = 'h', RoR::FlareType::FOG_LIGHT = 'g',
  RoR::FlareType::TAIL_LIGHT = 't', RoR::FlareType::BRAKE_LIGHT = 'b', RoR::FlareType::REVERSE_LIGHT = 'R', RoR::FlareType::SIDELIGHT = 's',
  RoR::FlareType::BLINKER_LEFT = 'l', RoR::FlareType::BLINKER_RIGHT = 'r', RoR::FlareType::USER = 'u', RoR::FlareType::DASHBOARD = 'd'
}
 
enum  RoR::WheelBraking : int {
  RoR::WheelBraking::NONE = 0, RoR::WheelBraking::FOOT_HAND = 1, RoR::WheelBraking::FOOT_HAND_SKID_LEFT = 2, RoR::WheelBraking::FOOT_HAND_SKID_RIGHT = 3,
  RoR::WheelBraking::FOOT_ONLY = 4
}
 
enum  RoR::WheelPropulsion : int { RoR::WheelPropulsion::NONE = 0, RoR::WheelPropulsion::FORWARD = 1, RoR::WheelPropulsion::BACKWARD = 2 }
 
enum  RoR::WheelSide : char { RoR::WheelSide::INVALID = 'n', RoR::WheelSide::RIGHT = 'r', RoR::WheelSide::LEFT = 'l' }
 Used by rig-def/addonpart/tuneup formats to specify wheel rim mesh orientation. More...
 
enum  RoR::ExtCameraMode { RoR::ExtCameraMode::INVALID = -1, RoR::ExtCameraMode::CLASSIC = 0, RoR::ExtCameraMode::CINECAM = 1, RoR::ExtCameraMode::NODE = 2 }
 
enum  RoR::TObjSpecialObject {
  RoR::TObjSpecialObject::NONE, RoR::TRUCK, RoR::TObjSpecialObject::LOAD, RoR::MACHINE,
  RoR::BOAT, RoR::TObjSpecialObject::TRUCK2, RoR::TObjSpecialObject::GRID, RoR::TObjSpecialObject::ROAD,
  RoR::TObjSpecialObject::ROAD_BORDER_LEFT, RoR::TObjSpecialObject::ROAD_BORDER_RIGHT, RoR::TObjSpecialObject::ROAD_BORDER_BOTH, RoR::TObjSpecialObject::ROAD_BRIDGE_NO_PILLARS,
  RoR::TObjSpecialObject::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)
 
AppContext * RoR::App::GetAppContext ()
 
ContentManager * RoR::App::GetContentManager ()
 
OverlayWrapper * RoR::App::GetOverlayWrapper ()
 
GUIManager * RoR::App::GetGuiManager ()
 
Console * RoR::App::GetConsole ()
 
InputEngine * RoR::App::GetInputEngine ()
 
CacheSystem * RoR::App::GetCacheSystem ()
 
MumbleIntegration * RoR::App::GetMumble ()
 
ThreadPool * RoR::App::GetThreadPool ()
 
CameraManager * RoR::App::GetCameraManager ()
 
GfxScene * RoR::App::GetGfxScene ()
 
SoundScriptManager * RoR::App::GetSoundScriptManager ()
 
LanguageEngine * RoR::App::GetLanguageEngine ()
 
ScriptEngine * RoR::App::GetScriptEngine ()
 
Network * RoR::App::GetNetwork ()
 
GameContext * RoR::App::GetGameContext ()
 
OutGauge * RoR::App::GetOutGauge ()
 
DiscordRpc * RoR::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. More...
 
void RoR::LogFormat (const char *format,...)
 Improved logging utility. Uses fixed 2Kb buffer. More...
 

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
 
CVar * RoR::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 59 of file Application.h.

◆ PARSEINT

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

Definition at line 57 of file Application.h.

◆ PARSEREAL

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

Definition at line 58 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 48 of file Application.h.

◆ RGN_CONTENT

#define RGN_CONTENT   "Content"

Definition at line 49 of file Application.h.

◆ RGN_LOGS

#define RGN_LOGS   "Logs"

Definition at line 53 of file Application.h.

◆ RGN_MANAGED_MATS

#define RGN_MANAGED_MATS   "ManagedMaterials"

Definition at line 51 of file Application.h.

◆ RGN_REPO

#define RGN_REPO   "Repo"

Definition at line 47 of file Application.h.

◆ RGN_SAVEGAMES

#define RGN_SAVEGAMES   "Savegames"

Definition at line 50 of file Application.h.

◆ RGN_SCRIPTS

#define RGN_SCRIPTS   "Scripts"

Definition at line 52 of file Application.h.

◆ RGN_TEMP

#define RGN_TEMP   "Temp"

Definition at line 45 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 56 of file Application.h.