RigsofRods
Soft-body Physics Simulation
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Application.h
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-2023 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 
26 
27 #pragma once
28 
29 #include "BitFlags.h"
30 #include "CVar.h"
31 #include "ForwardDeclarations.h"
32 #include "Str.h"
33 
34 #include <fmt/format.h>
35 #include <OgreStringConverter.h>
36 
37 #include <assert.h>
38 #include <string>
39 
40 #define ROR_ASSERT(_EXPR) assert(_EXPR)
41 
42 #define CHARACTER_ANIM_NAME_LEN 10 // Restricted for networking
43 
44 // OGRE resource group names
45 #define RGN_TEMP "Temp"
46 #define RGN_CACHE "Cache"
47 #define RGN_REPO "Repo"
48 #define RGN_CONFIG "Config"
49 #define RGN_CONTENT "Content"
50 #define RGN_SAVEGAMES "Savegames"
51 #define RGN_MANAGED_MATS "ManagedMaterials"
52 #define RGN_SCRIPTS "Scripts"
53 #define RGN_LOGS "Logs"
54 
55 // Legacy macros
56 #define TOSTRING(x) Ogre::StringConverter::toString(x)
57 #define PARSEINT(x) Ogre::StringConverter::parseInt(x)
58 #define PARSEREAL(x) Ogre::StringConverter::parseReal(x)
59 #define HydraxLOG(msg) Ogre::LogManager::getSingleton().logMessage("[Hydrax] " + Ogre::String(msg));
60 
61 namespace RoR {
62 
63 // ------------------------------------------------------------------------------------------------
64 // Global definitions and enumerations
65 // ------------------------------------------------------------------------------------------------
66 
69 
72 
74 enum MsgType
75 {
76  // CHECKLIST for adding new message types:
77  // * Provide name as string constant - see `MsgTypeToString()` in Application.cpp
78  // * Register it with AngelScript - see `RegisterMessageQueue()` in 'scripting/bindings/MsgQueueAngelscript.cpp'
79  // * Allow/Deny pushing from AngelScript - see `pushMessage()` in 'scripting/GameScript.cpp'
80  // * Document the AngelScript usage - see 'doc/angelscript/Script2Game/globals.h'.
81  // * Make it do something useful in 'main.cpp' ;)
82 
84  // Application
96  // Networking
115  // Simulation
136  // GUI
148  // Editing
158 };
159 
160 const char* MsgTypeToString(MsgType type);
161 
163 
164 enum class AppState
165 {
166  BOOTSTRAP,
167  MAIN_MENU,
168  SIMULATION,
169  SHUTDOWN,
172 };
173 
174 enum class MpState
175 {
176  DISABLED,
177  CONNECTING,
178  CONNECTED,
179 };
180 
181 enum class SimState
182 {
183  OFF,
184  RUNNING,
185  PAUSED,
186  EDITOR_MODE
187 };
188 
190 
193 
196 
197 enum class SimGearboxMode
198 {
199  AUTO,
200  SEMI_AUTO,
201  MANUAL,
202  MANUAL_STICK,
203  MANUAL_RANGES,
204 };
205 std::string ToLocalizedString(SimGearboxMode e);
206 
209 
210 enum class GfxShadowType
211 {
212  NONE,
213  PSSM
214 };
215 std::string ToLocalizedString(GfxShadowType e);
216 
217 enum class GfxExtCamMode
218 {
219  NONE,
220  STATIC,
221  PITCHING,
222 };
223 std::string ToLocalizedString(GfxExtCamMode e);
224 
225 enum class GfxTexFilter
226 {
227  NONE,
228  BILINEAR,
229  TRILINEAR,
230  ANISOTROPIC,
231 };
232 std::string ToLocalizedString(GfxTexFilter e);
233 
234 enum class GfxVegetation
235 {
236  NONE,
237  x20PERC,
238  x50PERC,
239  FULL,
240 };
241 std::string ToLocalizedString(GfxVegetation e);
242 
243 enum class GfxFlaresMode
244 {
245  NONE,
250 };
251 std::string ToLocalizedString(GfxFlaresMode e);
252 
253 enum class GfxWaterMode
254 {
255  NONE,
256  BASIC,
257  REFLECT,
258  FULL_FAST,
259  FULL_HQ,
260  HYDRAX,
261 };
262 std::string ToLocalizedString(GfxWaterMode e);
263 
264 enum class GfxSkyMode
265 {
266  SANDSTORM,
267  CAELUM,
268  SKYX,
269 };
270 std::string ToLocalizedString(GfxSkyMode e);
271 
272 enum class IoInputGrabMode
273 {
274  NONE,
275  ALL,
276  DYNAMIC,
277 };
278 std::string ToLocalizedString(IoInputGrabMode e);
279 
280 enum class SimResetMode
281 {
282  HARD = 0, // 'sim_soft_reset=false'
283  SOFT = 1 // 'sim_soft_reset=true'
284 };
285 std::string ToLocalizedString(SimResetMode e);
286 
288 // Do NOT change numbers - used for indexing `RoR::UiPresetEntry::uip_values`
289 enum class UiPreset
290 {
291  NOVICE,
292  REGULAR,
293  EXPERT,
294  MINIMALLIST,
295  Count
296 };
297 std::string ToLocalizedString(UiPreset e);
298 
300 {
304 };
305 
307 {
309  LT_Terrain, // Invocable from GUI; No script alias, used in main menu
310  LT_Vehicle, // Script "vehicle", ext: truck car
311  LT_Truck, // Script "truck", ext: truck car
312  LT_Car, // Script "car", ext: car
313  LT_Boat, // Script "boat", ext: boat
314  LT_Airplane, // Script "airplane", ext: airplane
315  LT_Trailer, // Script "trailer", ext: trailer
316  LT_Train, // Script "train", ext: train
317  LT_Load, // Script "load", ext: load
318  LT_Extension, // Script "extension", ext: trailer load
319  LT_Skin, // No script alias, invoked automatically
320  LT_AllBeam, // Invocable from GUI; Script "all", ext: truck car boat airplane train load
321  LT_AddonPart, // No script alias, invoked manually, ext: addonpart
322  LT_Tuneup, // No script alias, invoked manually, ext: tuneup
323  LT_AssetPack, // No script alias, invoked manually, ext: assetpack
324 };
325 
327 {
328  // Exported to AngelScript:
329  NONE,
330  TRUCK,
331  LOAD,
332  MACHINE,
333  BOAT,
334  TRUCK2,
335 
336  // Not exported to AngelScript:
337  GRID,
338  // Road types
339  ROAD,
344  ROAD_BRIDGE,
345 };
347 
348 // ------------------------------------------------------------------------------------------------
349 // Global variables
350 // ------------------------------------------------------------------------------------------------
351 
352 namespace App {
353 
354 // App
355 extern CVar* app_state;
356 extern CVar* app_language;
357 extern CVar* app_country;
358 extern CVar* app_skip_main_menu;
359 extern CVar* app_async_physics;
360 extern CVar* app_num_workers;
361 extern CVar* app_screenshot_format;
362 extern CVar* app_rendersys_override;
363 extern CVar* app_extra_mod_path;
364 extern CVar* app_force_cache_purge;
365 extern CVar* app_force_cache_update;
366 extern CVar* app_disable_online_api;
367 extern CVar* app_config_long_names;
368 extern CVar* app_custom_scripts;
369 extern CVar* app_recent_scripts;
370 
371 // Simulation
372 extern CVar* sim_state;
373 extern CVar* sim_terrain_name;
374 extern CVar* sim_terrain_gui_name;
375 extern CVar* sim_spawn_running;
376 extern CVar* sim_replay_enabled;
377 extern CVar* sim_replay_length;
378 extern CVar* sim_replay_stepping;
379 extern CVar* sim_realistic_commands;
380 extern CVar* sim_races_enabled;
381 extern CVar* sim_no_collisions;
382 extern CVar* sim_no_self_collisions;
383 extern CVar* sim_gearbox_mode;
384 extern CVar* sim_soft_reset_mode;
385 extern CVar* sim_quickload_dialog;
386 extern CVar* sim_live_repair_interval;
387 extern CVar* sim_tuning_enabled;
388 
389 // Multiplayer
390 extern CVar* mp_state;
391 extern CVar* mp_join_on_startup;
392 extern CVar* mp_chat_auto_hide;
393 extern CVar* mp_hide_net_labels;
394 extern CVar* mp_hide_own_net_label;
395 extern CVar* mp_pseudo_collisions;
396 extern CVar* mp_server_host;
397 extern CVar* mp_server_port;
398 extern CVar* mp_server_password;
399 extern CVar* mp_player_name;
400 extern CVar* mp_player_token;
401 extern CVar* mp_api_url;
402 extern CVar* mp_cyclethru_net_actors;
403 
404 // New remote API
405 extern CVar* remote_query_url;
406 
407 // Diagnostic
408 extern CVar* diag_auto_spawner_report;
409 extern CVar* diag_camera;
410 extern CVar* diag_trace_globals;
411 extern CVar* diag_rig_log_node_import;
412 extern CVar* diag_rig_log_node_stats;
413 extern CVar* diag_truck_mass;
414 extern CVar* diag_envmap;
415 extern CVar* diag_videocameras;
416 extern CVar* diag_preset_terrain;
417 extern CVar* diag_preset_spawn_pos;
418 extern CVar* diag_preset_spawn_rot;
419 extern CVar* diag_preset_vehicle;
420 extern CVar* diag_preset_veh_config;
421 extern CVar* diag_preset_veh_enter;
422 extern CVar* diag_log_console_echo;
423 extern CVar* diag_log_beam_break;
424 extern CVar* diag_log_beam_deform;
425 extern CVar* diag_log_beam_trigger;
426 extern CVar* diag_simple_materials;
427 extern CVar* diag_warning_texture;
428 extern CVar* diag_hide_broken_beams;
429 extern CVar* diag_hide_beam_stress;
430 extern CVar* diag_hide_wheel_info;
431 extern CVar* diag_hide_wheels;
432 extern CVar* diag_hide_nodes;
433 extern CVar* diag_terrn_log_roads;
434 extern CVar* diag_actor_dump;
435 extern CVar* diag_allow_window_resize;
436 
437 // System
438 extern CVar* sys_process_dir;
439 extern CVar* sys_user_dir;
440 extern CVar* sys_config_dir;
441 extern CVar* sys_cache_dir;
442 extern CVar* sys_thumbnails_dir;
443 extern CVar* sys_logs_dir;
444 extern CVar* sys_resources_dir;
445 extern CVar* sys_profiler_dir;
446 extern CVar* sys_savegames_dir;
447 extern CVar* sys_screenshot_dir;
448 extern CVar* sys_scripts_dir;
449 extern CVar* sys_projects_dir;
450 
451 // OS command line
452 extern CVar* cli_server_host;
453 extern CVar* cli_server_port;
454 extern CVar* cli_preset_vehicle;
455 extern CVar* cli_preset_veh_config;
456 extern CVar* cli_preset_terrain;
457 extern CVar* cli_preset_spawn_pos;
458 extern CVar* cli_preset_spawn_rot;
459 extern CVar* cli_preset_veh_enter;
460 extern CVar* cli_force_cache_update;
461 extern CVar* cli_resume_autosave;
462 extern CVar* cli_custom_scripts;
463 
464 // Input - Output
465 extern CVar* io_analog_smoothing;
466 extern CVar* io_analog_sensitivity;
467 extern CVar* io_blink_lock_range;
468 extern CVar* io_ffb_enabled;
469 extern CVar* io_ffb_camera_gain;
470 extern CVar* io_ffb_center_gain;
471 extern CVar* io_ffb_master_gain;
472 extern CVar* io_ffb_stress_gain;
473 extern CVar* io_input_grab_mode;
474 extern CVar* io_arcade_controls;
475 extern CVar* io_hydro_coupling;
476 extern CVar* io_outgauge_mode;
477 extern CVar* io_outgauge_ip;
478 extern CVar* io_outgauge_port;
479 extern CVar* io_outgauge_delay;
480 extern CVar* io_outgauge_id;
481 extern CVar* io_discord_rpc;
482 extern CVar* io_invert_orbitcam;
483 
484 // Audio
485 extern CVar* audio_master_volume;
486 extern CVar* audio_enable_creak;
487 extern CVar* audio_device_name;
488 extern CVar* audio_menu_music;
489 
490 // Graphics
491 extern CVar* gfx_flares_mode;
492 extern CVar* gfx_polygon_mode;
493 extern CVar* gfx_shadow_type;
494 extern CVar* gfx_extcam_mode;
495 extern CVar* gfx_sky_mode;
496 extern CVar* gfx_sky_time_cycle;
497 extern CVar* gfx_sky_time_speed;
498 extern CVar* gfx_texture_filter;
499 extern CVar* gfx_vegetation_mode;
500 extern CVar* gfx_water_mode;
501 extern CVar* gfx_anisotropy;
502 extern CVar* gfx_water_waves;
503 extern CVar* gfx_particles_mode;
504 extern CVar* gfx_enable_videocams;
505 extern CVar* gfx_window_videocams;
506 extern CVar* gfx_surveymap_icons;
507 extern CVar* gfx_declutter_map;
508 extern CVar* gfx_envmap_enabled;
509 extern CVar* gfx_envmap_rate;
510 extern CVar* gfx_shadow_quality;
511 extern CVar* gfx_skidmarks_mode;
512 extern CVar* gfx_sight_range;
513 extern CVar* gfx_camera_height;
514 extern CVar* gfx_fov_external;
515 extern CVar* gfx_fov_external_default;
516 extern CVar* gfx_fov_internal;
517 extern CVar* gfx_fov_internal_default;
518 extern CVar* gfx_static_cam_fov_exp;
519 extern CVar* gfx_fixed_cam_tracking;
520 extern CVar* gfx_fps_limit;
521 extern CVar* gfx_speedo_digital;
522 extern CVar* gfx_speedo_imperial;
523 extern CVar* gfx_flexbody_cache;
524 extern CVar* gfx_reduce_shadows;
525 extern CVar* gfx_enable_rtshaders;
526 extern CVar* gfx_alt_actor_materials;
527 extern CVar* gfx_auto_lod;
528 
529 // Flexbodies
530 extern CVar* flexbody_defrag_enabled;
531 extern CVar* flexbody_defrag_const_penalty;
536 extern CVar* flexbody_defrag_invert_lookup;
537 
538 // GUI
539 extern CVar* ui_show_live_repair_controls;
540 extern CVar* ui_show_vehicle_buttons;
541 extern CVar* ui_preset;
542 extern CVar* ui_hide_gui;
543 
544 // ------------------------------------------------------------------------------------------------
545 // Global objects
546 // ------------------------------------------------------------------------------------------------
547 
548 // Getters
549 AppContext* GetAppContext();
550 ContentManager* GetContentManager();
551 OverlayWrapper* GetOverlayWrapper();
552 GUIManager* GetGuiManager();
553 Console* GetConsole();
554 InputEngine* GetInputEngine();
555 CacheSystem* GetCacheSystem();
556 MumbleIntegration* GetMumble();
557 ThreadPool* GetThreadPool();
558 CameraManager* GetCameraManager();
559 GfxScene* GetGfxScene();
560 SoundScriptManager* GetSoundScriptManager();
561 LanguageEngine* GetLanguageEngine();
562 ScriptEngine* GetScriptEngine();
563 Network* GetNetwork();
564 GameContext* GetGameContext();
565 OutGauge* GetOutGauge();
566 DiscordRpc* GetDiscordRpc();
567 
568 // Factories
569 void CreateOverlayWrapper();
570 void CreateGuiManager();
571 void CreateInputEngine();
572 void CreateMumble();
573 void CreateThreadPool();
574 void CreateCameraManager();
575 void CreateGfxScene();
577 void CreateScriptEngine();
578 
579 // Cleanups
580 void DestroyOverlayWrapper();
581 void DestroyInputEngine();
582 
583 } // namespace App
584 
585 // ------------------------------------------------------------------------------------------------
586 // Exception handling
587 // ------------------------------------------------------------------------------------------------
588 
590 {
591  HANDLEGENERICEXCEPTION_LOGFILE = BITMASK(1), // Log to 'RoR.log'; Note OGRE exceptions are logged by OGRE but we still want the 'from' argument.
592  HANDLEGENERICEXCEPTION_SCRIPTEVENT = BITMASK(2), // Forward to script engine as game event `SE_GENERIC_EXCEPTION_CAUGHT`.
593  HANDLEGENERICEXCEPTION_CONSOLE = BITMASK(3), // Print to console, which auto-logs to RoR.log.
594 
596 };
597 
598 void HandleGenericException(const std::string& from, BitMask_t flags = HANDLEGENERICEXCEPTION_DEFAULT);
599 
601 
602 // ------------------------------------------------------------------------------------------------
603 // Logging
604 // ------------------------------------------------------------------------------------------------
605 
606 void Log(const char* msg);
607 void LogFormat(const char* format, ...);
608 
609 } // namespace RoR
610 
611 inline void LOG(const char* msg) { RoR::Log(msg); }
612 inline void LOG(std::string const & msg) { RoR::Log(msg.c_str()); }
613 
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::App::diag_truck_mass
CVar * diag_truck_mass
Definition: Application.cpp:137
RoR::App::CreateMumble
void CreateMumble()
Definition: Application.cpp:311
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
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
RoR::GfxSkyMode::SANDSTORM
@ SANDSTORM
Sandstorm (fastest)
RoR::App::CreateScriptEngine
void CreateScriptEngine()
Definition: Application.cpp:345
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
RoR::App::GetNetwork
Network * GetNetwork()
Definition: Application.cpp:287
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:270
RoR::App::GetSoundScriptManager
SoundScriptManager * GetSoundScriptManager()
Definition: Application.cpp:280
RoR::MSG_GUI_SHOW_MESSAGE_BOX_REQUESTED
@ MSG_GUI_SHOW_MESSAGE_BOX_REQUESTED
Payload = MessageBoxConfig* (owner)
Definition: Application.h:142
RoR::SimResetMode
SimResetMode
Definition: Application.h:280
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:281
RoR::App::gfx_speedo_imperial
CVar * gfx_speedo_imperial
Definition: Application.cpp:246
RoR::App::gfx_fov_internal
CVar * gfx_fov_internal
Definition: Application.cpp:240
ForwardDeclarations.h
Global forward declarations.
RoR::App::CreateCameraManager
void CreateCameraManager()
Definition: Application.cpp:325
RoR::MSG_SIM_MODIFY_ACTOR_REQUESTED
@ MSG_SIM_MODIFY_ACTOR_REQUESTED
Payload = RoR::ActorModifyRequest* (owner)
Definition: Application.h:122
RoR::App::mp_hide_net_labels
CVar * mp_hide_net_labels
Definition: Application.cpp:118
RoR::App::diag_preset_vehicle
CVar * diag_preset_vehicle
Definition: Application.cpp:143
RoR::MACHINE
@ MACHINE
its a machine
Definition: SimData.h:96
RoR::App::cli_resume_autosave
CVar * cli_resume_autosave
Definition: Application.cpp:185
RoR::MSG_EDI_RELOAD_BUNDLE_REQUESTED
@ MSG_EDI_RELOAD_BUNDLE_REQUESTED
Payload = RoR::CacheEntryPtr* (owner)
Definition: Application.h:153
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:93
RoR::GfxShadowType::NONE
@ NONE
RoR::MpState::CONNECTED
@ CONNECTED
RoR::App::sys_resources_dir
CVar * sys_resources_dir
Definition: Application.cpp:168
RoR::MSG_SIM_SCRIPT_CALLBACK_QUEUED
@ MSG_SIM_SCRIPT_CALLBACK_QUEUED
Payload = RoR::ScriptCallbackArgs* (owner)
Definition: Application.h:131
RoR::LT_AssetPack
@ LT_AssetPack
Definition: Application.h:323
RoR::App::sys_scripts_dir
CVar * sys_scripts_dir
Definition: Application.cpp:172
RoR::LT_AddonPart
@ LT_AddonPart
Definition: Application.h:321
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
RoR::App::GetCameraManager
CameraManager * GetCameraManager()
Definition: Application.cpp:278
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:272
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
RoR::HIDE_MIRROR
@ HIDE_MIRROR
Definition: Application.h:303
RoR::SimResetMode::SOFT
@ SOFT
RoR::UiPreset
UiPreset
See UiPresets[] list in GUIManager.cpp (declared extern in GUIManager.h)
Definition: Application.h:289
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::mp_player_token
CVar * mp_player_token
Definition: Application.cpp:125
RoR::HandleMsgQueueException
void HandleMsgQueueException(MsgType from)
Definition: Application.cpp:413
RoR::GfxTexFilter::ANISOTROPIC
@ ANISOTROPIC
RoR::AppState::MAIN_MENU
@ MAIN_MENU
RoR::HANDLEGENERICEXCEPTION_DEFAULT
@ HANDLEGENERICEXCEPTION_DEFAULT
Definition: Application.h:595
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
RoR::LT_Skin
@ LT_Skin
Definition: Application.h:319
RoR::GfxWaterMode
GfxWaterMode
Definition: Application.h:253
RoR::App::gfx_skidmarks_mode
CVar * gfx_skidmarks_mode
Definition: Application.cpp:235
RoR::App::cli_preset_vehicle
CVar * cli_preset_vehicle
Definition: Application.cpp:178
RoR::App::GetAppContext
AppContext * GetAppContext()
Definition: Application.cpp:269
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
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:326
RoR::AppState::PRINT_VERSION_EXIT
@ PRINT_VERSION_EXIT
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:372
RoR::LT_Tuneup
@ LT_Tuneup
Definition: Application.h:322
RoR::App::gfx_shadow_type
CVar * gfx_shadow_type
Definition: Application.cpp:217
RoR::App::mp_join_on_startup
CVar * mp_join_on_startup
Definition: Application.cpp:116
RoR::App::gfx_particles_mode
CVar * gfx_particles_mode
Definition: Application.cpp:227
RoR::App::gfx_flexbody_cache
CVar * gfx_flexbody_cache
Definition: Application.cpp:247
RoR::AppState
AppState
Definition: Application.h:164
RoR::App::gfx_extcam_mode
CVar * gfx_extcam_mode
Definition: Application.cpp:218
RoR::SimState::EDITOR_MODE
@ EDITOR_MODE
Hacky, but whatever... added by Ulteq, 2016.
RoR::App::CreateInputEngine
void CreateInputEngine()
Definition: Application.cpp:305
RoR::App::gfx_enable_videocams
CVar * gfx_enable_videocams
Definition: Application.cpp:228
RoR::MpState
MpState
Definition: Application.h:174
RoR::App::CreateSoundScriptManager
void CreateSoundScriptManager()
Definition: Application.cpp:337
RoR::App::GetOverlayWrapper
OverlayWrapper * GetOverlayWrapper()
Definition: Application.cpp:271
RoR::App::app_num_workers
CVar * app_num_workers
Definition: Application.cpp:84
RoR::MsgTypeToString
const char * MsgTypeToString(MsgType type)
Definition: Application.cpp:572
RoR::LogFormat
void LogFormat(const char *format,...)
Improved logging utility. Uses fixed 2Kb buffer.
Definition: Application.cpp:427
RoR::App::gfx_enable_rtshaders
CVar * gfx_enable_rtshaders
Definition: Application.cpp:249
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::App::diag_trace_globals
CVar * diag_trace_globals
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::MSG_NET_REFRESH_SERVERLIST_FAILURE
@ MSG_NET_REFRESH_SERVERLIST_FAILURE
Payload = RoR::CurlFailInfo* (owner)
Definition: Application.h:107
RoR::GfxWaterMode::NONE
@ NONE
None.
RoR::App::gfx_fov_external_default
CVar * gfx_fov_external_default
Definition: Application.cpp:239
RoR::App::sim_no_self_collisions
CVar * sim_no_self_collisions
Definition: Application.cpp:107
RoR::MSG_NET_RECV_ERROR
@ MSG_NET_RECV_ERROR
Definition: Application.h:105
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:265
RoR::LT_Load
@ LT_Load
Definition: Application.h:317
RoR::LT_Airplane
@ LT_Airplane
Definition: Application.h:314
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::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
RoR::LT_Car
@ LT_Car
Definition: Application.h:312
Str.h
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
BITMASK
#define BITMASK(OFFSET)
Definition: BitFlags.h:10
RoR::App::app_disable_online_api
CVar * app_disable_online_api
Definition: Application.cpp:90
RoR::App::gfx_texture_filter
CVar * gfx_texture_filter
Definition: Application.cpp:222
RoR::App::sys_savegames_dir
CVar * sys_savegames_dir
Definition: Application.cpp:170
RoR::LT_Extension
@ LT_Extension
Definition: Application.h:318
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::App::diag_preset_spawn_rot
CVar * diag_preset_spawn_rot
Definition: Application.cpp:142
RoR::GfxShadowType
GfxShadowType
Definition: Application.h:210
RoR::GfxWaterMode::FULL_HQ
@ FULL_HQ
Reflection + refraction (quality optimized)
RoR::SimState::OFF
@ OFF
RoR::SimState
SimState
Definition: Application.h:181
RoR::SimGearboxMode
SimGearboxMode
Definition: Application.h:197
RoR::App::GetScriptEngine
ScriptEngine * GetScriptEngine()
Definition: Application.cpp:282
RoR::App::diag_hide_wheel_info
CVar * diag_hide_wheel_info
Definition: Application.cpp:154
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:592
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::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::MSG_GUI_SHOW_CHATBOX_REQUESTED
@ MSG_GUI_SHOW_CHATBOX_REQUESTED
Description = message or server command to pre-fill in the chatbox (deleting whatever was there previ...
Definition: Application.h:147
RoR::LT_Boat
@ LT_Boat
Definition: Application.h:313
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
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:254
RoR::LT_Truck
@ LT_Truck
Definition: Application.h:311
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:299
RoR::App::CreateGfxScene
void CreateGfxScene()
Definition: Application.cpp:331
RoR::ToLocalizedString
std::string ToLocalizedString(SimGearboxMode e)
Definition: Application.cpp:443
RoR::App::gfx_window_videocams
CVar * gfx_window_videocams
Definition: Application.cpp:229
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:250
RoR::App::io_ffb_camera_gain
CVar * io_ffb_camera_gain
Definition: Application.cpp:193
BitFlags.h
Bit operations.
RoR::App::gfx_speedo_digital
CVar * gfx_speedo_digital
Definition: Application.cpp:245
RoR::GfxSkyMode::CAELUM
@ CAELUM
Caelum (best looking, slower)
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::flexbody_defrag_prog_up_penalty
CVar * flexbody_defrag_prog_up_penalty
Definition: Application.cpp:256
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
RoR::SimResetMode::HARD
@ HARD
RoR::MSG_NET_ADD_PEEROPTIONS_REQUESTED
@ MSG_NET_ADD_PEEROPTIONS_REQUESTED
Payload = RoR::PeerOptionsRequest* (owner)
Definition: Application.h:113
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::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
RoR::App::sys_thumbnails_dir
CVar * sys_thumbnails_dir
Definition: Application.cpp:166
RoR::GfxShadowType::PSSM
@ PSSM
RoR::App::diag_log_beam_trigger
CVar * diag_log_beam_trigger
Definition: Application.cpp:149
RoR::App::app_state
CVar * app_state
Definition: Application.cpp:79
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
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:258
RoR::MSG_NET_REMOVE_PEEROPTIONS_REQUESTED
@ MSG_NET_REMOVE_PEEROPTIONS_REQUESTED
Payload = RoR::PeerOptionsRequest* (owner)
Definition: Application.h:114
RoR::AppState::BOOTSTRAP
@ BOOTSTRAP
Initial state.
RoR::App::DestroyOverlayWrapper
void DestroyOverlayWrapper()
Definition: Application.cpp:354
RoR::GfxTexFilter::BILINEAR
@ BILINEAR
RoR::App::sys_cache_dir
CVar * sys_cache_dir
Definition: Application.cpp:165
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:263
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::LT_Vehicle
@ LT_Vehicle
Definition: Application.h:310
RoR::LT_Trailer
@ LT_Trailer
Definition: Application.h:315
RoR::App::flexbody_defrag_reorder_texcoords
CVar * flexbody_defrag_reorder_texcoords
Definition: Application.cpp:259
RoR::MSG_SIM_HIDE_NET_ACTOR_REQUESTED
@ MSG_SIM_HIDE_NET_ACTOR_REQUESTED
Payload = ActorPtr* (owner)
Definition: Application.h:126
RoR::UiPreset::REGULAR
@ REGULAR
RoR::GfxExtCamMode
GfxExtCamMode
Definition: Application.h:217
RoR::LoaderType
LoaderType
< Search mode for ModCache::Query() & Operation mode for GUI::MainSelector
Definition: Application.h:306
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:264
RoR::MsgType
MsgType
Global gameplay message loop, see struct Message in GameContext.h.
Definition: Application.h:74
RoR::App::sim_races_enabled
CVar * sim_races_enabled
Definition: Application.cpp:105
RoR::SimState::PAUSED
@ PAUSED
RoR::UiPreset::EXPERT
@ EXPERT
RoR::GfxVegetation::FULL
@ FULL
RoR::App::GetConsole
Console * GetConsole()
Definition: Application.cpp:273
RoR::GfxVegetation
GfxVegetation
Definition: Application.h:234
RoR::MSG_NET_OPEN_RESOURCE_SUCCESS
@ MSG_NET_OPEN_RESOURCE_SUCCESS
Payload = GUI::ResourcesCollection* (owner)
Definition: Application.h:109
RoR::App::mp_hide_own_net_label
CVar * mp_hide_own_net_label
Definition: Application.cpp:119
RoR::SimGearboxMode::SEMI_AUTO
@ SEMI_AUTO
Manual shift with auto clutch.
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
RoR::UiPreset::Count
@ Count
RoR::App::GetGameContext
GameContext * GetGameContext()
Definition: Application.cpp:283
RoR::App::CreateThreadPool
void CreateThreadPool()
Definition: Application.cpp:319
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
RoR::App::gfx_fov_internal_default
CVar * gfx_fov_internal_default
Definition: Application.cpp:241
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::AppState::SIMULATION
@ SIMULATION
RoR::App::diag_videocameras
CVar * diag_videocameras
Definition: Application.cpp:139
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
RoR::App::gfx_flares_mode
CVar * gfx_flares_mode
Definition: Application.cpp:215
RoR::AppState::SHUTDOWN
@ SHUTDOWN
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:293
RoR::MSG_INVALID
@ MSG_INVALID
Definition: Application.h:83
RoR::AppState::PRINT_HELP_EXIT
@ PRINT_HELP_EXIT
RoR::App::flexbody_defrag_invert_lookup
CVar * flexbody_defrag_invert_lookup
Definition: Application.cpp:260
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
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::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
RoR::MSG_NET_CONNECT_SUCCESS
@ MSG_NET_CONNECT_SUCCESS
Definition: Application.h:100
RoR::SimGearboxMode::MANUAL
@ MANUAL
Fully manual: sequential shift.
RoR::LT_Terrain
@ LT_Terrain
Definition: Application.h:309
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:285
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
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::App::sim_realistic_commands
CVar * sim_realistic_commands
Definition: Application.cpp:104
RoR::App::io_blink_lock_range
CVar * io_blink_lock_range
Definition: Application.cpp:191
RoR::App::GetCacheSystem
CacheSystem * GetCacheSystem()
Definition: Application.cpp:275
RoR::GfxSkyMode::SKYX
@ SKYX
SkyX (best looking, slower)
RoR::App::ui_show_vehicle_buttons
CVar * ui_show_vehicle_buttons
Definition: Application.cpp:264
RoR::App::gfx_sky_time_speed
CVar * gfx_sky_time_speed
Definition: Application.cpp:221
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::DEPTHMAP_ENABLED
@ DEPTHMAP_ENABLED
Definition: Application.h:301
RoR::TObjSpecialObject::ROAD
@ ROAD
RoR::GfxTexFilter::TRILINEAR
@ TRILINEAR
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:243
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:251
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::LT_None
@ LT_None
Definition: Application.h:308
RoR::App::diag_camera
CVar * diag_camera
Definition: Application.cpp:134
RoR::App::io_analog_smoothing
CVar * io_analog_smoothing
Definition: Application.cpp:189
RoR::App::diag_rig_log_node_stats
CVar * diag_rig_log_node_stats
Definition: Application.cpp:136
RoR::MpState::DISABLED
@ DISABLED
Not connected for whatever reason.
RoR::TObjSpecialObject::ROAD_BRIDGE_NO_PILLARS
@ ROAD_BRIDGE_NO_PILLARS
RoR::App::cli_preset_spawn_pos
CVar * cli_preset_spawn_pos
Definition: Application.cpp:181
RoR::GfxFlaresMode::NONE
@ NONE
None (fastest)
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:274
RoR::IoInputGrabMode
IoInputGrabMode
Definition: Application.h:272
RoR::IoInputGrabMode::ALL
@ ALL
RoR::App::cli_preset_veh_config
CVar * cli_preset_veh_config
Definition: Application.cpp:179
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
RoR::LT_AllBeam
@ LT_AllBeam
Definition: Application.h:320
RoR::MSG_APP_SCRIPT_THREAD_STATUS
@ MSG_APP_SCRIPT_THREAD_STATUS
Payload = RoR::ScriptEventArgs* (owner)
Definition: Application.h:94
RoR::App::GetOutGauge
OutGauge * GetOutGauge()
Definition: Application.cpp:284
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
RoR::App::DestroyInputEngine
void DestroyInputEngine()
Definition: Application.cpp:360
RoR::SimState::RUNNING
@ RUNNING
RoR::TObjSpecialObject::LOAD
@ LOAD
BitMask_t
uint32_t BitMask_t
Definition: BitFlags.h:7
RoR::SimGearboxMode::MANUAL_RANGES
@ MANUAL_RANGES
Fully manual: stick shift with ranges.
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::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
RoR::App::app_async_physics
CVar * app_async_physics
Definition: Application.cpp:83
RoR::TObjSpecialObject::NONE
@ NONE
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::App::sim_terrain_gui_name
CVar * sim_terrain_gui_name
Definition: Application.cpp:98
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::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:257
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
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:276
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
RoR::MSG_SIM_PAUSE_REQUESTED
@ MSG_SIM_PAUSE_REQUESTED
Definition: Application.h:116
RoR::BOAT
@ BOAT
its a boat
Definition: SimData.h:95
RoR::App::GetThreadPool
ThreadPool * GetThreadPool()
Definition: Application.cpp:277
RoR::DEPTHMAP_DISABLED
@ DEPTHMAP_DISABLED
Definition: Application.h:302
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
CVar.h
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
RoR::GfxTexFilter
GfxTexFilter
Definition: Application.h:225
RoR
Definition: AppContext.h:36
RoR::HANDLEGENERICEXCEPTION_LOGFILE
@ HANDLEGENERICEXCEPTION_LOGFILE
Definition: Application.h:591
RoR::App::sim_spawn_running
CVar * sim_spawn_running
Definition: Application.cpp:100
RoR::GfxFlaresMode::NO_LIGHTSOURCES
@ NO_LIGHTSOURCES
No light sources.
RoR::UiPreset::NOVICE
@ NOVICE
RoR::App::gfx_reduce_shadows
CVar * gfx_reduce_shadows
Definition: Application.cpp:248
RoR::Log
void Log(const char *msg)
The ultimate, application-wide logging function. Adds a line (any length) in 'RoR....
Definition: Application.cpp:422
RoR::VisibilityMasks
VisibilityMasks
Definition: Application.h:299
RoR::TObjSpecialObject::TRUCK2
@ TRUCK2
Free position (not auto-adjusted to fit terrain or water surface)
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:255
RoR::App::GetGfxScene
GfxScene * GetGfxScene()
Definition: Application.cpp:279
RoR::LT_Train
@ LT_Train
Definition: Application.h:316
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:593
RoR::App::io_outgauge_ip
CVar * io_outgauge_ip
Definition: Application.cpp:201
RoR::TObjSpecialObjectToString
const char * TObjSpecialObjectToString(TObjSpecialObject val)
Definition: Application.cpp:653
RoR::GfxVegetation::x50PERC
@ x50PERC
RoR::HandleGenericExceptionFlags
HandleGenericExceptionFlags
< Flags for HandleGenericException()
Definition: Application.h:589
RoR::MSG_NET_DISCONNECT_REQUESTED
@ MSG_NET_DISCONNECT_REQUESTED
Definition: Application.h:103
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:266
RoR::App::mp_pseudo_collisions
CVar * mp_pseudo_collisions
Definition: Application.cpp:120
RoR::MpState::CONNECTING
@ CONNECTING
RoR::App::cli_preset_veh_enter
CVar * cli_preset_veh_enter
Definition: Application.cpp:183
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.
RoR::App::remote_query_url
CVar * remote_query_url
Definition: Application.cpp:130