RigsofRods
Soft-body Physics Simulation
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
213 
214 // Graphics
251 
252 // Flexbodies
260 
261 // GUI
268 
269 // Instance access
274 Console* GetConsole () { return &g_console;}
277 MumbleIntegration* GetMumble () { return g_mumble; }
287 #if USE_SOCKETW
288  Network* GetNetwork () { return &g_network; }
289 #else
290  Network* GetNetwork () { return nullptr; }
291 #endif
292 
293 // Factories
295 {
298 }
299 
301 {
303  g_gui_manager = new GUIManager();
304 }
305 
307 {
309  g_input_engine = new InputEngine();
310 }
311 
313 {
314 #ifdef USE_MUMBLE // The class is always forward-declared but only defined if USE_MUMBLE is defined
316  g_mumble = new MumbleIntegration();
317 #endif // USE_MUMBLE
318 }
319 
321 {
322  ROR_ASSERT(g_thread_pool == nullptr);
324 }
325 
327 {
330 }
331 
333 {
335  g_gfx_scene.Init();
336 }
337 
339 {
340 #if USE_OPENAL
343 #endif
344 }
345 
347 {
348 #if USE_ANGELSCRIPT
351 #endif
352 }
353 
354 // Cleanup
356 {
357  delete g_overlay_wrapper;
358  g_overlay_wrapper = nullptr;
359 }
360 
362 {
363  delete g_input_engine;
364  g_input_engine = nullptr;
365 }
366 
367 } // namespace App
368 
369 // ------------------------------------------------------------------------------------------------
370 // Global exception handling
371 // ------------------------------------------------------------------------------------------------
372 
373 void HandleGenericException(const std::string& from, BitMask_t flags)
374 {
375  try
376  {
377  throw; // rethrow
378  }
379  catch (Ogre::Exception& oex)
380  {
381  if (flags & HANDLEGENERICEXCEPTION_CONSOLE)
383  else if (flags & HANDLEGENERICEXCEPTION_LOGFILE)
384  LOG(fmt::format("{}: {}", from, oex.getDescription()));
385 #ifdef USE_ANGELSCRIPT
388 #endif
389  }
390  catch (std::exception& stex)
391  {
392  if (flags & HANDLEGENERICEXCEPTION_CONSOLE)
394  else if (flags & HANDLEGENERICEXCEPTION_LOGFILE)
395  LOG(fmt::format("{}: {}", from, stex.what()));
396 #ifdef USE_ANGELSCRIPT
399 #endif
400  }
401  catch (...)
402  {
403  if (flags & HANDLEGENERICEXCEPTION_CONSOLE)
405  else if (flags & HANDLEGENERICEXCEPTION_LOGFILE)
406  LOG(fmt::format("{}: Unknown exception", from));
407 #ifdef USE_ANGELSCRIPT
410 #endif
411  }
412 }
413 
415 {
417 }
418 
419 // ------------------------------------------------------------------------------------------------
420 // Global logging
421 // ------------------------------------------------------------------------------------------------
422 
423 void Log(const char* msg)
424 {
425  Ogre::LogManager::getSingleton().logMessage(msg);
426 }
427 
428 void LogFormat(const char* format, ...)
429 {
430  char buffer[2000] = {};
431 
432  va_list args;
433  va_start(args, format);
434  vsprintf(buffer, format, args);
435  va_end(args);
436 
437  RoR::Log(buffer);
438 }
439 
440 // ------------------------------------------------------------------------------------------------
441 // Global enums
442 // ------------------------------------------------------------------------------------------------
443 
445 {
446  switch (e)
447  {
448  case SimGearboxMode::AUTO: return _LC("SimGearboxMode", "Automatic shift");
449  case SimGearboxMode::SEMI_AUTO: return _LC("SimGearboxMode", "Manual shift with auto clutch");
450  case SimGearboxMode::MANUAL: return _LC("SimGearboxMode", "Fully manual: sequential shift");
451  case SimGearboxMode::MANUAL_STICK: return _LC("SimGearboxMode", "Fully manual: stick shift");
452  case SimGearboxMode::MANUAL_RANGES: return _LC("SimGearboxMode", "Fully manual: stick shift with ranges");
453  default: return "";
454  }
455 }
456 
458 {
459  switch (e)
460  {
461  case GfxFlaresMode::NONE: return _LC("GfxFlaresMode", "None (fastest)");
462  case GfxFlaresMode::NO_LIGHTSOURCES: return _LC("GfxFlaresMode", "No light sources");
463  case GfxFlaresMode::CURR_VEHICLE_HEAD_ONLY: return _LC("GfxFlaresMode", "Only current vehicle, main lights");
464  case GfxFlaresMode::ALL_VEHICLES_HEAD_ONLY: return _LC("GfxFlaresMode", "All vehicles, main lights");
465  case GfxFlaresMode::ALL_VEHICLES_ALL_LIGHTS: return _LC("GfxFlaresMode", "All vehicles, all lights");
466  default: return "";
467  }
468 }
469 
471 {
472  switch (e)
473  {
474  case GfxShadowType::NONE: return _LC("GfxShadowType", "Disabled");
475  case GfxShadowType::PSSM: return _LC("GfxShadowType", "PSSM");
476  default: return "";
477  }
478 }
479 
481 {
482  switch (e)
483  {
484  case GfxSkyMode::SANDSTORM: return _LC("GfxSkyMode", "Sandstorm (fastest)");
485  case GfxSkyMode::CAELUM: return _LC("GfxSkyMode", "Caelum (best looking, slower)");
486  case GfxSkyMode::SKYX: return _LC("GfxSkyMode", "SkyX (best looking, slower)");
487  default: return "";
488  }
489 }
490 
492 {
493  switch (e)
494  {
495  case GfxTexFilter::NONE: return _LC("GfxTexFilter", "None");
496  case GfxTexFilter::BILINEAR: return _LC("GfxTexFilter", "Bilinear");
497  case GfxTexFilter::TRILINEAR: return _LC("GfxTexFilter", "Trilinear");
498  case GfxTexFilter::ANISOTROPIC: return _LC("GfxTexFilter", "Anisotropic");
499  default: return "";
500  }
501 }
502 
504 {
505  switch (e)
506  {
507  case GfxVegetation::NONE: return _LC("GfxVegetation", "None");
508  case GfxVegetation::x20PERC: return _LC("GfxVegetation", "20%");
509  case GfxVegetation::x50PERC: return _LC("GfxVegetation", "50%");
510  case GfxVegetation::FULL: return _LC("GfxVegetation", "Full");
511  default: return "";
512  }
513 }
514 
516 {
517  switch (e)
518  {
519  case GfxWaterMode::NONE: return _LC("GfxWaterMode", "None");
520  case GfxWaterMode::BASIC: return _LC("GfxWaterMode", "Basic (fastest)");
521  case GfxWaterMode::REFLECT: return _LC("GfxWaterMode", "Reflection");
522  case GfxWaterMode::FULL_FAST: return _LC("GfxWaterMode", "Reflection + refraction (speed optimized)");
523  case GfxWaterMode::FULL_HQ: return _LC("GfxWaterMode", "Reflection + refraction (quality optimized)");
524  case GfxWaterMode::HYDRAX: return _LC("GfxWaterMode", "HydraX");
525  default: return "";
526  }
527 }
528 
530 {
531  switch (e)
532  {
533  case GfxExtCamMode::NONE: return _LC("GfxExtCamMode", "None");
534  case GfxExtCamMode::STATIC: return _LC("GfxExtCamMode", "Static");
535  case GfxExtCamMode::PITCHING: return _LC("GfxExtCamMode", "Pitching");
536  default: return "";
537  }
538 }
539 
541 {
542  switch (e)
543  {
544  case IoInputGrabMode::NONE: return _LC("IoInputGrabMode", "None");
545  case IoInputGrabMode::ALL: return _LC("IoInputGrabMode", "All");
546  case IoInputGrabMode::DYNAMIC: return _LC("IoInputGrabMode", "Dynamic");
547  default: return "";
548  }
549 }
550 
552 {
553  switch (e)
554  {
555  case SimResetMode::HARD: return _LC("SimResetMode", "Hard");
556  case SimResetMode::SOFT: return _LC("SimResetMode", "Soft");
557  default: return "";
558  }
559 }
560 
562 {
563  switch (e)
564  {
565  case UiPreset::NOVICE: return _LC("UiPreset", "Novice");
566  case UiPreset::REGULAR: return _LC("UiPreset", "Regular");
567  case UiPreset::EXPERT: return _LC("UiPreset", "Expert");
568  case UiPreset::MINIMALLIST: return _LC("UiPreset", "Minimallist");
569  default: return "";
570  }
571 }
572 
573 const char* MsgTypeToString(MsgType type)
574 {
575  switch (type)
576  {
577  case MSG_APP_SHUTDOWN_REQUESTED : return "MSG_APP_SHUTDOWN_REQUESTED";
578  case MSG_APP_SCREENSHOT_REQUESTED : return "MSG_APP_SCREENSHOT_REQUESTED";
579  case MSG_APP_DISPLAY_FULLSCREEN_REQUESTED : return "MSG_APP_DISPLAY_FULLSCREEN_REQUESTED";
580  case MSG_APP_DISPLAY_WINDOWED_REQUESTED : return "MSG_APP_DISPLAY_WINDOWED_REQUESTED";
581  case MSG_APP_MODCACHE_LOAD_REQUESTED : return "MSG_APP_MODCACHE_LOAD_REQUESTED";
582  case MSG_APP_MODCACHE_UPDATE_REQUESTED : return "MSG_APP_MODCACHE_UPDATE_REQUESTED";
583  case MSG_APP_MODCACHE_PURGE_REQUESTED : return "MSG_APP_MODCACHE_PURGE_REQUESTED";
584  case MSG_APP_LOAD_SCRIPT_REQUESTED : return "MSG_APP_LOAD_SCRIPT_REQUESTED";
585  case MSG_APP_UNLOAD_SCRIPT_REQUESTED : return "MSG_APP_UNLOAD_SCRIPT_REQUESTED";
586  case MSG_APP_SCRIPT_THREAD_STATUS : return "MSG_APP_SCRIPT_THREAD_STATUS";
587  case MSG_APP_REINIT_INPUT_REQUESTED : return "MSG_APP_REINIT_INPUT_REQUESTED";
588 
589  case MSG_NET_CONNECT_REQUESTED : return "MSG_NET_CONNECT_REQUESTED";
590  case MSG_NET_CONNECT_STARTED : return "MSG_NET_CONNECT_STARTED";
591  case MSG_NET_CONNECT_PROGRESS : return "MSG_NET_CONNECT_PROGRESS";
592  case MSG_NET_CONNECT_SUCCESS : return "MSG_NET_CONNECT_SUCCESS";
593  case MSG_NET_CONNECT_FAILURE : return "MSG_NET_CONNECT_FAILURE";
594  case MSG_NET_SERVER_KICK : return "MSG_NET_SERVER_KICK";
595  case MSG_NET_DISCONNECT_REQUESTED : return "MSG_NET_DISCONNECT_REQUESTED";
596  case MSG_NET_USER_DISCONNECT : return "MSG_NET_USER_DISCONNECT";
597  case MSG_NET_RECV_ERROR : return "MSG_NET_RECV_ERROR";
598  case MSG_NET_REFRESH_SERVERLIST_SUCCESS : return "MSG_NET_REFRESH_SERVERLIST_SUCCESS";
599  case MSG_NET_REFRESH_SERVERLIST_FAILURE : return "MSG_NET_REFRESH_SERVERLIST_FAILURE";
600  case MSG_NET_REFRESH_REPOLIST_SUCCESS : return "MSG_NET_REFRESH_REPOLIST_SUCCESS";
601  case MSG_NET_OPEN_RESOURCE_SUCCESS : return "MSG_NET_OPEN_RESOURCE_SUCCESS";
602  case MSG_NET_REFRESH_REPOLIST_FAILURE : return "MSG_NET_REFRESH_REPOLIST_FAILURE";
603  case MSG_NET_FETCH_AI_PRESETS_SUCCESS : return "MSG_NET_FETCH_AI_PRESETS_SUCCESS";
604  case MSG_NET_FETCH_AI_PRESETS_FAILURE : return "MSG_NET_FETCH_AI_PRESETS_FAILURE";
605  case MSG_NET_ADD_PEEROPTIONS_REQUESTED : return "MSG_NET_ADD_PEEROPTIONS_REQUESTED";
606  case MSG_NET_REMOVE_PEEROPTIONS_REQUESTED : return "MSG_NET_REMOVE_PEEROPTIONS_REQUESTED";
607 
608  case MSG_SIM_PAUSE_REQUESTED : return "MSG_SIM_PAUSE_REQUESTED";
609  case MSG_SIM_UNPAUSE_REQUESTED : return "MSG_SIM_UNPAUSE_REQUESTED";
610  case MSG_SIM_LOAD_TERRN_REQUESTED : return "MSG_SIM_LOAD_TERRN_REQUESTED";
611  case MSG_SIM_LOAD_SAVEGAME_REQUESTED : return "MSG_SIM_LOAD_SAVEGAME_REQUESTED";
612  case MSG_SIM_UNLOAD_TERRN_REQUESTED : return "MSG_SIM_UNLOAD_TERRN_REQUESTED";
613  case MSG_SIM_SPAWN_ACTOR_REQUESTED : return "MSG_SIM_SPAWN_ACTOR_REQUESTED";
614  case MSG_SIM_MODIFY_ACTOR_REQUESTED : return "MSG_SIM_MODIFY_ACTOR_REQUESTED";
615  case MSG_SIM_DELETE_ACTOR_REQUESTED : return "MSG_SIM_DELETE_ACTOR_REQUESTED";
616  case MSG_SIM_SEAT_PLAYER_REQUESTED : return "MSG_SIM_SEAT_PLAYER_REQUESTED";
617  case MSG_SIM_TELEPORT_PLAYER_REQUESTED : return "MSG_SIM_TELEPORT_PLAYER_REQUESTED";
618  case MSG_SIM_HIDE_NET_ACTOR_REQUESTED : return "MSG_SIM_HIDE_NET_ACTOR_REQUESTED";
619  case MSG_SIM_UNHIDE_NET_ACTOR_REQUESTED : return "MSG_SIM_UNHIDE_NET_ACTOR_REQUESTED";
620  case MSG_SIM_MUTE_NET_ACTOR_REQUESTED : return "MSG_SIM_MUTE_NET_ACTOR_REQUESTED";
621  case MSG_SIM_UNMUTE_NET_ACTOR_REQUESTED : return "MSG_SIM_UNMUTE_NET_ACTOR_REQUESTED";
622  case MSG_SIM_SCRIPT_EVENT_TRIGGERED : return "MSG_SIM_SCRIPT_EVENT_TRIGGERED";
623  case MSG_SIM_SCRIPT_CALLBACK_QUEUED : return "MSG_SIM_SCRIPT_CALLBACK_QUEUED";
624  case MSG_SIM_ACTOR_LINKING_REQUESTED : return "MSG_SIM_ACTOR_LINKING_REQUESTED";
625  case MSG_SIM_ADD_FREEFORCE_REQUESTED : return "MSG_SIM_ADD_FREEFORCE_REQUESTED";
626  case MSG_SIM_MODIFY_FREEFORCE_REQUESTED : return "MSG_SIM_MODIFY_FREEFORCE_REQUESTED";
627  case MSG_SIM_REMOVE_FREEFORCE_REQUESTED : return "MSG_SIM_REMOVE_FREEFORCE_REQUESTED";
628 
629  case MSG_GUI_OPEN_MENU_REQUESTED : return "MSG_GUI_OPEN_MENU_REQUESTED";
630  case MSG_GUI_CLOSE_MENU_REQUESTED : return "MSG_GUI_CLOSE_MENU_REQUESTED";
631  case MSG_GUI_OPEN_SELECTOR_REQUESTED : return "MSG_GUI_OPEN_SELECTOR_REQUESTED";
632  case MSG_GUI_CLOSE_SELECTOR_REQUESTED : return "MSG_GUI_CLOSE_SELECTOR_REQUESTED";
633  case MSG_GUI_MP_CLIENTS_REFRESH : return "MSG_GUI_MP_CLIENTS_REFRESH";
634  case MSG_GUI_SHOW_MESSAGE_BOX_REQUESTED : return "MSG_GUI_SHOW_MESSAGE_BOX_REQUESTED";
635  case MSG_GUI_HIDE_MESSAGE_BOX_REQUESTED : return "MSG_GUI_HIDE_MESSAGE_BOX_REQUESTED";
636  case MSG_GUI_DOWNLOAD_PROGRESS : return "MSG_GUI_DOWNLOAD_PROGRESS";
637  case MSG_GUI_DOWNLOAD_FINISHED : return "MSG_GUI_DOWNLOAD_FINISHED";
638  case MSG_GUI_REFRESH_TUNING_MENU_REQUESTED: return "MSG_GUI_REFRESH_TUNING_MENU_REQUESTED";
639 
640  case MSG_EDI_MODIFY_GROUNDMODEL_REQUESTED : return "MSG_EDI_MODIFY_GROUNDMODEL_REQUESTED";
641  case MSG_EDI_ENTER_TERRN_EDITOR_REQUESTED : return "MSG_EDI_ENTER_TERRN_EDITOR_REQUESTED";
642  case MSG_EDI_LEAVE_TERRN_EDITOR_REQUESTED : return "MSG_EDI_LEAVE_TERRN_EDITOR_REQUESTED";
643  case MSG_EDI_LOAD_BUNDLE_REQUESTED : return "MSG_EDI_LOAD_BUNDLE_REQUESTED";
644  case MSG_EDI_RELOAD_BUNDLE_REQUESTED : return "MSG_EDI_RELOAD_BUNDLE_REQUESTED";
645  case MSG_EDI_UNLOAD_BUNDLE_REQUESTED : return "MSG_EDI_UNLOAD_BUNDLE_REQUESTED";
646  case MSG_EDI_CREATE_PROJECT_REQUESTED : return "MSG_EDI_CREATE_PROJECT_REQUESTED";
647  case MSG_EDI_MODIFY_PROJECT_REQUESTED : return "MSG_EDI_MODIFY_PROJECT_REQUESTED";
648  case MSG_EDI_DELETE_PROJECT_REQUESTED : return "MSG_EDI_DELETE_PROJECT_REQUESTED";
649 
650  default: return "";
651  }
652 }
653 
655 {
656  switch (val)
657  {
658  case TObjSpecialObject::TRUCK: return "truck";
659  case TObjSpecialObject::LOAD: return "load";
660  case TObjSpecialObject::MACHINE: return "machine";
661  case TObjSpecialObject::BOAT: return "boat";
662  case TObjSpecialObject::TRUCK2: return "truck2";
663  case TObjSpecialObject::GRID: return "grid";
664  case TObjSpecialObject::ROAD: return "road";
665  case TObjSpecialObject::ROAD_BORDER_LEFT: return "roadborderleft";
666  case TObjSpecialObject::ROAD_BORDER_RIGHT: return "roadborderright";
667  case TObjSpecialObject::ROAD_BORDER_BOTH: return "roadborderboth";
668  case TObjSpecialObject::ROAD_BRIDGE_NO_PILLARS: return "roadbridgenopillar";
669  case TObjSpecialObject::ROAD_BRIDGE: return "roadbridge";
670  default: return "";
671  }
672 }
673 
674 } // namespace RoR
675 
676 namespace RigDef
677 {
678 
680 {
681  // PLEASE maintain alphabetical order!
682 
683  switch (keyword)
684  {
685  case Keyword::ADD_ANIMATION: return "add_animation";
686  case Keyword::AIRBRAKES: return "airbrakes";
687  case Keyword::ANIMATORS: return "animators";
688  case Keyword::ANTILOCKBRAKES: return "antilockbrakes";
689  case Keyword::AUTHOR: return "author";
690  case Keyword::AXLES: return "axles";
691  case Keyword::BEAMS: return "beams";
692  case Keyword::BRAKES: return "brakes";
693  case Keyword::CAB: return "cab";
694  case Keyword::CAMERAS: return "cameras";
695  case Keyword::CAMERARAIL: return "camerarail";
696  case Keyword::CINECAM: return "cinecam";
697  case Keyword::COLLISIONBOXES: return "collisionboxes";
698  case Keyword::COMMANDS: return "commands";
699  case Keyword::COMMANDS2: return "commands2";
700  case Keyword::COMMENT: return "comment";
701  case Keyword::CONTACTERS: return "contacters";
702  case Keyword::CRUISECONTROL: return "cruisecontrol";
703  case Keyword::DESCRIPTION: return "description";
704  case Keyword::DETACHER_GROUP: return "detacher_group";
705  case Keyword::DISABLEDEFAULTSOUNDS: return "disabledefaultsounds";
706  case Keyword::ENABLE_ADVANCED_DEFORMATION: return "enable_advanced_deformation";
707  case Keyword::END: return "end";
708  case Keyword::END_COMMENT: return "end_comment";
709  case Keyword::END_DESCRIPTION: return "end_description";
710  case Keyword::END_SECTION: return "end_section";
711  case Keyword::ENGINE: return "engine";
712  case Keyword::ENGOPTION: return "engoption";
713  case Keyword::ENGTURBO: return "engturbo";
714  case Keyword::EXHAUSTS: return "exhausts";
715  case Keyword::EXTCAMERA: return "extcamera";
716  case Keyword::FILEINFO: return "fileinfo";
717  case Keyword::FILEFORMATVERSION: return "fileformatversion";
718  case Keyword::FIXES: return "fixes";
719  case Keyword::FLARES: return "flares";
720  case Keyword::FLARES2: return "flares2";
721  case Keyword::FLARES3: return "flares3";
722  case Keyword::FLAREGROUPS_NO_IMPORT:return "flaregroups_no_import";
723  case Keyword::FLEXBODIES: return "flexbodies";
724  case Keyword::FLEXBODY_CAMERA_MODE: return "flexbody_camera_mode";
725  case Keyword::FLEXBODYWHEELS: return "flexbodywheels";
726  case Keyword::FORSET: return "forset";
727  case Keyword::FORWARDCOMMANDS: return "forwardcommands";
728  case Keyword::FUSEDRAG: return "fusedrag";
729  case Keyword::GLOBALS: return "globals";
730  case Keyword::GUID: return "guid";
731  case Keyword::GUISETTINGS: return "guisettings";
732  case Keyword::HELP: return "help";
733  case Keyword::HIDEINCHOOSER: return "hideinchooser";
734  case Keyword::HOOKGROUP: return "hookgroup";
735  case Keyword::HOOKS: return "hooks";
736  case Keyword::HYDROS: return "hydros";
737  case Keyword::IMPORTCOMMANDS: return "importcommands";
738  case Keyword::INTERAXLES: return "interaxles";
739  case Keyword::LOCKGROUPS: return "lockgroups";
740  case Keyword::LOCKGROUP_DEFAULT_NOLOCK: return "lockgroup_default_nolock";
741  case Keyword::MANAGEDMATERIALS: return "managedmaterials";
742  case Keyword::MATERIALFLAREBINDINGS: return "materialflarebindings";
743  case Keyword::MESHWHEELS: return "meshwheels";
744  case Keyword::MESHWHEELS2: return "meshwheels2";
745  case Keyword::MINIMASS: return "minimass";
746  case Keyword::NODES: return "nodes";
747  case Keyword::NODES2: return "nodes2";
748  case Keyword::PARTICLES: return "particles";
749  case Keyword::PISTONPROPS: return "pistonprops";
750  case Keyword::PROP_CAMERA_MODE: return "prop_camera_mode";
751  case Keyword::PROPS: return "props";
752  case Keyword::RAILGROUPS: return "railgroups";
753  case Keyword::RESCUER: return "rescuer";
754  case Keyword::RIGIDIFIERS: return "rigidifiers";
755  case Keyword::ROLLON: return "rollon";
756  case Keyword::ROPABLES: return "ropables";
757  case Keyword::ROPES: return "ropes";
758  case Keyword::ROTATORS: return "rotators";
759  case Keyword::ROTATORS2: return "rotators2";
760  case Keyword::SCREWPROPS: return "screwprops";
761  case Keyword::SECTION: return "section";
762  case Keyword::SECTIONCONFIG: return "sectionconfig";
763  case Keyword::SET_BEAM_DEFAULTS: return "set_beam_defaults";
764  case Keyword::SET_BEAM_DEFAULTS_SCALE: return "set_beam_defaults_scale";
765  case Keyword::SET_COLLISION_RANGE: return "set_collision_range";
766  case Keyword::SET_DEFAULT_MINIMASS: return "set_default_minimass";
767  case Keyword::SET_INERTIA_DEFAULTS: return "set_inertia_defaults";
768  case Keyword::SET_MANAGEDMATERIALS_OPTIONS: return "set_managedmaterials_options";
769  case Keyword::SET_NODE_DEFAULTS: return "set_node_defaults";
770  case Keyword::SET_SHADOWS: return "set_shadows";
771  case Keyword::SET_SKELETON_SETTINGS: return "set_skeleton_settings";
772  case Keyword::SHOCKS: return "shocks";
773  case Keyword::SHOCKS2: return "shocks2";
774  case Keyword::SHOCKS3: return "shocks3";
775  case Keyword::SLIDENODE_CONNECT_INSTANTLY: return "slidenode_connect_instantly";
776  case Keyword::SLIDENODES: return "slidenodes";
777  case Keyword::SLOPE_BRAKE: return "SlopeBrake";
778  case Keyword::SOUNDSOURCES: return "soundsources";
779  case Keyword::SOUNDSOURCES2: return "soundsources2";
780  case Keyword::SPEEDLIMITER: return "speedlimiter";
781  case Keyword::SUBMESH: return "submesh";
782  case Keyword::SUBMESH_GROUNDMODEL: return "submesh_groundmodel";
783  case Keyword::TEXCOORDS: return "texcoords";
784  case Keyword::TIES: return "ties";
785  case Keyword::TORQUECURVE: return "torquecurve";
786  case Keyword::TRACTIONCONTROL: return "tractioncontrol";
787  case Keyword::TRANSFERCASE: return "transfercase";
788  case Keyword::TRIGGERS: return "triggers";
789  case Keyword::TURBOJETS: return "turbojets";
790  case Keyword::TURBOPROPS: return "turboprops";
791  case Keyword::TURBOPROPS2: return "turboprops2";
792  case Keyword::VIDEOCAMERA: return "videocamera";
793  case Keyword::WHEELDETACHERS: return "wheeldetachers";
794  case Keyword::WHEELS: return "wheels";
795  case Keyword::WHEELS2: return "wheels2";
796  case Keyword::WINGS: return "wings";
797 
798  default: return "";
799  }
800 }
801 
802 } // 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:312
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:233
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:346
RoR::App::sim_quickload_dialog
CVar * sim_quickload_dialog
Definition: Application.cpp:110
RoR::App::gfx_polygon_mode
CVar * gfx_polygon_mode
Definition: Application.cpp:216
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:288
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:271
RoR::App::GetSoundScriptManager
SoundScriptManager * GetSoundScriptManager()
Definition: Application.cpp:281
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:418
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:282
RigDef::Keyword::ROLLON
@ ROLLON
RigDef::Keyword::SOUNDSOURCES
@ SOUNDSOURCES
RoR::App::gfx_speedo_imperial
CVar * gfx_speedo_imperial
Definition: Application.cpp:245
RigDef::Keyword::SET_NODE_DEFAULTS
@ SET_NODE_DEFAULTS
RoR::App::gfx_fov_internal
CVar * gfx_fov_internal
Definition: Application.cpp:240
RoR::CameraManager
Definition: CameraManager.h:37
RigDef::Keyword::COMMENT
@ COMMENT
RigDef::Keyword::PISTONPROPS
@ PISTONPROPS
RoR::App::CreateCameraManager
void CreateCameraManager()
Definition: Application.cpp:326
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
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::GetCameraManager
CameraManager * GetCameraManager()
Definition: Application.cpp:279
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:273
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:427
RigDef::Keyword::MINIMASS
@ MINIMASS
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:414
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:243
RoR::MSG_SIM_UNLOAD_TERRN_REQUESTED
@ MSG_SIM_UNLOAD_TERRN_REQUESTED
Definition: Application.h:120
ContentManager.h
RoR::GfxWaterMode
GfxWaterMode
Definition: Application.h:391
RigDef::Keyword::FLEXBODYWHEELS
@ FLEXBODYWHEELS
RoR::App::gfx_skidmarks_mode
CVar * gfx_skidmarks_mode
Definition: Application.cpp:235
ThreadPool.h
RoR::App::cli_preset_vehicle
CVar * cli_preset_vehicle
Definition: Application.cpp:178
RoR::App::GetAppContext
AppContext * GetAppContext()
Definition: Application.cpp:270
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:557
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:373
RigDef::Keyword::AIRBRAKES
@ AIRBRAKES
RigDef::Keyword::AUTHOR
@ AUTHOR
RoR::App::gfx_shadow_type
CVar * gfx_shadow_type
Definition: Application.cpp:217
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:227
RigDef::Keyword::GLOBALS
@ GLOBALS
RoR::App::gfx_flexbody_cache
CVar * gfx_flexbody_cache
Definition: Application.cpp:246
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:218
RoR::App::CreateInputEngine
void CreateInputEngine()
Definition: Application.cpp:306
RigDef::Keyword::INTERAXLES
@ INTERAXLES
RoR::App::gfx_enable_videocams
CVar * gfx_enable_videocams
Definition: Application.cpp:228
RigDef::Keyword::PARTICLES
@ PARTICLES
RoR::App::CreateSoundScriptManager
void CreateSoundScriptManager()
Definition: Application.cpp:338
RoR::App::GetOverlayWrapper
OverlayWrapper * GetOverlayWrapper()
Definition: Application.cpp:272
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:573
RoR::LogFormat
void LogFormat(const char *format,...)
Improved logging utility. Uses fixed 2Kb buffer.
Definition: Application.cpp:428
RoR::App::gfx_enable_rtshaders
CVar * gfx_enable_rtshaders
Definition: Application.cpp:248
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:267
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:239
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:264
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:242
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::gfx_texture_filter
CVar * gfx_texture_filter
Definition: Application.cpp:222
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:348
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:335
RoR::App::GetScriptEngine
ScriptEngine * GetScriptEngine()
Definition: Application.cpp:283
RoR::App::diag_hide_wheel_info
CVar * diag_hide_wheel_info
Definition: Application.cpp:154
RoR::GfxScene::GetSceneManager
Ogre::SceneManager * GetSceneManager()
Definition: GfxScene.h:69
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:843
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:45
RoR::App::sim_tuning_enabled
CVar * sim_tuning_enabled
Definition: Application.cpp:112
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:237
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:253
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:300
RoR::App::CreateGfxScene
void CreateGfxScene()
Definition: Application.cpp:332
RoR::ToLocalizedString
std::string ToLocalizedString(SimGearboxMode e)
Definition: Application.cpp:444
RigDef::Keyword::SHOCKS3
@ SHOCKS3
RoR::App::gfx_window_videocams
CVar * gfx_window_videocams
Definition: Application.cpp:229
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:249
RoR::App::io_ffb_camera_gain
CVar * io_ffb_camera_gain
Definition: Application.cpp:193
RigDef::Keyword::ROTATORS
@ ROTATORS
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:266
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:255
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:676
RigDef::Keyword::WHEELDETACHERS
@ WHEELDETACHERS
RoR::App::gfx_fps_limit
CVar * gfx_fps_limit
Definition: Application.cpp:244
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::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::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
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:257
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:355
RoR::GfxTexFilter::BILINEAR
@ BILINEAR
RoR::App::sys_cache_dir
CVar * sys_cache_dir
Definition: Application.cpp:165
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:231
RoR::App::ui_show_live_repair_controls
CVar * ui_show_live_repair_controls
bool
Definition: Application.cpp:262
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:258
RigDef::Keyword::CRUISECONTROL
@ CRUISECONTROL
RoR::UiPreset::REGULAR
@ REGULAR
RoR::GfxExtCamMode
GfxExtCamMode
Definition: Application.h:355
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:402
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:274
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:372
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:284
RoR::App::CreateThreadPool
void CreateThreadPool()
Definition: Application.cpp:320
RigDef::KeywordToString
const char * KeywordToString(RigDef::Keyword keyword)
Definition: Application.cpp:679
RoR::App::io_outgauge_delay
CVar * io_outgauge_delay
Definition: Application.cpp:203
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:241
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:232
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:224
RigDef::Keyword::SET_MANAGEDMATERIALS_OPTIONS
@ SET_MANAGEDMATERIALS_OPTIONS
RoR::App::gfx_flares_mode
CVar * gfx_flares_mode
Definition: Application.cpp:215
RigDef::Keyword::COLLISIONBOXES
@ COLLISIONBOXES
RoR::App::gfx_sky_mode
CVar * gfx_sky_mode
Definition: Application.cpp:219
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:294
_LC
#define _LC(ctx, str)
Definition: Language.h:38
RoR::App::flexbody_defrag_invert_lookup
CVar * flexbody_defrag_invert_lookup
Definition: Application.cpp:259
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:236
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:286
RoR::App::gfx_shadow_quality
CVar * gfx_shadow_quality
Definition: Application.cpp:234
RoR::App::gfx_water_waves
CVar * gfx_water_waves
Definition: Application.cpp:226
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::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:276
RoR::GfxSkyMode::SKYX
@ SKYX
SkyX (best looking, slower)
RoR::App::ui_show_vehicle_buttons
CVar * ui_show_vehicle_buttons
Definition: Application.cpp:263
RoR::App::gfx_sky_time_speed
CVar * gfx_sky_time_speed
Definition: Application.cpp:221
RigDef::Keyword::SET_INERTIA_DEFAULTS
@ SET_INERTIA_DEFAULTS
RoR::App::audio_menu_music
CVar * audio_menu_music
Definition: Application.cpp:212
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:381
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::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::gfx_auto_lod
CVar * gfx_auto_lod
Definition: Application.cpp:250
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:275
RoR::IoInputGrabMode
IoInputGrabMode
Definition: Application.h:410
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:285
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:238
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:361
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:223
RoR::App::flexbody_defrag_prog_down_penalty
CVar * flexbody_defrag_prog_down_penalty
Definition: Application.cpp:256
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:277
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:278
RigDef::Keyword::ADD_ANIMATION
@ ADD_ANIMATION
RigDef::Keyword::FLARES2
@ FLARES2
RoR::GfxScene::Init
void Init()
Definition: GfxScene.cpp:82
MumbleIntegration.h
RoR::App::audio_device_name
CVar * audio_device_name
Definition: Application.cpp:211
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:225
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:220
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:363
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:842
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:247
RoR::Log
void Log(const char *msg)
The ultimate, application-wide logging function. Adds a line (any length) in 'RoR....
Definition: Application.cpp:423
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:254
RoR::App::GetGfxScene
GfxScene * GetGfxScene()
Definition: Application.cpp:280
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:230
RoR::HANDLEGENERICEXCEPTION_CONSOLE
@ HANDLEGENERICEXCEPTION_CONSOLE
Definition: Application.h:844
RoR::App::io_outgauge_ip
CVar * io_outgauge_ip
Definition: Application.cpp:201
RoR::TObjSpecialObjectToString
const char * TObjSpecialObjectToString(TObjSpecialObject val)
Definition: Application.cpp:654
RigDef::Keyword
Keyword
Definition: Application.h:168
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:265
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