RigsofRods
Soft-body Physics Simulation
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Application.cpp
Go to the documentation of this file.
1 /*
2  This source file is part of Rigs of Rods
3  Copyright 2005-2012 Pierre-Michel Ricordel
4  Copyright 2007-2012 Thomas Fischer
5  Copyright 2013-2020 Petr Ohlidal
6 
7  For more information see http://www.rigsofrods.org/
8 
9  Rigs of Rods is free software: you can redistribute it and/or modify
10  it under the terms of the GNU General Public License version 3, as
11  published by the Free Software Foundation.
12 
13  Rigs of Rods is distributed in the hope that it will be useful,
14  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  GNU General Public License for more details.
17 
18  You should have received a copy of the GNU General Public License
19  along with Rigs of Rods. If not, see <http://www.gnu.org/licenses/>.
20 */
21 
25 
26 #include "Application.h"
27 
28 #include "AppContext.h"
29 #include "CacheSystem.h"
30 #include "CameraManager.h"
31 #include "Console.h"
32 #include "ContentManager.h"
33 #include "DiscordRpc.h"
34 #include "GameContext.h"
35 #include "GfxScene.h"
36 #include "GUIManager.h"
37 #include "InputEngine.h"
38 #include "Language.h"
39 #include "OutGauge.h"
40 #include "OverlayWrapper.h"
41 #include "MumbleIntegration.h"
42 #include "Network.h"
43 #include "ScriptEngine.h"
44 #include "SoundScriptManager.h"
45 #include "Terrain.h"
46 #include "ThreadPool.h"
47 
48 namespace RoR {
49 namespace App {
50 
51 // ------------------------------------------------------------------------------------------------
52 // Global variables
53 // ------------------------------------------------------------------------------------------------
54 
55 // Object instances
58 static CameraManager* g_camera_manager = nullptr;
64 static GUIManager* g_gui_manager = nullptr;
65 static InputEngine* g_input_engine = nullptr;
67 static MumbleIntegration* g_mumble = nullptr;
70 static ScriptEngine* g_script_engine = nullptr;
72 static Terrain* g_sim_terrain = nullptr;
73 static ThreadPool* g_thread_pool = nullptr;
74 #if USE_SOCKETW
76 #endif
77 
78 // App
94 
95 // Simulation
113 
114 // Multiplayer
128 
129 // New remote API
131 
132 // Diagnostic
160 
161 // System
174 
175 // OS command line
187 
188 // Input - Output
207 
208 // Audio
225 
226 // Graphics
263 
264 // Flexbodies
272 
273 // GUI
280 
281 // Instance access
286 Console* GetConsole () { return &g_console;}
289 MumbleIntegration* GetMumble () { return g_mumble; }
299 #if USE_SOCKETW
300  Network* GetNetwork () { return &g_network; }
301 #else
302  Network* GetNetwork () { return nullptr; }
303 #endif
304 
305 // Factories
307 {
310 }
311 
313 {
315  g_gui_manager = new GUIManager();
316 }
317 
319 {
321  g_input_engine = new InputEngine();
322 }
323 
325 {
326 #ifdef USE_MUMBLE // The class is always forward-declared but only defined if USE_MUMBLE is defined
328  g_mumble = new MumbleIntegration();
329 #endif // USE_MUMBLE
330 }
331 
333 {
334  ROR_ASSERT(g_thread_pool == nullptr);
336 }
337 
339 {
342 }
343 
345 {
347  g_gfx_scene.Init();
348 }
349 
351 {
352 #if USE_OPENAL
355 #endif
356 }
357 
359 {
360 #if USE_ANGELSCRIPT
363 #endif
364 }
365 
366 // Cleanup
368 {
369  delete g_overlay_wrapper;
370  g_overlay_wrapper = nullptr;
371 }
372 
374 {
375  delete g_input_engine;
376  g_input_engine = nullptr;
377 }
378 
379 } // namespace App
380 
381 // ------------------------------------------------------------------------------------------------
382 // Global exception handling
383 // ------------------------------------------------------------------------------------------------
384 
385 void HandleGenericException(const std::string& from, BitMask_t flags)
386 {
387  try
388  {
389  throw; // rethrow
390  }
391  catch (Ogre::Exception& oex)
392  {
393  if (flags & HANDLEGENERICEXCEPTION_CONSOLE)
395  else if (flags & HANDLEGENERICEXCEPTION_LOGFILE)
396  LOG(fmt::format("{}: {}", from, oex.getDescription()));
397 #ifdef USE_ANGELSCRIPT
400 #endif
401  }
402  catch (std::exception& stex)
403  {
404  if (flags & HANDLEGENERICEXCEPTION_CONSOLE)
406  else if (flags & HANDLEGENERICEXCEPTION_LOGFILE)
407  LOG(fmt::format("{}: {}", from, stex.what()));
408 #ifdef USE_ANGELSCRIPT
411 #endif
412  }
413  catch (...)
414  {
415  if (flags & HANDLEGENERICEXCEPTION_CONSOLE)
417  else if (flags & HANDLEGENERICEXCEPTION_LOGFILE)
418  LOG(fmt::format("{}: Unknown exception", from));
419 #ifdef USE_ANGELSCRIPT
422 #endif
423  }
424 }
425 
427 {
429 }
430 
431 // ------------------------------------------------------------------------------------------------
432 // Global logging
433 // ------------------------------------------------------------------------------------------------
434 
435 void Log(const char* msg)
436 {
437  Ogre::LogManager::getSingleton().logMessage(msg);
438 }
439 
440 void LogFormat(const char* format, ...)
441 {
442  char buffer[2000] = {};
443 
444  va_list args;
445  va_start(args, format);
446  vsprintf(buffer, format, args);
447  va_end(args);
448 
449  RoR::Log(buffer);
450 }
451 
452 // ------------------------------------------------------------------------------------------------
453 // Global enums
454 // ------------------------------------------------------------------------------------------------
455 
457 {
458  switch (e)
459  {
460  case SimGearboxMode::AUTO: return _LC("SimGearboxMode", "Automatic shift");
461  case SimGearboxMode::SEMI_AUTO: return _LC("SimGearboxMode", "Manual shift with auto clutch");
462  case SimGearboxMode::MANUAL: return _LC("SimGearboxMode", "Fully manual: sequential shift");
463  case SimGearboxMode::MANUAL_STICK: return _LC("SimGearboxMode", "Fully manual: stick shift");
464  case SimGearboxMode::MANUAL_RANGES: return _LC("SimGearboxMode", "Fully manual: stick shift with ranges");
465  default: return "";
466  }
467 }
468 
470 {
471  switch (e)
472  {
473  case GfxFlaresMode::NONE: return _LC("GfxFlaresMode", "None (fastest)");
474  case GfxFlaresMode::NO_LIGHTSOURCES: return _LC("GfxFlaresMode", "No light sources");
475  case GfxFlaresMode::CURR_VEHICLE_HEAD_ONLY: return _LC("GfxFlaresMode", "Only current vehicle, main lights");
476  case GfxFlaresMode::ALL_VEHICLES_HEAD_ONLY: return _LC("GfxFlaresMode", "All vehicles, main lights");
477  case GfxFlaresMode::ALL_VEHICLES_ALL_LIGHTS: return _LC("GfxFlaresMode", "All vehicles, all lights");
478  default: return "";
479  }
480 }
481 
483 {
484  switch (e)
485  {
486  case GfxShadowType::NONE: return _LC("GfxShadowType", "Disabled");
487  case GfxShadowType::PSSM: return _LC("GfxShadowType", "PSSM");
488  default: return "";
489  }
490 }
491 
493 {
494  switch (e)
495  {
496  case GfxSkyMode::SANDSTORM: return _LC("GfxSkyMode", "Sandstorm (fastest)");
497  case GfxSkyMode::CAELUM: return _LC("GfxSkyMode", "Caelum (best looking, slower)");
498  case GfxSkyMode::SKYX: return _LC("GfxSkyMode", "SkyX (best looking, slower)");
499  default: return "";
500  }
501 }
502 
504 {
505  switch (e)
506  {
507  case GfxTexFilter::NONE: return _LC("GfxTexFilter", "None");
508  case GfxTexFilter::BILINEAR: return _LC("GfxTexFilter", "Bilinear");
509  case GfxTexFilter::TRILINEAR: return _LC("GfxTexFilter", "Trilinear");
510  case GfxTexFilter::ANISOTROPIC: return _LC("GfxTexFilter", "Anisotropic");
511  default: return "";
512  }
513 }
514 
516 {
517  switch (e)
518  {
519  case GfxVegetation::NONE: return _LC("GfxVegetation", "None");
520  case GfxVegetation::x20PERC: return _LC("GfxVegetation", "20%");
521  case GfxVegetation::x50PERC: return _LC("GfxVegetation", "50%");
522  case GfxVegetation::FULL: return _LC("GfxVegetation", "Full");
523  default: return "";
524  }
525 }
526 
528 {
529  switch (e)
530  {
531  case GfxWaterMode::NONE: return _LC("GfxWaterMode", "None");
532  case GfxWaterMode::BASIC: return _LC("GfxWaterMode", "Basic (fastest)");
533  case GfxWaterMode::REFLECT: return _LC("GfxWaterMode", "Reflection");
534  case GfxWaterMode::FULL_FAST: return _LC("GfxWaterMode", "Reflection + refraction (speed optimized)");
535  case GfxWaterMode::FULL_HQ: return _LC("GfxWaterMode", "Reflection + refraction (quality optimized)");
536  case GfxWaterMode::HYDRAX: return _LC("GfxWaterMode", "HydraX");
537  default: return "";
538  }
539 }
540 
542 {
543  switch (e)
544  {
545  case GfxExtCamMode::NONE: return _LC("GfxExtCamMode", "None");
546  case GfxExtCamMode::STATIC: return _LC("GfxExtCamMode", "Static");
547  case GfxExtCamMode::PITCHING: return _LC("GfxExtCamMode", "Pitching");
548  default: return "";
549  }
550 }
551 
553 {
554  switch (e)
555  {
556  case IoInputGrabMode::NONE: return _LC("IoInputGrabMode", "None");
557  case IoInputGrabMode::ALL: return _LC("IoInputGrabMode", "All");
558  case IoInputGrabMode::DYNAMIC: return _LC("IoInputGrabMode", "Dynamic");
559  default: return "";
560  }
561 }
562 
564 {
565  switch (e)
566  {
567  case EfxReverbEngine::NONE: return _LC("EfxReverbEngine", "None (no reverb, fastest)");
568  case EfxReverbEngine::REVERB: return _LC("EfxReverbEngine", "REVERB");
569  case EfxReverbEngine::EAXREVERB: return _LC("EfxReverbEngine", "EAXREVERB (more realistic effects, slower)");
570  default: return "";
571  }
572 }
573 
575 {
576  switch (e)
577  {
578  case SimResetMode::HARD: return _LC("SimResetMode", "Hard");
579  case SimResetMode::SOFT: return _LC("SimResetMode", "Soft");
580  default: return "";
581  }
582 }
583 
585 {
586  switch (e)
587  {
588  case UiPreset::NOVICE: return _LC("UiPreset", "Novice");
589  case UiPreset::REGULAR: return _LC("UiPreset", "Regular");
590  case UiPreset::EXPERT: return _LC("UiPreset", "Expert");
591  case UiPreset::MINIMALLIST: return _LC("UiPreset", "Minimallist");
592  default: return "";
593  }
594 }
595 
596 const char* MsgTypeToString(MsgType type)
597 {
598  switch (type)
599  {
600  case MSG_APP_SHUTDOWN_REQUESTED : return "MSG_APP_SHUTDOWN_REQUESTED";
601  case MSG_APP_SCREENSHOT_REQUESTED : return "MSG_APP_SCREENSHOT_REQUESTED";
602  case MSG_APP_DISPLAY_FULLSCREEN_REQUESTED : return "MSG_APP_DISPLAY_FULLSCREEN_REQUESTED";
603  case MSG_APP_DISPLAY_WINDOWED_REQUESTED : return "MSG_APP_DISPLAY_WINDOWED_REQUESTED";
604  case MSG_APP_MODCACHE_LOAD_REQUESTED : return "MSG_APP_MODCACHE_LOAD_REQUESTED";
605  case MSG_APP_MODCACHE_UPDATE_REQUESTED : return "MSG_APP_MODCACHE_UPDATE_REQUESTED";
606  case MSG_APP_MODCACHE_PURGE_REQUESTED : return "MSG_APP_MODCACHE_PURGE_REQUESTED";
607  case MSG_APP_LOAD_SCRIPT_REQUESTED : return "MSG_APP_LOAD_SCRIPT_REQUESTED";
608  case MSG_APP_UNLOAD_SCRIPT_REQUESTED : return "MSG_APP_UNLOAD_SCRIPT_REQUESTED";
609  case MSG_APP_SCRIPT_THREAD_STATUS : return "MSG_APP_SCRIPT_THREAD_STATUS";
610  case MSG_APP_REINIT_INPUT_REQUESTED : return "MSG_APP_REINIT_INPUT_REQUESTED";
611 
612  case MSG_NET_CONNECT_REQUESTED : return "MSG_NET_CONNECT_REQUESTED";
613  case MSG_NET_CONNECT_STARTED : return "MSG_NET_CONNECT_STARTED";
614  case MSG_NET_CONNECT_PROGRESS : return "MSG_NET_CONNECT_PROGRESS";
615  case MSG_NET_CONNECT_SUCCESS : return "MSG_NET_CONNECT_SUCCESS";
616  case MSG_NET_CONNECT_FAILURE : return "MSG_NET_CONNECT_FAILURE";
617  case MSG_NET_SERVER_KICK : return "MSG_NET_SERVER_KICK";
618  case MSG_NET_DISCONNECT_REQUESTED : return "MSG_NET_DISCONNECT_REQUESTED";
619  case MSG_NET_USER_DISCONNECT : return "MSG_NET_USER_DISCONNECT";
620  case MSG_NET_RECV_ERROR : return "MSG_NET_RECV_ERROR";
621  case MSG_NET_REFRESH_SERVERLIST_SUCCESS : return "MSG_NET_REFRESH_SERVERLIST_SUCCESS";
622  case MSG_NET_REFRESH_SERVERLIST_FAILURE : return "MSG_NET_REFRESH_SERVERLIST_FAILURE";
623  case MSG_NET_REFRESH_REPOLIST_SUCCESS : return "MSG_NET_REFRESH_REPOLIST_SUCCESS";
624  case MSG_NET_OPEN_RESOURCE_SUCCESS : return "MSG_NET_OPEN_RESOURCE_SUCCESS";
625  case MSG_NET_REFRESH_REPOLIST_FAILURE : return "MSG_NET_REFRESH_REPOLIST_FAILURE";
626  case MSG_NET_FETCH_AI_PRESETS_SUCCESS : return "MSG_NET_FETCH_AI_PRESETS_SUCCESS";
627  case MSG_NET_FETCH_AI_PRESETS_FAILURE : return "MSG_NET_FETCH_AI_PRESETS_FAILURE";
628  case MSG_NET_ADD_PEEROPTIONS_REQUESTED : return "MSG_NET_ADD_PEEROPTIONS_REQUESTED";
629  case MSG_NET_REMOVE_PEEROPTIONS_REQUESTED : return "MSG_NET_REMOVE_PEEROPTIONS_REQUESTED";
630 
631  case MSG_SIM_PAUSE_REQUESTED : return "MSG_SIM_PAUSE_REQUESTED";
632  case MSG_SIM_UNPAUSE_REQUESTED : return "MSG_SIM_UNPAUSE_REQUESTED";
633  case MSG_SIM_LOAD_TERRN_REQUESTED : return "MSG_SIM_LOAD_TERRN_REQUESTED";
634  case MSG_SIM_LOAD_SAVEGAME_REQUESTED : return "MSG_SIM_LOAD_SAVEGAME_REQUESTED";
635  case MSG_SIM_UNLOAD_TERRN_REQUESTED : return "MSG_SIM_UNLOAD_TERRN_REQUESTED";
636  case MSG_SIM_SPAWN_ACTOR_REQUESTED : return "MSG_SIM_SPAWN_ACTOR_REQUESTED";
637  case MSG_SIM_MODIFY_ACTOR_REQUESTED : return "MSG_SIM_MODIFY_ACTOR_REQUESTED";
638  case MSG_SIM_DELETE_ACTOR_REQUESTED : return "MSG_SIM_DELETE_ACTOR_REQUESTED";
639  case MSG_SIM_SEAT_PLAYER_REQUESTED : return "MSG_SIM_SEAT_PLAYER_REQUESTED";
640  case MSG_SIM_TELEPORT_PLAYER_REQUESTED : return "MSG_SIM_TELEPORT_PLAYER_REQUESTED";
641  case MSG_SIM_HIDE_NET_ACTOR_REQUESTED : return "MSG_SIM_HIDE_NET_ACTOR_REQUESTED";
642  case MSG_SIM_UNHIDE_NET_ACTOR_REQUESTED : return "MSG_SIM_UNHIDE_NET_ACTOR_REQUESTED";
643  case MSG_SIM_MUTE_NET_ACTOR_REQUESTED : return "MSG_SIM_MUTE_NET_ACTOR_REQUESTED";
644  case MSG_SIM_UNMUTE_NET_ACTOR_REQUESTED : return "MSG_SIM_UNMUTE_NET_ACTOR_REQUESTED";
645  case MSG_SIM_SCRIPT_EVENT_TRIGGERED : return "MSG_SIM_SCRIPT_EVENT_TRIGGERED";
646  case MSG_SIM_SCRIPT_CALLBACK_QUEUED : return "MSG_SIM_SCRIPT_CALLBACK_QUEUED";
647  case MSG_SIM_ACTOR_LINKING_REQUESTED : return "MSG_SIM_ACTOR_LINKING_REQUESTED";
648  case MSG_SIM_ADD_FREEFORCE_REQUESTED : return "MSG_SIM_ADD_FREEFORCE_REQUESTED";
649  case MSG_SIM_MODIFY_FREEFORCE_REQUESTED : return "MSG_SIM_MODIFY_FREEFORCE_REQUESTED";
650  case MSG_SIM_REMOVE_FREEFORCE_REQUESTED : return "MSG_SIM_REMOVE_FREEFORCE_REQUESTED";
651 
652  case MSG_GUI_OPEN_MENU_REQUESTED : return "MSG_GUI_OPEN_MENU_REQUESTED";
653  case MSG_GUI_CLOSE_MENU_REQUESTED : return "MSG_GUI_CLOSE_MENU_REQUESTED";
654  case MSG_GUI_OPEN_SELECTOR_REQUESTED : return "MSG_GUI_OPEN_SELECTOR_REQUESTED";
655  case MSG_GUI_CLOSE_SELECTOR_REQUESTED : return "MSG_GUI_CLOSE_SELECTOR_REQUESTED";
656  case MSG_GUI_MP_CLIENTS_REFRESH : return "MSG_GUI_MP_CLIENTS_REFRESH";
657  case MSG_GUI_SHOW_MESSAGE_BOX_REQUESTED : return "MSG_GUI_SHOW_MESSAGE_BOX_REQUESTED";
658  case MSG_GUI_HIDE_MESSAGE_BOX_REQUESTED : return "MSG_GUI_HIDE_MESSAGE_BOX_REQUESTED";
659  case MSG_GUI_DOWNLOAD_PROGRESS : return "MSG_GUI_DOWNLOAD_PROGRESS";
660  case MSG_GUI_DOWNLOAD_FINISHED : return "MSG_GUI_DOWNLOAD_FINISHED";
661  case MSG_GUI_REFRESH_TUNING_MENU_REQUESTED: return "MSG_GUI_REFRESH_TUNING_MENU_REQUESTED";
662 
663  case MSG_EDI_MODIFY_GROUNDMODEL_REQUESTED : return "MSG_EDI_MODIFY_GROUNDMODEL_REQUESTED";
664  case MSG_EDI_ENTER_TERRN_EDITOR_REQUESTED : return "MSG_EDI_ENTER_TERRN_EDITOR_REQUESTED";
665  case MSG_EDI_LEAVE_TERRN_EDITOR_REQUESTED : return "MSG_EDI_LEAVE_TERRN_EDITOR_REQUESTED";
666  case MSG_EDI_LOAD_BUNDLE_REQUESTED : return "MSG_EDI_LOAD_BUNDLE_REQUESTED";
667  case MSG_EDI_RELOAD_BUNDLE_REQUESTED : return "MSG_EDI_RELOAD_BUNDLE_REQUESTED";
668  case MSG_EDI_UNLOAD_BUNDLE_REQUESTED : return "MSG_EDI_UNLOAD_BUNDLE_REQUESTED";
669  case MSG_EDI_CREATE_PROJECT_REQUESTED : return "MSG_EDI_CREATE_PROJECT_REQUESTED";
670  case MSG_EDI_MODIFY_PROJECT_REQUESTED : return "MSG_EDI_MODIFY_PROJECT_REQUESTED";
671  case MSG_EDI_DELETE_PROJECT_REQUESTED : return "MSG_EDI_DELETE_PROJECT_REQUESTED";
672  case MSG_EDI_ADD_FREEBEAMGFX_REQUESTED : return "MSG_EDI_ADD_FREEBEAMGFX_REQUESTED";
673  case MSG_EDI_MODIFY_FREEBEAMGFX_REQUESTED : return "MSG_EDI_MODIFY_FREEBEAMGFX_REQUESTED";
674  case MSG_EDI_DELETE_FREEBEAMGFX_REQUESTED : return "MSG_EDI_DELETE_FREEBEAMGFX_REQUESTED";
675 
676  default: return "";
677  }
678 }
679 
681 {
682  switch (val)
683  {
684  case TObjSpecialObject::TRUCK: return "truck";
685  case TObjSpecialObject::LOAD: return "load";
686  case TObjSpecialObject::MACHINE: return "machine";
687  case TObjSpecialObject::BOAT: return "boat";
688  case TObjSpecialObject::TRUCK2: return "truck2";
689  case TObjSpecialObject::GRID: return "grid";
690  case TObjSpecialObject::ROAD: return "road";
691  case TObjSpecialObject::ROAD_BORDER_LEFT: return "roadborderleft";
692  case TObjSpecialObject::ROAD_BORDER_RIGHT: return "roadborderright";
693  case TObjSpecialObject::ROAD_BORDER_BOTH: return "roadborderboth";
694  case TObjSpecialObject::ROAD_BRIDGE_NO_PILLARS: return "roadbridgenopillar";
695  case TObjSpecialObject::ROAD_BRIDGE: return "roadbridge";
696  default: return "";
697  }
698 }
699 
700 } // namespace RoR
701 
702 namespace RigDef
703 {
704 
706 {
707  // PLEASE maintain alphabetical order!
708 
709  switch (keyword)
710  {
711  case Keyword::ADD_ANIMATION: return "add_animation";
712  case Keyword::AIRBRAKES: return "airbrakes";
713  case Keyword::ANIMATORS: return "animators";
714  case Keyword::ANTILOCKBRAKES: return "antilockbrakes";
715  case Keyword::AUTHOR: return "author";
716  case Keyword::AXLES: return "axles";
717  case Keyword::BEAMS: return "beams";
718  case Keyword::BRAKES: return "brakes";
719  case Keyword::CAB: return "cab";
720  case Keyword::CAMERAS: return "cameras";
721  case Keyword::CAMERARAIL: return "camerarail";
722  case Keyword::CINECAM: return "cinecam";
723  case Keyword::COLLISIONBOXES: return "collisionboxes";
724  case Keyword::COMMANDS: return "commands";
725  case Keyword::COMMANDS2: return "commands2";
726  case Keyword::COMMENT: return "comment";
727  case Keyword::CONTACTERS: return "contacters";
728  case Keyword::CRUISECONTROL: return "cruisecontrol";
729  case Keyword::DESCRIPTION: return "description";
730  case Keyword::DETACHER_GROUP: return "detacher_group";
731  case Keyword::DISABLEDEFAULTSOUNDS: return "disabledefaultsounds";
732  case Keyword::ENABLE_ADVANCED_DEFORMATION: return "enable_advanced_deformation";
733  case Keyword::END: return "end";
734  case Keyword::END_COMMENT: return "end_comment";
735  case Keyword::END_DESCRIPTION: return "end_description";
736  case Keyword::END_SECTION: return "end_section";
737  case Keyword::ENGINE: return "engine";
738  case Keyword::ENGOPTION: return "engoption";
739  case Keyword::ENGTURBO: return "engturbo";
740  case Keyword::EXHAUSTS: return "exhausts";
741  case Keyword::EXTCAMERA: return "extcamera";
742  case Keyword::FILEINFO: return "fileinfo";
743  case Keyword::FILEFORMATVERSION: return "fileformatversion";
744  case Keyword::FIXES: return "fixes";
745  case Keyword::FLARES: return "flares";
746  case Keyword::FLARES2: return "flares2";
747  case Keyword::FLARES3: return "flares3";
748  case Keyword::FLAREGROUPS_NO_IMPORT:return "flaregroups_no_import";
749  case Keyword::FLEXBODIES: return "flexbodies";
750  case Keyword::FLEXBODY_CAMERA_MODE: return "flexbody_camera_mode";
751  case Keyword::FLEXBODYWHEELS: return "flexbodywheels";
752  case Keyword::FORSET: return "forset";
753  case Keyword::FORWARDCOMMANDS: return "forwardcommands";
754  case Keyword::FUSEDRAG: return "fusedrag";
755  case Keyword::GLOBALS: return "globals";
756  case Keyword::GUID: return "guid";
757  case Keyword::GUISETTINGS: return "guisettings";
758  case Keyword::HELP: return "help";
759  case Keyword::HIDEINCHOOSER: return "hideinchooser";
760  case Keyword::HOOKGROUP: return "hookgroup";
761  case Keyword::HOOKS: return "hooks";
762  case Keyword::HYDROS: return "hydros";
763  case Keyword::IMPORTCOMMANDS: return "importcommands";
764  case Keyword::INTERAXLES: return "interaxles";
765  case Keyword::LOCKGROUPS: return "lockgroups";
766  case Keyword::LOCKGROUP_DEFAULT_NOLOCK: return "lockgroup_default_nolock";
767  case Keyword::MANAGEDMATERIALS: return "managedmaterials";
768  case Keyword::MATERIALFLAREBINDINGS: return "materialflarebindings";
769  case Keyword::MESHWHEELS: return "meshwheels";
770  case Keyword::MESHWHEELS2: return "meshwheels2";
771  case Keyword::MINIMASS: return "minimass";
772  case Keyword::NODES: return "nodes";
773  case Keyword::NODES2: return "nodes2";
774  case Keyword::PARTICLES: return "particles";
775  case Keyword::PISTONPROPS: return "pistonprops";
776  case Keyword::PROP_CAMERA_MODE: return "prop_camera_mode";
777  case Keyword::PROPS: return "props";
778  case Keyword::RAILGROUPS: return "railgroups";
779  case Keyword::RESCUER: return "rescuer";
780  case Keyword::RIGIDIFIERS: return "rigidifiers";
781  case Keyword::ROLLON: return "rollon";
782  case Keyword::ROPABLES: return "ropables";
783  case Keyword::ROPES: return "ropes";
784  case Keyword::ROTATORS: return "rotators";
785  case Keyword::ROTATORS2: return "rotators2";
786  case Keyword::SCREWPROPS: return "screwprops";
787  case Keyword::SECTION: return "section";
788  case Keyword::SECTIONCONFIG: return "sectionconfig";
789  case Keyword::SET_BEAM_DEFAULTS: return "set_beam_defaults";
790  case Keyword::SET_BEAM_DEFAULTS_SCALE: return "set_beam_defaults_scale";
791  case Keyword::SET_COLLISION_RANGE: return "set_collision_range";
792  case Keyword::SET_DEFAULT_MINIMASS: return "set_default_minimass";
793  case Keyword::SET_INERTIA_DEFAULTS: return "set_inertia_defaults";
794  case Keyword::SET_MANAGEDMATERIALS_OPTIONS: return "set_managedmaterials_options";
795  case Keyword::SET_NODE_DEFAULTS: return "set_node_defaults";
796  case Keyword::SET_SHADOWS: return "set_shadows";
797  case Keyword::SET_SKELETON_SETTINGS: return "set_skeleton_settings";
798  case Keyword::SHOCKS: return "shocks";
799  case Keyword::SHOCKS2: return "shocks2";
800  case Keyword::SHOCKS3: return "shocks3";
801  case Keyword::SLIDENODE_CONNECT_INSTANTLY: return "slidenode_connect_instantly";
802  case Keyword::SLIDENODES: return "slidenodes";
803  case Keyword::SLOPE_BRAKE: return "SlopeBrake";
804  case Keyword::SOUNDSOURCES: return "soundsources";
805  case Keyword::SOUNDSOURCES2: return "soundsources2";
806  case Keyword::SPEEDLIMITER: return "speedlimiter";
807  case Keyword::SUBMESH: return "submesh";
808  case Keyword::SUBMESH_GROUNDMODEL: return "submesh_groundmodel";
809  case Keyword::TEXCOORDS: return "texcoords";
810  case Keyword::TIES: return "ties";
811  case Keyword::TORQUECURVE: return "torquecurve";
812  case Keyword::TRACTIONCONTROL: return "tractioncontrol";
813  case Keyword::TRANSFERCASE: return "transfercase";
814  case Keyword::TRIGGERS: return "triggers";
815  case Keyword::TURBOJETS: return "turbojets";
816  case Keyword::TURBOPROPS: return "turboprops";
817  case Keyword::TURBOPROPS2: return "turboprops2";
818  case Keyword::VIDEOCAMERA: return "videocamera";
819  case Keyword::WHEELDETACHERS: return "wheeldetachers";
820  case Keyword::WHEELS: return "wheels";
821  case Keyword::WHEELS2: return "wheels2";
822  case Keyword::WINGS: return "wings";
823 
824  default: return "";
825  }
826 }
827 
828 } // namespace RigDef
RoR::InputEngine
Manages controller configuration, evaluates input events.
Definition: InputEngine.h:460
RoR::App::sys_user_dir
CVar * sys_user_dir
Definition: Application.cpp:163
RoR::MSG_EDI_MODIFY_PROJECT_REQUESTED
@ MSG_EDI_MODIFY_PROJECT_REQUESTED
Payload = RoR::UpdateProjectRequest* (owner)
Definition: Application.h:156
ROR_ASSERT
#define ROR_ASSERT(_EXPR)
Definition: Application.h:40
GameContext.h
Game state manager and message-queue provider.
RigDef::Keyword::ROPES
@ ROPES
RoR::App::diag_truck_mass
CVar * diag_truck_mass
Definition: Application.cpp:137
RoR::App::CreateMumble
void CreateMumble()
Definition: Application.cpp:324
RoR::App::io_invert_orbitcam
CVar * io_invert_orbitcam
Definition: Application.cpp:206
RoR::MSG_SIM_LOAD_TERRN_REQUESTED
@ MSG_SIM_LOAD_TERRN_REQUESTED
Definition: Application.h:118
RigDef::Keyword::ROPABLES
@ ROPABLES
RoR::App::gfx_envmap_rate
CVar * gfx_envmap_rate
Definition: Application.cpp:245
RoR::App::diag_rig_log_node_import
CVar * diag_rig_log_node_import
Definition: Application.cpp:135
RigDef::Keyword::COMMANDS
@ COMMANDS
RoR::GfxSkyMode::SANDSTORM
@ SANDSTORM
Sandstorm (fastest)
RoR::App::CreateScriptEngine
void CreateScriptEngine()
Definition: Application.cpp:358
RoR::App::sim_quickload_dialog
CVar * sim_quickload_dialog
Definition: Application.cpp:110
RoR::App::audio_doppler_factor
CVar * audio_doppler_factor
Definition: Application.cpp:222
RoR::App::gfx_polygon_mode
CVar * gfx_polygon_mode
Definition: Application.cpp:228
RigDef::Keyword::SPEEDLIMITER
@ SPEEDLIMITER
RoR::ScriptEngine
This class represents the angelscript scripting interface.
Definition: ScriptEngine.h:175
RoR::App::GetNetwork
Network * GetNetwork()
Definition: Application.cpp:300
RoR::MSG_SIM_REMOVE_FREEFORCE_REQUESTED
@ MSG_SIM_REMOVE_FREEFORCE_REQUESTED
Payload = RoR::FreeForceID_t* (owner)
Definition: Application.h:135
RoR::App::cli_force_cache_update
CVar * cli_force_cache_update
Definition: Application.cpp:184
RoR::App::GetContentManager
ContentManager * GetContentManager()
Definition: Application.cpp:283
RoR::App::GetSoundScriptManager
SoundScriptManager * GetSoundScriptManager()
Definition: Application.cpp:293
RigDef::Keyword::NODES
@ NODES
RigDef::Keyword::SLIDENODE_CONNECT_INSTANTLY
@ SLIDENODE_CONNECT_INSTANTLY
RigDef::Keyword::TEXCOORDS
@ TEXCOORDS
RoR::MSG_GUI_SHOW_MESSAGE_BOX_REQUESTED
@ MSG_GUI_SHOW_MESSAGE_BOX_REQUESTED
Payload = MessageBoxConfig* (owner)
Definition: Application.h:142
RigDef::Keyword::SECTION
@ SECTION
RoR::SimResetMode
SimResetMode
Definition: Application.h:429
RigDef::Keyword::LOCKGROUP_DEFAULT_NOLOCK
@ LOCKGROUP_DEFAULT_NOLOCK
RoR::App::sim_replay_stepping
CVar * sim_replay_stepping
Definition: Application.cpp:103
RoR::App::diag_warning_texture
CVar * diag_warning_texture
Definition: Application.cpp:151
RoR::App::GetLanguageEngine
LanguageEngine * GetLanguageEngine()
Definition: Application.cpp:294
RigDef::Keyword::ROLLON
@ ROLLON
RigDef::Keyword::SOUNDSOURCES
@ SOUNDSOURCES
RoR::App::gfx_speedo_imperial
CVar * gfx_speedo_imperial
Definition: Application.cpp:257
RigDef::Keyword::SET_NODE_DEFAULTS
@ SET_NODE_DEFAULTS
RoR::App::gfx_fov_internal
CVar * gfx_fov_internal
Definition: Application.cpp:252
RoR::CameraManager
Definition: CameraManager.h:37
RigDef::Keyword::COMMENT
@ COMMENT
RigDef::Keyword::PISTONPROPS
@ PISTONPROPS
RoR::App::CreateCameraManager
void CreateCameraManager()
Definition: Application.cpp:338
RoR::MSG_SIM_MODIFY_ACTOR_REQUESTED
@ MSG_SIM_MODIFY_ACTOR_REQUESTED
Payload = RoR::ActorModifyRequest* (owner)
Definition: Application.h:122
RigDef::Keyword::VIDEOCAMERA
@ VIDEOCAMERA
RoR::App::mp_hide_net_labels
CVar * mp_hide_net_labels
Definition: Application.cpp:118
RigDef::Keyword::CAMERAS
@ CAMERAS
RoR::App::diag_preset_vehicle
CVar * diag_preset_vehicle
Definition: Application.cpp:143
RigDef::Keyword::FUSEDRAG
@ FUSEDRAG
RoR::MACHINE
@ MACHINE
its a machine
Definition: SimData.h:88
RigDef::Keyword::ANIMATORS
@ ANIMATORS
RoR::App::g_input_engine
static InputEngine * g_input_engine
Definition: Application.cpp:65
OverlayWrapper.h
RigDef::Keyword::PROP_CAMERA_MODE
@ PROP_CAMERA_MODE
RoR::App::cli_resume_autosave
CVar * cli_resume_autosave
Definition: Application.cpp:185
RigDef::Keyword::CAMERARAIL
@ CAMERARAIL
RoR::MSG_EDI_RELOAD_BUNDLE_REQUESTED
@ MSG_EDI_RELOAD_BUNDLE_REQUESTED
Payload = RoR::CacheEntryPtr* (owner)
Definition: Application.h:153
RoR::App::g_overlay_wrapper
static OverlayWrapper * g_overlay_wrapper
Definition: Application.cpp:68
RoR::MSG_APP_REINIT_INPUT_REQUESTED
@ MSG_APP_REINIT_INPUT_REQUESTED
Definition: Application.h:95
RoR::TRUCK
@ TRUCK
its a truck (or other land vehicle)
Definition: SimData.h:85
RoR::GfxShadowType::NONE
@ NONE
RoR::App::sys_resources_dir
CVar * sys_resources_dir
Definition: Application.cpp:168
RoR::App::g_camera_manager
static CameraManager * g_camera_manager
Definition: Application.cpp:58
RoR::MSG_SIM_SCRIPT_CALLBACK_QUEUED
@ MSG_SIM_SCRIPT_CALLBACK_QUEUED
Payload = RoR::ScriptCallbackArgs* (owner)
Definition: Application.h:131
RigDef::Keyword::BRAKES
@ BRAKES
RoR::App::sys_scripts_dir
CVar * sys_scripts_dir
Definition: Application.cpp:172
RigDef::Keyword::TURBOPROPS
@ TURBOPROPS
RoR::App::audio_enable_occlusion
CVar * audio_enable_occlusion
Definition: Application.cpp:212
RigDef::Keyword::DESCRIPTION
@ DESCRIPTION
RoR::App::io_discord_rpc
CVar * io_discord_rpc
Definition: Application.cpp:205
RoR::MSG_NET_USER_DISCONNECT
@ MSG_NET_USER_DISCONNECT
Definition: Application.h:104
RigDef::Keyword::TRANSFERCASE
@ TRANSFERCASE
RoR::App::audio_default_efx_preset
CVar * audio_default_efx_preset
Definition: Application.cpp:218
RoR::App::GetCameraManager
CameraManager * GetCameraManager()
Definition: Application.cpp:291
RoR::App::diag_actor_dump
CVar * diag_actor_dump
Definition: Application.cpp:158
RoR::App::app_skip_main_menu
CVar * app_skip_main_menu
Definition: Application.cpp:82
RoR::App::GetGuiManager
GUIManager * GetGuiManager()
Definition: Application.cpp:285
RoR::App::mp_api_url
CVar * mp_api_url
Definition: Application.cpp:126
RoR::App::diag_hide_broken_beams
CVar * diag_hide_broken_beams
Definition: Application.cpp:152
RoR::MSG_EDI_CREATE_PROJECT_REQUESTED
@ MSG_EDI_CREATE_PROJECT_REQUESTED
Payload = RoR::CreateProjectRequest* (owner)
Definition: Application.h:155
RoR::App::sim_soft_reset_mode
CVar * sim_soft_reset_mode
Definition: Application.cpp:109
RigDef::Keyword::SHOCKS
@ SHOCKS
RigDef::Keyword::GUID
@ GUID
RoR::SimResetMode::SOFT
@ SOFT
RoR::UiPreset
UiPreset
See UiPresets[] list in GUIManager.cpp (declared extern in GUIManager.h)
Definition: Application.h:438
RigDef::Keyword::MINIMASS
@ MINIMASS
RoR::App::audio_engine_controls_environmental_audio
CVar * audio_engine_controls_environmental_audio
Definition: Application.cpp:216
RoR::GfxExtCamMode::PITCHING
@ PITCHING
RoR::MSG_EDI_UNLOAD_BUNDLE_REQUESTED
@ MSG_EDI_UNLOAD_BUNDLE_REQUESTED
Payload = RoR::CacheEntryPtr* (owner)
Definition: Application.h:154
RoR::App::mp_player_name
CVar * mp_player_name
Definition: Application.cpp:124
RoR::App::g_script_engine
static ScriptEngine * g_script_engine
Definition: Application.cpp:70
RoR::App::mp_player_token
CVar * mp_player_token
Definition: Application.cpp:125
RoR::HandleMsgQueueException
void HandleMsgQueueException(MsgType from)
Definition: Application.cpp:426
RoR::GfxTexFilter::ANISOTROPIC
@ ANISOTROPIC
RigDef::Keyword::NODES2
@ NODES2
RigDef::Keyword::END_COMMENT
@ END_COMMENT
RoR::App::gfx_fixed_cam_tracking
CVar * gfx_fixed_cam_tracking
Definition: Application.cpp:255
RoR::MSG_SIM_UNLOAD_TERRN_REQUESTED
@ MSG_SIM_UNLOAD_TERRN_REQUESTED
Definition: Application.h:120
ContentManager.h
RoR::GfxWaterMode
GfxWaterMode
Definition: Application.h:394
RigDef::Keyword::FLEXBODYWHEELS
@ FLEXBODYWHEELS
RoR::App::gfx_skidmarks_mode
CVar * gfx_skidmarks_mode
Definition: Application.cpp:247
ThreadPool.h
RoR::App::cli_preset_vehicle
CVar * cli_preset_vehicle
Definition: Application.cpp:178
RoR::App::GetAppContext
AppContext * GetAppContext()
Definition: Application.cpp:282
RoR::MSG_GUI_CLOSE_SELECTOR_REQUESTED
@ MSG_GUI_CLOSE_SELECTOR_REQUESTED
Definition: Application.h:140
RoR::App::sim_live_repair_interval
CVar * sim_live_repair_interval
Hold EV_COMMON_REPAIR_TRUCK to enter LiveRepair mode. 0 or negative interval disables.
Definition: Application.cpp:111
format
Truck file format(technical spec)
RoR::App::app_language
CVar * app_language
Definition: Application.cpp:80
RigDef::Keyword::HOOKS
@ HOOKS
RoR::MSG_SIM_UNPAUSE_REQUESTED
@ MSG_SIM_UNPAUSE_REQUESTED
Definition: Application.h:117
RoR::App::diag_simple_materials
CVar * diag_simple_materials
Definition: Application.cpp:150
RoR::TObjSpecialObject
TObjSpecialObject
Definition: Application.h:568
RoR::MSG_NET_CONNECT_STARTED
@ MSG_NET_CONNECT_STARTED
Definition: Application.h:98
RoR::MSG_GUI_DOWNLOAD_PROGRESS
@ MSG_GUI_DOWNLOAD_PROGRESS
Definition: Application.h:144
RoR::App::app_force_cache_update
CVar * app_force_cache_update
Definition: Application.cpp:89
RoR::HandleGenericException
void HandleGenericException(const std::string &from, BitMask_t flags)
Definition: Application.cpp:385
RigDef::Keyword::AIRBRAKES
@ AIRBRAKES
RigDef::Keyword::AUTHOR
@ AUTHOR
RoR::App::gfx_shadow_type
CVar * gfx_shadow_type
Definition: Application.cpp:229
RigDef::Keyword::SET_DEFAULT_MINIMASS
@ SET_DEFAULT_MINIMASS
RoR::App::mp_join_on_startup
CVar * mp_join_on_startup
Definition: Application.cpp:116
RigDef::Keyword::TORQUECURVE
@ TORQUECURVE
RoR::App::gfx_particles_mode
CVar * gfx_particles_mode
Definition: Application.cpp:239
RigDef::Keyword::GLOBALS
@ GLOBALS
RoR::App::gfx_flexbody_cache
CVar * gfx_flexbody_cache
Definition: Application.cpp:258
RoR::App::g_game_context
static GameContext g_game_context
Definition: Application.cpp:62
RoR::App::gfx_extcam_mode
CVar * gfx_extcam_mode
Definition: Application.cpp:230
RoR::App::CreateInputEngine
void CreateInputEngine()
Definition: Application.cpp:318
RigDef::Keyword::INTERAXLES
@ INTERAXLES
RoR::App::gfx_enable_videocams
CVar * gfx_enable_videocams
Definition: Application.cpp:240
RigDef::Keyword::PARTICLES
@ PARTICLES
RoR::App::CreateSoundScriptManager
void CreateSoundScriptManager()
Definition: Application.cpp:350
RoR::App::GetOverlayWrapper
OverlayWrapper * GetOverlayWrapper()
Definition: Application.cpp:284
CameraManager.h
RoR::App::app_num_workers
CVar * app_num_workers
Definition: Application.cpp:84
RoR::MsgTypeToString
const char * MsgTypeToString(MsgType type)
Definition: Application.cpp:596
RoR::LogFormat
void LogFormat(const char *format,...)
Improved logging utility. Uses fixed 2Kb buffer.
Definition: Application.cpp:440
RoR::App::gfx_enable_rtshaders
CVar * gfx_enable_rtshaders
Definition: Application.cpp:260
RoR::App::cli_server_host
CVar * cli_server_host
Definition: Application.cpp:176
RoR::App::io_analog_sensitivity
CVar * io_analog_sensitivity
Definition: Application.cpp:190
RoR::App::sim_replay_length
CVar * sim_replay_length
Definition: Application.cpp:102
RoR::SoundScriptManager
Definition: SoundScriptManager.h:293
RigDef::Keyword::SCREWPROPS
@ SCREWPROPS
RoR::App::io_outgauge_port
CVar * io_outgauge_port
Definition: Application.cpp:202
RoR::App::app_rendersys_override
CVar * app_rendersys_override
Definition: Application.cpp:86
RoR::App::ui_default_boat_dash
CVar * ui_default_boat_dash
string; name of the '.dashboard' file in modcache.
Definition: Application.cpp:279
AppContext.h
System integration layer; inspired by OgreBites::ApplicationContext.
RoR::MSG_NET_REFRESH_SERVERLIST_FAILURE
@ MSG_NET_REFRESH_SERVERLIST_FAILURE
Payload = RoR::CurlFailInfo* (owner)
Definition: Application.h:107
Console.h
RoR::GfxWaterMode::NONE
@ NONE
None.
RoR::App::gfx_fov_external_default
CVar * gfx_fov_external_default
Definition: Application.cpp:251
RoR::Console::putMessage
void putMessage(MessageArea area, MessageType type, std::string const &msg, std::string icon="")
Definition: Console.cpp:103
RigDef::Keyword::SLOPE_BRAKE
@ SLOPE_BRAKE
RoR::App::sim_no_self_collisions
CVar * sim_no_self_collisions
Definition: Application.cpp:107
RoR::App::g_discord_rpc
static DiscordRpc g_discord_rpc
Definition: Application.cpp:61
RoR::MSG_NET_RECV_ERROR
@ MSG_NET_RECV_ERROR
Definition: Application.h:105
RigDef::Keyword::ENGOPTION
@ ENGOPTION
RoR::App::sys_profiler_dir
CVar * sys_profiler_dir
Definition: Application.cpp:169
RoR::App::ui_preset
CVar * ui_preset
enum RoR::UiPreset
Definition: Application.cpp:276
RoR::App::io_ffb_enabled
CVar * io_ffb_enabled
Definition: Application.cpp:192
RoR::App::gfx_static_cam_fov_exp
CVar * gfx_static_cam_fov_exp
Definition: Application.cpp:254
RoR::ScriptEngine::forwardExceptionAsScriptEvent
void forwardExceptionAsScriptEvent(const std::string &from)
Forwards useful info from C++ try{}catch{} exceptions to script in the form of game event.
Definition: ScriptEngine.cpp:247
RoR::App::cli_preset_spawn_rot
CVar * cli_preset_spawn_rot
Definition: Application.cpp:182
RoR::MSG_APP_LOAD_SCRIPT_REQUESTED
@ MSG_APP_LOAD_SCRIPT_REQUESTED
Payload = RoR::LoadScriptRequest* (owner)
Definition: Application.h:92
RoR::App::app_country
CVar * app_country
Definition: Application.cpp:81
RigDef::Keyword::MANAGEDMATERIALS
@ MANAGEDMATERIALS
RigDef::Keyword::SECTIONCONFIG
@ SECTIONCONFIG
RoR::App::sim_state
CVar * sim_state
Definition: Application.cpp:96
RoR::App::diag_hide_beam_stress
CVar * diag_hide_beam_stress
Definition: Application.cpp:153
RoR::App::sys_logs_dir
CVar * sys_logs_dir
Definition: Application.cpp:167
RoR::App::app_disable_online_api
CVar * app_disable_online_api
Definition: Application.cpp:90
RoR::ContentManager
Definition: ContentManager.h:35
RoR::App::audio_enable_reflection_panning
CVar * audio_enable_reflection_panning
Definition: Application.cpp:214
RoR::App::gfx_texture_filter
CVar * gfx_texture_filter
Definition: Application.cpp:234
Language.h
RoR::App::sys_savegames_dir
CVar * sys_savegames_dir
Definition: Application.cpp:170
RoR::MSG_NET_CONNECT_REQUESTED
@ MSG_NET_CONNECT_REQUESTED
Definition: Application.h:97
RoR::App::app_extra_mod_path
CVar * app_extra_mod_path
Definition: Application.cpp:87
RoR::App::io_ffb_master_gain
CVar * io_ffb_master_gain
Definition: Application.cpp:195
RoR::MSG_APP_DISPLAY_WINDOWED_REQUESTED
@ MSG_APP_DISPLAY_WINDOWED_REQUESTED
Definition: Application.h:88
RoR::MSG_NET_SERVER_KICK
@ MSG_NET_SERVER_KICK
Definition: Application.h:102
RoR::Console::CONSOLE_SYSTEM_ERROR
@ CONSOLE_SYSTEM_ERROR
Definition: Console.h:52
GUIManager.h
RoR::App::g_gui_manager
static GUIManager * g_gui_manager
Definition: Application.cpp:64
RoR::CacheSystem
A content database MOTIVATION: RoR users usually have A LOT of content installed.
Definition: CacheSystem.h:277
RoR::App::diag_preset_spawn_rot
CVar * diag_preset_spawn_rot
Definition: Application.cpp:142
RoR::GfxShadowType
GfxShadowType
Definition: Application.h:351
RoR::GfxWaterMode::FULL_HQ
@ FULL_HQ
Reflection + refraction (quality optimized)
RigDef::Keyword::AXLES
@ AXLES
RigDef::Keyword::FLEXBODY_CAMERA_MODE
@ FLEXBODY_CAMERA_MODE
RoR::SimGearboxMode
SimGearboxMode
Definition: Application.h:338
RoR::App::GetScriptEngine
ScriptEngine * GetScriptEngine()
Definition: Application.cpp:295
RoR::App::diag_hide_wheel_info
CVar * diag_hide_wheel_info
Definition: Application.cpp:154
RoR::GfxScene::GetSceneManager
Ogre::SceneManager * GetSceneManager()
Definition: GfxScene.h:83
RoR::App::mp_cyclethru_net_actors
CVar * mp_cyclethru_net_actors
Include remote actors when cycling through with CTRL + [ and CTRL + ].
Definition: Application.cpp:127
RoR::GfxFlaresMode::ALL_VEHICLES_HEAD_ONLY
@ ALL_VEHICLES_HEAD_ONLY
All vehicles, main lights.
RoR::HANDLEGENERICEXCEPTION_SCRIPTEVENT
@ HANDLEGENERICEXCEPTION_SCRIPTEVENT
Definition: Application.h:866
RoR::App::audio_enable_creak
CVar * audio_enable_creak
Definition: Application.cpp:210
RoR::UiPreset::MINIMALLIST
@ MINIMALLIST
RoR::SimGearboxMode::AUTO
@ AUTO
Automatic shift.
RoR::GfxExtCamMode::STATIC
@ STATIC
RoR::TObjSpecialObject::GRID
@ GRID
RoR::GfxScene
Provides a 3D graphical representation of the simulation Idea: simulation runs at it's own constant r...
Definition: GfxScene.h:46
RoR::App::sim_tuning_enabled
CVar * sim_tuning_enabled
Definition: Application.cpp:112
RoR::EfxReverbEngine::EAXREVERB
@ EAXREVERB
RoR::MSG_APP_DISPLAY_FULLSCREEN_REQUESTED
@ MSG_APP_DISPLAY_FULLSCREEN_REQUESTED
Definition: Application.h:87
RoR::App::sim_load_savegame
CVar * sim_load_savegame
Definition: Application.cpp:99
RigDef::Keyword::SET_SKELETON_SETTINGS
@ SET_SKELETON_SETTINGS
RoR::App::sim_gearbox_mode
CVar * sim_gearbox_mode
Definition: Application.cpp:108
RoR::MSG_NET_REFRESH_SERVERLIST_SUCCESS
@ MSG_NET_REFRESH_SERVERLIST_SUCCESS
Payload = GUI::MpServerInfoVec* (owner)
Definition: Application.h:106
RigDef::Keyword::RAILGROUPS
@ RAILGROUPS
RoR::App::mp_state
CVar * mp_state
Definition: Application.cpp:115
RoR::MSG_GUI_DOWNLOAD_FINISHED
@ MSG_GUI_DOWNLOAD_FINISHED
Definition: Application.h:145
RoR::SimGearboxMode::MANUAL_STICK
@ MANUAL_STICK
Fully manual: stick shift.
RoR::App::gfx_camera_height
CVar * gfx_camera_height
Definition: Application.cpp:249
RoR::App::audio_master_volume
CVar * audio_master_volume
Definition: Application.cpp:209
RoR::App::flexbody_defrag_enabled
CVar * flexbody_defrag_enabled
Definition: Application.cpp:265
RigDef::Keyword::WINGS
@ WINGS
RoR::MSG_NET_FETCH_AI_PRESETS_FAILURE
@ MSG_NET_FETCH_AI_PRESETS_FAILURE
Description = message.
Definition: Application.h:112
RoR::App::CreateGuiManager
void CreateGuiManager()
Definition: Application.cpp:312
RoR::App::CreateGfxScene
void CreateGfxScene()
Definition: Application.cpp:344
RoR::ToLocalizedString
std::string ToLocalizedString(SimGearboxMode e)
Definition: Application.cpp:456
RigDef::Keyword::SHOCKS3
@ SHOCKS3
RoR::App::gfx_window_videocams
CVar * gfx_window_videocams
Definition: Application.cpp:241
RoR::AppContext
Central setup and event handler for input/windowing/rendering.
Definition: AppContext.h:43
RigDef::Keyword::HELP
@ HELP
RoR::MSG_SIM_UNMUTE_NET_ACTOR_REQUESTED
@ MSG_SIM_UNMUTE_NET_ACTOR_REQUESTED
Payload = ActorPtr* (owner)
Definition: Application.h:129
RoR::App::gfx_alt_actor_materials
CVar * gfx_alt_actor_materials
Definition: Application.cpp:261
RoR::App::io_ffb_camera_gain
CVar * io_ffb_camera_gain
Definition: Application.cpp:193
RigDef::Keyword::ROTATORS
@ ROTATORS
RoR::App::audio_force_listener_efx_preset
CVar * audio_force_listener_efx_preset
Definition: Application.cpp:219
RoR::GfxSkyMode::CAELUM
@ CAELUM
Caelum (best looking, slower)
RoR::App::ui_default_truck_dash
CVar * ui_default_truck_dash
string; name of the '.dashboard' file in modcache.
Definition: Application.cpp:278
RoR::App::g_app_context
static AppContext g_app_context
Definition: Application.cpp:56
RigDef::Keyword::FLARES3
@ FLARES3
RoR::App::diag_log_beam_break
CVar * diag_log_beam_break
Definition: Application.cpp:147
RoR::App::app_config_long_names
CVar * app_config_long_names
Definition: Application.cpp:91
RoR::App::g_sim_terrain
static Terrain * g_sim_terrain
Definition: Application.cpp:72
RoR::App::flexbody_defrag_prog_up_penalty
CVar * flexbody_defrag_prog_up_penalty
Definition: Application.cpp:267
RigDef::Keyword::FLARES
@ FLARES
RigDef::Keyword::END_SECTION
@ END_SECTION
RoR::App::io_outgauge_mode
CVar * io_outgauge_mode
Definition: Application.cpp:200
RoR::GfxFlaresMode::ALL_VEHICLES_ALL_LIGHTS
@ ALL_VEHICLES_ALL_LIGHTS
All vehicles, all lights.
RoR::MSG_SIM_SEAT_PLAYER_REQUESTED
@ MSG_SIM_SEAT_PLAYER_REQUESTED
Payload = RoR::ActorPtr (owner) | nullptr.
Definition: Application.h:124
CacheSystem.h
A database of user-installed content alias 'mods' (vehicles, terrains...)
RoR::SimResetMode::HARD
@ HARD
keyword
static int keyword
Definition: Bench_TruckParser_IdentifyKeyword.cpp:1448
RoR::MSG_NET_ADD_PEEROPTIONS_REQUESTED
@ MSG_NET_ADD_PEEROPTIONS_REQUESTED
Payload = RoR::PeerOptionsRequest* (owner)
Definition: Application.h:113
RigDef
Definition: Application.cpp:702
RigDef::Keyword::WHEELDETACHERS
@ WHEELDETACHERS
RoR::App::gfx_fps_limit
CVar * gfx_fps_limit
Definition: Application.cpp:256
RoR::MSG_APP_MODCACHE_PURGE_REQUESTED
@ MSG_APP_MODCACHE_PURGE_REQUESTED
Definition: Application.h:91
RoR::App::g_sound_script_manager
static SoundScriptManager * g_sound_script_manager
Definition: Application.cpp:71
RoR::App::io_arcade_controls
CVar * io_arcade_controls
Definition: Application.cpp:198
RoR::MSG_EDI_DELETE_FREEBEAMGFX_REQUESTED
@ MSG_EDI_DELETE_FREEBEAMGFX_REQUESTED
Payload = RoR::FreeBeamGfxID_t* (owner)
Definition: Application.h:160
RoR::GfxWaterMode::BASIC
@ BASIC
Basic (fastest)
RoR::MSG_GUI_MP_CLIENTS_REFRESH
@ MSG_GUI_MP_CLIENTS_REFRESH
Definition: Application.h:141
RoR::App::diag_hide_wheels
CVar * diag_hide_wheels
Definition: Application.cpp:155
RoR::GfxVegetation::NONE
@ NONE
ScriptEngine.h
RigDef::Keyword::SHOCKS2
@ SHOCKS2
RoR::MSG_EDI_ADD_FREEBEAMGFX_REQUESTED
@ MSG_EDI_ADD_FREEBEAMGFX_REQUESTED
Payload = RoR::FreeBeamGfxRequest* (owner)
Definition: Application.h:158
RoR::App::sys_thumbnails_dir
CVar * sys_thumbnails_dir
Definition: Application.cpp:166
RoR::GfxShadowType::PSSM
@ PSSM
RigDef::Keyword::TURBOPROPS2
@ TURBOPROPS2
RoR::App::diag_log_beam_trigger
CVar * diag_log_beam_trigger
Definition: Application.cpp:149
RigDef::Keyword::ENABLE_ADVANCED_DEFORMATION
@ ENABLE_ADVANCED_DEFORMATION
RoR::App::app_state
CVar * app_state
Definition: Application.cpp:79
RigDef::Keyword::SUBMESH_GROUNDMODEL
@ SUBMESH_GROUNDMODEL
RoR::ThreadPool
Facilitates execution of (small) tasks on separate threads.
Definition: ThreadPool.h:105
RoR::IoInputGrabMode::DYNAMIC
@ DYNAMIC
RoR::App::io_ffb_center_gain
CVar * io_ffb_center_gain
Definition: Application.cpp:194
RoR::GfxWaterMode::FULL_FAST
@ FULL_FAST
Reflection + refraction (speed optimized)
RoR::App::mp_server_password
CVar * mp_server_password
Definition: Application.cpp:123
RigDef::Keyword::MESHWHEELS
@ MESHWHEELS
RoR::EfxReverbEngine::NONE
@ NONE
RigDef::Keyword::SET_BEAM_DEFAULTS_SCALE
@ SET_BEAM_DEFAULTS_SCALE
RoR::App::sim_terrain_name
CVar * sim_terrain_name
Definition: Application.cpp:97
RoR::App::flexbody_defrag_reorder_indices
CVar * flexbody_defrag_reorder_indices
Definition: Application.cpp:269
RoR::MSG_NET_REMOVE_PEEROPTIONS_REQUESTED
@ MSG_NET_REMOVE_PEEROPTIONS_REQUESTED
Payload = RoR::PeerOptionsRequest* (owner)
Definition: Application.h:114
RigDef::Keyword::CAB
@ CAB
RoR::App::DestroyOverlayWrapper
void DestroyOverlayWrapper()
Definition: Application.cpp:367
RoR::GfxTexFilter::BILINEAR
@ BILINEAR
RoR::App::sys_cache_dir
CVar * sys_cache_dir
Definition: Application.cpp:165
RoR::App::audio_sim_pause_disables_doppler_effect
CVar * audio_sim_pause_disables_doppler_effect
Definition: Application.cpp:224
GfxScene.h
RoR::MSG_NET_REFRESH_REPOLIST_FAILURE
@ MSG_NET_REFRESH_REPOLIST_FAILURE
Payload = RoR::CurlFailInfo* (owner)
Definition: Application.h:110
RoR::App::gfx_declutter_map
CVar * gfx_declutter_map
Definition: Application.cpp:243
RoR::App::ui_show_live_repair_controls
CVar * ui_show_live_repair_controls
bool
Definition: Application.cpp:274
RoR::MSG_GUI_OPEN_SELECTOR_REQUESTED
@ MSG_GUI_OPEN_SELECTOR_REQUESTED
Payload = LoaderType* (owner), Description = GUID | empty.
Definition: Application.h:139
RoR::App::diag_log_beam_deform
CVar * diag_log_beam_deform
Definition: Application.cpp:148
RoR::App::cli_custom_scripts
CVar * cli_custom_scripts
Definition: Application.cpp:186
RoR::MSG_SIM_HIDE_NET_ACTOR_REQUESTED
@ MSG_SIM_HIDE_NET_ACTOR_REQUESTED
Payload = ActorPtr* (owner)
Definition: Application.h:126
RoR::App::flexbody_defrag_reorder_texcoords
CVar * flexbody_defrag_reorder_texcoords
Definition: Application.cpp:270
RigDef::Keyword::CRUISECONTROL
@ CRUISECONTROL
RoR::UiPreset::REGULAR
@ REGULAR
RoR::GfxExtCamMode
GfxExtCamMode
Definition: Application.h:358
RigDef::Keyword::FORWARDCOMMANDS
@ FORWARDCOMMANDS
RoR::MSG_GUI_REFRESH_TUNING_MENU_REQUESTED
@ MSG_GUI_REFRESH_TUNING_MENU_REQUESTED
Definition: Application.h:146
RoR::MSG_SIM_ADD_FREEFORCE_REQUESTED
@ MSG_SIM_ADD_FREEFORCE_REQUESTED
Payload = RoR::FreeForceRequest* (owner)
Definition: Application.h:133
RoR::GfxSkyMode
GfxSkyMode
Definition: Application.h:405
RigDef::Keyword::DETACHER_GROUP
@ DETACHER_GROUP
RoR::MsgType
MsgType
Global gameplay message loop, see struct Message in GameContext.h.
Definition: Application.h:74
DiscordRpc.h
RoR::App::sim_races_enabled
CVar * sim_races_enabled
Definition: Application.cpp:105
RoR::UiPreset::EXPERT
@ EXPERT
RoR::GfxVegetation::FULL
@ FULL
Application.h
Central state/object manager and communications hub.
RoR::App::GetConsole
Console * GetConsole()
Definition: Application.cpp:286
RoR::MSG_NET_OPEN_RESOURCE_SUCCESS
@ MSG_NET_OPEN_RESOURCE_SUCCESS
Payload = GUI::ResourcesCollection* (owner)
Definition: Application.h:109
RoR::GfxVegetation
GfxVegetation
Definition: Application.h:375
RoR::OutGauge
Definition: OutGauge.h:45
RoR::App::mp_hide_own_net_label
CVar * mp_hide_own_net_label
Definition: Application.cpp:119
RoR::App::g_out_gauge
static OutGauge g_out_gauge
Definition: Application.cpp:69
RoR::SimGearboxMode::SEMI_AUTO
@ SEMI_AUTO
Manual shift with auto clutch.
SoundScriptManager.h
RoR::GfxFlaresMode::CURR_VEHICLE_HEAD_ONLY
@ CURR_VEHICLE_HEAD_ONLY
Only current vehicle, main lights.
RoR::MSG_APP_MODCACHE_LOAD_REQUESTED
@ MSG_APP_MODCACHE_LOAD_REQUESTED
Definition: Application.h:89
RigDef::Keyword::SLIDENODES
@ SLIDENODES
RoR::App::GetGameContext
GameContext * GetGameContext()
Definition: Application.cpp:296
RoR::App::CreateThreadPool
void CreateThreadPool()
Definition: Application.cpp:332
RigDef::KeywordToString
const char * KeywordToString(RigDef::Keyword keyword)
Definition: Application.cpp:705
RoR::App::io_outgauge_delay
CVar * io_outgauge_delay
Definition: Application.cpp:203
RoR::EfxReverbEngine::REVERB
@ REVERB
RoR::App::audio_enable_directed_sounds
CVar * audio_enable_directed_sounds
Definition: Application.cpp:213
RoR::MSG_APP_SCREENSHOT_REQUESTED
@ MSG_APP_SCREENSHOT_REQUESTED
Definition: Application.h:86
RigDef::Keyword::CONTACTERS
@ CONTACTERS
RoR::App::gfx_fov_internal_default
CVar * gfx_fov_internal_default
Definition: Application.cpp:253
RoR::LanguageEngine
Definition: Language.h:45
RigDef::Keyword::SET_SHADOWS
@ SET_SHADOWS
RoR::DiscordRpc
Wrapper class, just for code consistency with other subsystems.
Definition: DiscordRpc.h:30
RoR::MSG_NET_REFRESH_REPOLIST_SUCCESS
@ MSG_NET_REFRESH_REPOLIST_SUCCESS
Payload = GUI::ResourcesCollection* (owner)
Definition: Application.h:108
RoR::TObjSpecialObject::ROAD_BORDER_BOTH
@ ROAD_BORDER_BOTH
RoR::App::gfx_envmap_enabled
CVar * gfx_envmap_enabled
Definition: Application.cpp:244
RoR::TObjSpecialObject::ROAD_BORDER_RIGHT
@ ROAD_BORDER_RIGHT
RoR::App::diag_videocameras
CVar * diag_videocameras
Definition: Application.cpp:139
RigDef::Keyword::MESHWHEELS2
@ MESHWHEELS2
RoR::App::io_ffb_stress_gain
CVar * io_ffb_stress_gain
Definition: Application.cpp:196
RoR::App::gfx_water_mode
CVar * gfx_water_mode
Definition: Application.cpp:236
RigDef::Keyword::SET_MANAGEDMATERIALS_OPTIONS
@ SET_MANAGEDMATERIALS_OPTIONS
RoR::App::gfx_flares_mode
CVar * gfx_flares_mode
Definition: Application.cpp:227
RoR::App::audio_enable_efx
CVar * audio_enable_efx
Definition: Application.cpp:215
RigDef::Keyword::COLLISIONBOXES
@ COLLISIONBOXES
RoR::App::gfx_sky_mode
CVar * gfx_sky_mode
Definition: Application.cpp:231
RoR::MSG_SIM_TELEPORT_PLAYER_REQUESTED
@ MSG_SIM_TELEPORT_PLAYER_REQUESTED
Payload = Ogre::Vector3* (owner)
Definition: Application.h:125
RoR::App::CreateOverlayWrapper
void CreateOverlayWrapper()
Definition: Application.cpp:306
_LC
#define _LC(ctx, str)
Definition: Language.h:38
RoR::App::flexbody_defrag_invert_lookup
CVar * flexbody_defrag_invert_lookup
Definition: Application.cpp:271
RoR::App::g_language_engine
static LanguageEngine g_language_engine
Definition: Application.cpp:66
RigDef::Keyword::WHEELS
@ WHEELS
RoR::MSG_EDI_ENTER_TERRN_EDITOR_REQUESTED
@ MSG_EDI_ENTER_TERRN_EDITOR_REQUESTED
Definition: Application.h:150
RoR::MSG_EDI_LOAD_BUNDLE_REQUESTED
@ MSG_EDI_LOAD_BUNDLE_REQUESTED
Payload = RoR::CacheEntryPtr* (owner)
Definition: Application.h:152
RigDef::Keyword::SET_COLLISION_RANGE
@ SET_COLLISION_RANGE
RoR::App::cli_server_port
CVar * cli_server_port
Definition: Application.cpp:177
RoR::App::sys_config_dir
CVar * sys_config_dir
Definition: Application.cpp:164
RoR::CVar
Quake-style console variable, defined in RoR.cfg or crated via Console UI and scripts.
Definition: CVar.h:52
RigDef::Keyword::HOOKGROUP
@ HOOKGROUP
RoR::App::gfx_sight_range
CVar * gfx_sight_range
Definition: Application.cpp:248
RoR::App::diag_log_console_echo
CVar * diag_log_console_echo
Definition: Application.cpp:146
RigDef::Keyword::ROTATORS2
@ ROTATORS2
RoR::MSG_NET_CONNECT_SUCCESS
@ MSG_NET_CONNECT_SUCCESS
Definition: Application.h:100
RoR::SimGearboxMode::MANUAL
@ MANUAL
Fully manual: sequential shift.
RoR::App::cli_preset_terrain
CVar * cli_preset_terrain
Definition: Application.cpp:180
RoR::App::diag_preset_spawn_pos
CVar * diag_preset_spawn_pos
Definition: Application.cpp:141
RoR::App::GetDiscordRpc
DiscordRpc * GetDiscordRpc()
Definition: Application.cpp:298
RoR::App::gfx_shadow_quality
CVar * gfx_shadow_quality
Definition: Application.cpp:246
RoR::App::gfx_water_waves
CVar * gfx_water_waves
Definition: Application.cpp:238
RigDef::Keyword::END_DESCRIPTION
@ END_DESCRIPTION
RoR::App::io_input_grab_mode
CVar * io_input_grab_mode
Definition: Application.cpp:197
RoR::MSG_NET_FETCH_AI_PRESETS_SUCCESS
@ MSG_NET_FETCH_AI_PRESETS_SUCCESS
Description = JSON string.
Definition: Application.h:111
RoR::TObjSpecialObject::ROAD_BORDER_LEFT
@ ROAD_BORDER_LEFT
RoR::Network
Definition: Network.h:110
RoR::EfxReverbEngine
EfxReverbEngine
Definition: Application.h:413
RoR::App::sim_realistic_commands
CVar * sim_realistic_commands
Definition: Application.cpp:104
RoR::Terrain
Definition: Terrain.h:40
RoR::App::io_blink_lock_range
CVar * io_blink_lock_range
Definition: Application.cpp:191
RoR::App::GetCacheSystem
CacheSystem * GetCacheSystem()
Definition: Application.cpp:288
RoR::GfxSkyMode::SKYX
@ SKYX
SkyX (best looking, slower)
RoR::App::ui_show_vehicle_buttons
CVar * ui_show_vehicle_buttons
Definition: Application.cpp:275
RoR::App::gfx_sky_time_speed
CVar * gfx_sky_time_speed
Definition: Application.cpp:233
RigDef::Keyword::SET_INERTIA_DEFAULTS
@ SET_INERTIA_DEFAULTS
RoR::App::audio_menu_music
CVar * audio_menu_music
Definition: Application.cpp:223
RoR::App::app_screenshot_format
CVar * app_screenshot_format
Definition: Application.cpp:85
RoR::TObjSpecialObject::ROAD_BRIDGE
@ ROAD_BRIDGE
RoR::App::diag_preset_veh_config
CVar * diag_preset_veh_config
Definition: Application.cpp:144
RoR::TObjSpecialObject::ROAD
@ ROAD
RoR::GfxTexFilter::TRILINEAR
@ TRILINEAR
RigDef::Keyword::FORSET
@ FORSET
RoR::App::app_recent_scripts
CVar * app_recent_scripts
Definition: Application.cpp:93
RoR::App::sim_no_collisions
CVar * sim_no_collisions
Definition: Application.cpp:106
RoR::GfxFlaresMode
GfxFlaresMode
Definition: Application.h:384
RigDef::Keyword::HIDEINCHOOSER
@ HIDEINCHOOSER
RigDef::Keyword::FIXES
@ FIXES
RigDef::Keyword::GUISETTINGS
@ GUISETTINGS
RoR::App::mp_server_port
CVar * mp_server_port
Definition: Application.cpp:122
RoR::App::audio_force_obstruction_inside_vehicles
CVar * audio_force_obstruction_inside_vehicles
Definition: Application.cpp:220
RoR::MSG_EDI_DELETE_PROJECT_REQUESTED
@ MSG_EDI_DELETE_PROJECT_REQUESTED
Payload = RoR::CacheEntryPtr* (owner)
Definition: Application.h:157
RoR::MSG_SIM_ACTOR_LINKING_REQUESTED
@ MSG_SIM_ACTOR_LINKING_REQUESTED
Payload = RoR::ActorLinkingRequest* (owner)
Definition: Application.h:132
RoR::App::mp_server_host
CVar * mp_server_host
Definition: Application.cpp:121
RoR::App::audio_efx_reverb_engine
CVar * audio_efx_reverb_engine
Definition: Application.cpp:217
RoR::App::gfx_auto_lod
CVar * gfx_auto_lod
Definition: Application.cpp:262
RoR::MSG_GUI_OPEN_MENU_REQUESTED
@ MSG_GUI_OPEN_MENU_REQUESTED
Definition: Application.h:137
RoR::App::diag_auto_spawner_report
CVar * diag_auto_spawner_report
Definition: Application.cpp:133
RoR::App::diag_camera
CVar * diag_camera
Definition: Application.cpp:134
RoR::App::io_analog_smoothing
CVar * io_analog_smoothing
Definition: Application.cpp:189
OutGauge.h
RoR::App::diag_rig_log_node_stats
CVar * diag_rig_log_node_stats
Definition: Application.cpp:136
RoR::TObjSpecialObject::ROAD_BRIDGE_NO_PILLARS
@ ROAD_BRIDGE_NO_PILLARS
RigDef::Keyword::ANTILOCKBRAKES
@ ANTILOCKBRAKES
RoR::App::cli_preset_spawn_pos
CVar * cli_preset_spawn_pos
Definition: Application.cpp:181
RigDef::Keyword::COMMANDS2
@ COMMANDS2
RoR::GfxFlaresMode::NONE
@ NONE
None (fastest)
RigDef::Keyword::HYDROS
@ HYDROS
RoR::MSG_EDI_LEAVE_TERRN_EDITOR_REQUESTED
@ MSG_EDI_LEAVE_TERRN_EDITOR_REQUESTED
Definition: Application.h:151
RoR::App::sys_projects_dir
CVar * sys_projects_dir
Definition: Application.cpp:173
RoR::MSG_SIM_SPAWN_ACTOR_REQUESTED
@ MSG_SIM_SPAWN_ACTOR_REQUESTED
Payload = RoR::ActorSpawnRequest* (owner)
Definition: Application.h:121
RoR::MSG_APP_MODCACHE_UPDATE_REQUESTED
@ MSG_APP_MODCACHE_UPDATE_REQUESTED
Definition: Application.h:90
RoR::App::GetInputEngine
InputEngine * GetInputEngine()
Definition: Application.cpp:287
RoR::IoInputGrabMode
IoInputGrabMode
Definition: Application.h:421
RoR::IoInputGrabMode::ALL
@ ALL
RoR::App::cli_preset_veh_config
CVar * cli_preset_veh_config
Definition: Application.cpp:179
RigDef::Keyword::FILEFORMATVERSION
@ FILEFORMATVERSION
RoR::MSG_NET_CONNECT_FAILURE
@ MSG_NET_CONNECT_FAILURE
Definition: Application.h:101
RoR::App::diag_allow_window_resize
CVar * diag_allow_window_resize
Definition: Application.cpp:159
RoR::MSG_SIM_DELETE_ACTOR_REQUESTED
@ MSG_SIM_DELETE_ACTOR_REQUESTED
Payload = RoR::ActorPtr* (owner)
Definition: Application.h:123
RoR::App::io_outgauge_id
CVar * io_outgauge_id
Definition: Application.cpp:204
RigDef::Keyword::WHEELS2
@ WHEELS2
RoR::MSG_APP_SCRIPT_THREAD_STATUS
@ MSG_APP_SCRIPT_THREAD_STATUS
Payload = RoR::ScriptEventArgs* (owner)
Definition: Application.h:94
RigDef::Keyword::FLAREGROUPS_NO_IMPORT
@ FLAREGROUPS_NO_IMPORT
RigDef::Keyword::TRACTIONCONTROL
@ TRACTIONCONTROL
RoR::App::g_content_manager
static ContentManager g_content_manager
Definition: Application.cpp:60
RoR::App::GetOutGauge
OutGauge * GetOutGauge()
Definition: Application.cpp:297
RoR::App::diag_hide_nodes
CVar * diag_hide_nodes
Definition: Application.cpp:156
RoR::App::gfx_fov_external
CVar * gfx_fov_external
Definition: Application.cpp:250
RoR::MSG_EDI_MODIFY_GROUNDMODEL_REQUESTED
@ MSG_EDI_MODIFY_GROUNDMODEL_REQUESTED
Payload = RoR::ground_model_t* (weak)
Definition: Application.h:149
Terrain.h
RoR::Console
Global game console backend.
Definition: Console.h:40
RoR::App::DestroyInputEngine
void DestroyInputEngine()
Definition: Application.cpp:373
RoR::App::g_console
static Console g_console
Definition: Application.cpp:59
RoR::TObjSpecialObject::LOAD
@ LOAD
BitMask_t
uint32_t BitMask_t
Definition: BitFlags.h:7
RigDef::Keyword::ENGINE
@ ENGINE
RoR::SimGearboxMode::MANUAL_RANGES
@ MANUAL_RANGES
Fully manual: stick shift with ranges.
InputEngine.h
Handles controller inputs from player. Defines input events and binding mechanism,...
RoR::GameContext
Central game state manager.
Definition: GameContext.h:95
RoR::MSG_SIM_UNHIDE_NET_ACTOR_REQUESTED
@ MSG_SIM_UNHIDE_NET_ACTOR_REQUESTED
Payload = ActorPtr* (owner)
Definition: Application.h:127
RoR::App::sys_process_dir
CVar * sys_process_dir
Definition: Application.cpp:162
RoR::App::g_network
static Network g_network
Definition: Application.cpp:75
RoR::App::g_mumble
static MumbleIntegration * g_mumble
Definition: Application.cpp:67
RoR::MSG_APP_UNLOAD_SCRIPT_REQUESTED
@ MSG_APP_UNLOAD_SCRIPT_REQUESTED
Payload = RoR::ScriptUnitId_t* (owner)
Definition: Application.h:93
RoR::App::diag_envmap
CVar * diag_envmap
Definition: Application.cpp:138
RigDef::Keyword::DISABLEDEFAULTSOUNDS
@ DISABLEDEFAULTSOUNDS
RigDef::Keyword::LOCKGROUPS
@ LOCKGROUPS
RoR::GUIManager
Definition: GUIManager.h:75
RigDef::Keyword::MATERIALFLAREBINDINGS
@ MATERIALFLAREBINDINGS
RoR::App::app_async_physics
CVar * app_async_physics
Definition: Application.cpp:83
RoR::App::diag_preset_veh_enter
CVar * diag_preset_veh_enter
Definition: Application.cpp:145
RoR::App::diag_preset_terrain
CVar * diag_preset_terrain
Definition: Application.cpp:140
RoR::Console::CONSOLE_MSGTYPE_INFO
@ CONSOLE_MSGTYPE_INFO
Generic message.
Definition: Console.h:60
RoR::App::sim_terrain_gui_name
CVar * sim_terrain_gui_name
Definition: Application.cpp:98
RigDef::Keyword::TRIGGERS
@ TRIGGERS
RoR::App::mp_chat_auto_hide
CVar * mp_chat_auto_hide
Definition: Application.cpp:117
RoR::App::sys_screenshot_dir
CVar * sys_screenshot_dir
Definition: Application.cpp:171
RoR::App::g_gfx_scene
static GfxScene g_gfx_scene
Definition: Application.cpp:63
RoR::App::gfx_vegetation_mode
CVar * gfx_vegetation_mode
Definition: Application.cpp:235
RoR::App::flexbody_defrag_prog_down_penalty
CVar * flexbody_defrag_prog_down_penalty
Definition: Application.cpp:268
RigDef::Keyword::RESCUER
@ RESCUER
RoR::App::app_custom_scripts
CVar * app_custom_scripts
Definition: Application.cpp:92
RoR::MSG_GUI_CLOSE_MENU_REQUESTED
@ MSG_GUI_CLOSE_MENU_REQUESTED
Definition: Application.h:138
RigDef::Keyword::CINECAM
@ CINECAM
RoR::IoInputGrabMode::NONE
@ NONE
RoR::MSG_NET_CONNECT_PROGRESS
@ MSG_NET_CONNECT_PROGRESS
Definition: Application.h:99
RoR::App::GetMumble
MumbleIntegration * GetMumble()
Definition: Application.cpp:289
RoR::App::diag_terrn_log_roads
CVar * diag_terrn_log_roads
Definition: Application.cpp:157
RoR::MSG_SIM_MUTE_NET_ACTOR_REQUESTED
@ MSG_SIM_MUTE_NET_ACTOR_REQUESTED
Payload = ActorPtr* (owner)
Definition: Application.h:128
RoR::MSG_SIM_MODIFY_FREEFORCE_REQUESTED
@ MSG_SIM_MODIFY_FREEFORCE_REQUESTED
Payload = RoR::FreeForceRequest* (owner)
Definition: Application.h:134
RigDef::Keyword::ENGTURBO
@ ENGTURBO
RoR::MSG_SIM_PAUSE_REQUESTED
@ MSG_SIM_PAUSE_REQUESTED
Definition: Application.h:116
RoR::BOAT
@ BOAT
its a boat
Definition: SimData.h:87
RigDef::Keyword::END
@ END
RoR::App::g_thread_pool
static ThreadPool * g_thread_pool
Definition: Application.cpp:73
RoR::App::GetThreadPool
ThreadPool * GetThreadPool()
Definition: Application.cpp:290
RigDef::Keyword::ADD_ANIMATION
@ ADD_ANIMATION
RoR::App::audio_enable_obstruction
CVar * audio_enable_obstruction
Definition: Application.cpp:211
RigDef::Keyword::FLARES2
@ FLARES2
RoR::GfxScene::Init
void Init()
Definition: GfxScene.cpp:85
MumbleIntegration.h
RoR::App::audio_device_name
CVar * audio_device_name
Definition: Application.cpp:221
RoR::MSG_GUI_HIDE_MESSAGE_BOX_REQUESTED
@ MSG_GUI_HIDE_MESSAGE_BOX_REQUESTED
Definition: Application.h:143
RoR::App::gfx_anisotropy
CVar * gfx_anisotropy
Definition: Application.cpp:237
RigDef::Keyword::TURBOJETS
@ TURBOJETS
RoR::App::g_cache_system
static CacheSystem g_cache_system
Definition: Application.cpp:57
RigDef::Keyword::PROPS
@ PROPS
RoR::GfxWaterMode::REFLECT
@ REFLECT
Reflection.
RoR::App::gfx_sky_time_cycle
CVar * gfx_sky_time_cycle
Definition: Application.cpp:232
RoR::MSG_SIM_LOAD_SAVEGAME_REQUESTED
@ MSG_SIM_LOAD_SAVEGAME_REQUESTED
Definition: Application.h:119
RigDef::Keyword::FLEXBODIES
@ FLEXBODIES
RoR::GfxTexFilter
GfxTexFilter
Definition: Application.h:366
RigDef::Keyword::SUBMESH
@ SUBMESH
RigDef::Keyword::RIGIDIFIERS
@ RIGIDIFIERS
RigDef::Keyword::IMPORTCOMMANDS
@ IMPORTCOMMANDS
RoR
Definition: AppContext.h:36
RoR::HANDLEGENERICEXCEPTION_LOGFILE
@ HANDLEGENERICEXCEPTION_LOGFILE
Definition: Application.h:865
Network.h
RoR::App::sim_spawn_running
CVar * sim_spawn_running
Definition: Application.cpp:100
RoR::GfxFlaresMode::NO_LIGHTSOURCES
@ NO_LIGHTSOURCES
No light sources.
RigDef::Keyword::EXTCAMERA
@ EXTCAMERA
RoR::UiPreset::NOVICE
@ NOVICE
RoR::App::gfx_reduce_shadows
CVar * gfx_reduce_shadows
Definition: Application.cpp:259
RoR::Log
void Log(const char *msg)
The ultimate, application-wide logging function. Adds a line (any length) in 'RoR....
Definition: Application.cpp:435
RoR::TObjSpecialObject::TRUCK2
@ TRUCK2
Free position (not auto-adjusted to fit terrain or water surface)
RigDef::Keyword::BEAMS
@ BEAMS
RoR::App::app_force_cache_purge
CVar * app_force_cache_purge
Definition: Application.cpp:88
RoR::App::flexbody_defrag_const_penalty
CVar * flexbody_defrag_const_penalty
Definition: Application.cpp:266
RoR::App::GetGfxScene
GfxScene * GetGfxScene()
Definition: Application.cpp:292
RigDef::Keyword::FILEINFO
@ FILEINFO
RoR::MSG_APP_SHUTDOWN_REQUESTED
@ MSG_APP_SHUTDOWN_REQUESTED
Definition: Application.h:85
RoR::GfxExtCamMode::NONE
@ NONE
RoR::GfxVegetation::x20PERC
@ x20PERC
RoR::App::gfx_surveymap_icons
CVar * gfx_surveymap_icons
Definition: Application.cpp:242
RoR::HANDLEGENERICEXCEPTION_CONSOLE
@ HANDLEGENERICEXCEPTION_CONSOLE
Definition: Application.h:867
RoR::App::io_outgauge_ip
CVar * io_outgauge_ip
Definition: Application.cpp:201
RoR::TObjSpecialObjectToString
const char * TObjSpecialObjectToString(TObjSpecialObject val)
Definition: Application.cpp:680
RigDef::Keyword
Keyword
Definition: Application.h:171
RoR::GfxVegetation::x50PERC
@ x50PERC
RoR::MSG_NET_DISCONNECT_REQUESTED
@ MSG_NET_DISCONNECT_REQUESTED
Definition: Application.h:103
RoR::OverlayWrapper
Definition: OverlayWrapper.h:144
RoR::App::sim_replay_enabled
CVar * sim_replay_enabled
Definition: Application.cpp:101
RoR::App::ui_hide_gui
CVar * ui_hide_gui
bool; The 'hide GUI' hotkey state
Definition: Application.cpp:277
RoR::App::mp_pseudo_collisions
CVar * mp_pseudo_collisions
Definition: Application.cpp:120
RigDef::Keyword::SOUNDSOURCES2
@ SOUNDSOURCES2
RigDef::Keyword::SET_BEAM_DEFAULTS
@ SET_BEAM_DEFAULTS
RoR::App::cli_preset_veh_enter
CVar * cli_preset_veh_enter
Definition: Application.cpp:183
RigDef::Keyword::TIES
@ TIES
RoR::MSG_SIM_SCRIPT_EVENT_TRIGGERED
@ MSG_SIM_SCRIPT_EVENT_TRIGGERED
Payload = RoR::ScriptEventArgs* (owner)
Definition: Application.h:130
RoR::GfxTexFilter::NONE
@ NONE
RoR::App::io_hydro_coupling
CVar * io_hydro_coupling
Definition: Application.cpp:199
RoR::GfxWaterMode::HYDRAX
@ HYDRAX
HydraX.
RigDef::Keyword::EXHAUSTS
@ EXHAUSTS
RoR::App::remote_query_url
CVar * remote_query_url
Definition: Application.cpp:130
RoR::ThreadPool::DetectNumWorkersAndCreate
static ThreadPool * DetectNumWorkersAndCreate()
Definition: ThreadPool.h:107
RoR::MSG_EDI_MODIFY_FREEBEAMGFX_REQUESTED
@ MSG_EDI_MODIFY_FREEBEAMGFX_REQUESTED
Payload = RoR::FreeBeamGfxRequest* (owner)
Definition: Application.h:159