RigsofRods
Soft-body Physics Simulation
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
113  // Simulation
132  // GUI
143  // Editing
153 };
154 
155 const char* MsgTypeToString(MsgType type);
156 
158 
159 enum class AppState
160 {
161  BOOTSTRAP,
162  MAIN_MENU,
163  SIMULATION,
164  SHUTDOWN,
167 };
168 
169 enum class MpState
170 {
171  DISABLED,
172  CONNECTING,
173  CONNECTED,
174 };
175 
176 enum class SimState
177 {
178  OFF,
179  RUNNING,
180  PAUSED,
181  EDITOR_MODE
182 };
183 
185 
188 
191 
192 enum class SimGearboxMode
193 {
194  AUTO,
195  SEMI_AUTO,
196  MANUAL,
197  MANUAL_STICK,
198  MANUAL_RANGES,
199 };
200 std::string ToLocalizedString(SimGearboxMode e);
201 
204 
205 enum class GfxShadowType
206 {
207  NONE,
208  PSSM
209 };
210 std::string ToLocalizedString(GfxShadowType e);
211 
212 enum class GfxExtCamMode
213 {
214  NONE,
215  STATIC,
216  PITCHING,
217 };
218 std::string ToLocalizedString(GfxExtCamMode e);
219 
220 enum class GfxTexFilter
221 {
222  NONE,
223  BILINEAR,
224  TRILINEAR,
225  ANISOTROPIC,
226 };
227 std::string ToLocalizedString(GfxTexFilter e);
228 
229 enum class GfxVegetation
230 {
231  NONE,
232  x20PERC,
233  x50PERC,
234  FULL,
235 };
236 std::string ToLocalizedString(GfxVegetation e);
237 
238 enum class GfxFlaresMode
239 {
240  NONE,
245 };
246 std::string ToLocalizedString(GfxFlaresMode e);
247 
248 enum class GfxWaterMode
249 {
250  NONE,
251  BASIC,
252  REFLECT,
253  FULL_FAST,
254  FULL_HQ,
255  HYDRAX,
256 };
257 std::string ToLocalizedString(GfxWaterMode e);
258 
259 enum class GfxSkyMode
260 {
261  SANDSTORM,
262  CAELUM,
263  SKYX,
264 };
265 std::string ToLocalizedString(GfxSkyMode e);
266 
267 enum class IoInputGrabMode
268 {
269  NONE,
270  ALL,
271  DYNAMIC,
272 };
273 std::string ToLocalizedString(IoInputGrabMode e);
274 
275 enum class SimResetMode
276 {
277  HARD = 0, // 'sim_soft_reset=false'
278  SOFT = 1 // 'sim_soft_reset=true'
279 };
280 std::string ToLocalizedString(SimResetMode e);
281 
283 {
287 };
288 
290 {
292  LT_Terrain, // Invocable from GUI; No script alias, used in main menu
293  LT_Vehicle, // Script "vehicle", ext: truck car
294  LT_Truck, // Script "truck", ext: truck car
295  LT_Car, // Script "car", ext: car
296  LT_Boat, // Script "boat", ext: boat
297  LT_Airplane, // Script "airplane", ext: airplane
298  LT_Trailer, // Script "trailer", ext: trailer
299  LT_Train, // Script "train", ext: train
300  LT_Load, // Script "load", ext: load
301  LT_Extension, // Script "extension", ext: trailer load
302  LT_Skin, // No script alias, invoked automatically
303  LT_AllBeam, // Invocable from GUI; Script "all", ext: truck car boat airplane train load
304  LT_AddonPart, // No script alias, invoked manually, ext: addonpart
305  LT_Tuneup, // No script alias, invoked manually, ext: tuneup
306  LT_AssetPack, // No script alias, invoked manually, ext: assetpack
307 };
308 
309 // ------------------------------------------------------------------------------------------------
310 // Global variables
311 // ------------------------------------------------------------------------------------------------
312 
313 namespace App {
314 
315 // App
316 extern CVar* app_state;
317 extern CVar* app_language;
318 extern CVar* app_country;
319 extern CVar* app_skip_main_menu;
320 extern CVar* app_async_physics;
321 extern CVar* app_num_workers;
322 extern CVar* app_screenshot_format;
323 extern CVar* app_rendersys_override;
324 extern CVar* app_extra_mod_path;
325 extern CVar* app_force_cache_purge;
326 extern CVar* app_force_cache_update;
327 extern CVar* app_disable_online_api;
328 extern CVar* app_config_long_names;
329 extern CVar* app_custom_scripts;
330 extern CVar* app_recent_scripts;
331 
332 // Simulation
333 extern CVar* sim_state;
334 extern CVar* sim_terrain_name;
335 extern CVar* sim_terrain_gui_name;
336 extern CVar* sim_spawn_running;
337 extern CVar* sim_replay_enabled;
338 extern CVar* sim_replay_length;
339 extern CVar* sim_replay_stepping;
340 extern CVar* sim_realistic_commands;
341 extern CVar* sim_races_enabled;
342 extern CVar* sim_no_collisions;
343 extern CVar* sim_no_self_collisions;
344 extern CVar* sim_gearbox_mode;
345 extern CVar* sim_soft_reset_mode;
346 extern CVar* sim_quickload_dialog;
347 extern CVar* sim_live_repair_interval;
348 extern CVar* sim_tuning_enabled;
349 
350 // Multiplayer
351 extern CVar* mp_state;
352 extern CVar* mp_join_on_startup;
353 extern CVar* mp_chat_auto_hide;
354 extern CVar* mp_hide_net_labels;
355 extern CVar* mp_hide_own_net_label;
356 extern CVar* mp_pseudo_collisions;
357 extern CVar* mp_server_host;
358 extern CVar* mp_server_port;
359 extern CVar* mp_server_password;
360 extern CVar* mp_player_name;
361 extern CVar* mp_player_token;
362 extern CVar* mp_api_url;
363 extern CVar* mp_cyclethru_net_actors;
364 
365 // New remote API
366 extern CVar* remote_query_url;
367 
368 // Diagnostic
369 extern CVar* diag_auto_spawner_report;
370 extern CVar* diag_camera;
371 extern CVar* diag_trace_globals;
372 extern CVar* diag_rig_log_node_import;
373 extern CVar* diag_rig_log_node_stats;
374 extern CVar* diag_truck_mass;
375 extern CVar* diag_envmap;
376 extern CVar* diag_videocameras;
377 extern CVar* diag_preset_terrain;
378 extern CVar* diag_preset_spawn_pos;
379 extern CVar* diag_preset_spawn_rot;
380 extern CVar* diag_preset_vehicle;
381 extern CVar* diag_preset_veh_config;
382 extern CVar* diag_preset_veh_enter;
383 extern CVar* diag_log_console_echo;
384 extern CVar* diag_log_beam_break;
385 extern CVar* diag_log_beam_deform;
386 extern CVar* diag_log_beam_trigger;
387 extern CVar* diag_simple_materials;
388 extern CVar* diag_warning_texture;
389 extern CVar* diag_hide_broken_beams;
390 extern CVar* diag_hide_beam_stress;
391 extern CVar* diag_hide_wheel_info;
392 extern CVar* diag_hide_wheels;
393 extern CVar* diag_hide_nodes;
394 extern CVar* diag_terrn_log_roads;
395 extern CVar* diag_actor_dump;
396 extern CVar* diag_allow_window_resize;
397 
398 // System
399 extern CVar* sys_process_dir;
400 extern CVar* sys_user_dir;
401 extern CVar* sys_config_dir;
402 extern CVar* sys_cache_dir;
403 extern CVar* sys_thumbnails_dir;
404 extern CVar* sys_logs_dir;
405 extern CVar* sys_resources_dir;
406 extern CVar* sys_profiler_dir;
407 extern CVar* sys_savegames_dir;
408 extern CVar* sys_screenshot_dir;
409 extern CVar* sys_scripts_dir;
410 extern CVar* sys_projects_dir;
411 
412 // OS command line
413 extern CVar* cli_server_host;
414 extern CVar* cli_server_port;
415 extern CVar* cli_preset_vehicle;
416 extern CVar* cli_preset_veh_config;
417 extern CVar* cli_preset_terrain;
418 extern CVar* cli_preset_spawn_pos;
419 extern CVar* cli_preset_spawn_rot;
420 extern CVar* cli_preset_veh_enter;
421 extern CVar* cli_force_cache_update;
422 extern CVar* cli_resume_autosave;
423 extern CVar* cli_custom_scripts;
424 
425 // Input - Output
426 extern CVar* io_analog_smoothing;
427 extern CVar* io_analog_sensitivity;
428 extern CVar* io_blink_lock_range;
429 extern CVar* io_ffb_enabled;
430 extern CVar* io_ffb_camera_gain;
431 extern CVar* io_ffb_center_gain;
432 extern CVar* io_ffb_master_gain;
433 extern CVar* io_ffb_stress_gain;
434 extern CVar* io_input_grab_mode;
435 extern CVar* io_arcade_controls;
436 extern CVar* io_hydro_coupling;
437 extern CVar* io_outgauge_mode;
438 extern CVar* io_outgauge_ip;
439 extern CVar* io_outgauge_port;
440 extern CVar* io_outgauge_delay;
441 extern CVar* io_outgauge_id;
442 extern CVar* io_discord_rpc;
443 extern CVar* io_invert_orbitcam;
444 
445 // Audio
446 extern CVar* audio_master_volume;
447 extern CVar* audio_enable_creak;
448 extern CVar* audio_device_name;
449 extern CVar* audio_menu_music;
450 
451 // Graphics
452 extern CVar* gfx_flares_mode;
453 extern CVar* gfx_polygon_mode;
454 extern CVar* gfx_shadow_type;
455 extern CVar* gfx_extcam_mode;
456 extern CVar* gfx_sky_mode;
457 extern CVar* gfx_sky_time_cycle;
458 extern CVar* gfx_sky_time_speed;
459 extern CVar* gfx_texture_filter;
460 extern CVar* gfx_vegetation_mode;
461 extern CVar* gfx_water_mode;
462 extern CVar* gfx_anisotropy;
463 extern CVar* gfx_water_waves;
464 extern CVar* gfx_particles_mode;
465 extern CVar* gfx_enable_videocams;
466 extern CVar* gfx_window_videocams;
467 extern CVar* gfx_surveymap_icons;
468 extern CVar* gfx_declutter_map;
469 extern CVar* gfx_envmap_enabled;
470 extern CVar* gfx_envmap_rate;
471 extern CVar* gfx_shadow_quality;
472 extern CVar* gfx_skidmarks_mode;
473 extern CVar* gfx_sight_range;
474 extern CVar* gfx_camera_height;
475 extern CVar* gfx_fov_external;
476 extern CVar* gfx_fov_external_default;
477 extern CVar* gfx_fov_internal;
478 extern CVar* gfx_fov_internal_default;
479 extern CVar* gfx_static_cam_fov_exp;
480 extern CVar* gfx_fixed_cam_tracking;
481 extern CVar* gfx_fps_limit;
482 extern CVar* gfx_speedo_digital;
483 extern CVar* gfx_speedo_imperial;
484 extern CVar* gfx_flexbody_cache;
485 extern CVar* gfx_reduce_shadows;
486 extern CVar* gfx_enable_rtshaders;
487 extern CVar* gfx_alt_actor_materials;
488 
489 // Flexbodies
490 extern CVar* flexbody_defrag_enabled;
491 extern CVar* flexbody_defrag_const_penalty;
496 extern CVar* flexbody_defrag_invert_lookup;
497 
498 // GUI
499 extern CVar* ui_show_live_repair_controls;
500 extern CVar* ui_show_vehicle_buttons;
501 
502 // ------------------------------------------------------------------------------------------------
503 // Global objects
504 // ------------------------------------------------------------------------------------------------
505 
506 // Getters
507 AppContext* GetAppContext();
508 ContentManager* GetContentManager();
509 OverlayWrapper* GetOverlayWrapper();
510 GUIManager* GetGuiManager();
511 Console* GetConsole();
512 InputEngine* GetInputEngine();
513 CacheSystem* GetCacheSystem();
514 MumbleIntegration* GetMumble();
515 ThreadPool* GetThreadPool();
516 CameraManager* GetCameraManager();
517 GfxScene* GetGfxScene();
518 SoundScriptManager* GetSoundScriptManager();
519 LanguageEngine* GetLanguageEngine();
520 ScriptEngine* GetScriptEngine();
521 Network* GetNetwork();
522 GameContext* GetGameContext();
523 OutGauge* GetOutGauge();
524 DiscordRpc* GetDiscordRpc();
525 
526 // Factories
527 void CreateOverlayWrapper();
528 void CreateGuiManager();
529 void CreateInputEngine();
530 void CreateMumble();
531 void CreateThreadPool();
532 void CreateCameraManager();
533 void CreateGfxScene();
535 void CreateScriptEngine();
536 
537 // Cleanups
538 void DestroyOverlayWrapper();
539 void DestroyInputEngine();
540 
541 } // namespace App
542 
543 // ------------------------------------------------------------------------------------------------
544 // Exception handling
545 // ------------------------------------------------------------------------------------------------
546 
548 {
549  HANDLEGENERICEXCEPTION_LOGFILE = BITMASK(1), // Log to 'RoR.log'; Note OGRE exceptions are logged by OGRE but we still want the 'from' argument.
550  HANDLEGENERICEXCEPTION_SCRIPTEVENT = BITMASK(2), // Forward to script engine as game event `SE_GENERIC_EXCEPTION_CAUGHT`.
551  HANDLEGENERICEXCEPTION_CONSOLE = BITMASK(3), // Print to console, which auto-logs to RoR.log.
552 
554 };
555 
556 void HandleGenericException(const std::string& from, BitMask_t flags = HANDLEGENERICEXCEPTION_DEFAULT);
557 
559 
560 // ------------------------------------------------------------------------------------------------
561 // Logging
562 // ------------------------------------------------------------------------------------------------
563 
564 void Log(const char* msg);
565 void LogFormat(const char* format, ...);
566 
567 } // namespace RoR
568 
569 inline void LOG(const char* msg) { RoR::Log(msg); }
570 inline void LOG(std::string const & msg) { RoR::Log(msg.c_str()); }
571 
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:151
RoR::App::diag_truck_mass
CVar * diag_truck_mass
Definition: Application.cpp:137
RoR::App::CreateMumble
void CreateMumble()
Definition: Application.cpp:308
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:116
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:342
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:284
RoR::MSG_SIM_REMOVE_FREEFORCE_REQUESTED
@ MSG_SIM_REMOVE_FREEFORCE_REQUESTED
Payload = RoR::FreeForceID_t* (owner)
Definition: Application.h:131
RoR::App::cli_force_cache_update
CVar * cli_force_cache_update
Definition: Application.cpp:184
RoR::App::GetContentManager
ContentManager * GetContentManager()
Definition: Application.cpp:267
RoR::App::GetSoundScriptManager
SoundScriptManager * GetSoundScriptManager()
Definition: Application.cpp:277
RoR::MSG_GUI_SHOW_MESSAGE_BOX_REQUESTED
@ MSG_GUI_SHOW_MESSAGE_BOX_REQUESTED
Payload = MessageBoxConfig* (owner)
Definition: Application.h:138
RoR::SimResetMode
SimResetMode
Definition: Application.h:275
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:278
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:322
RoR::MSG_SIM_MODIFY_ACTOR_REQUESTED
@ MSG_SIM_MODIFY_ACTOR_REQUESTED
Payload = RoR::ActorModifyRequest* (owner)
Definition: Application.h:120
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::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:148
RoR::MSG_APP_REINIT_INPUT_REQUESTED
@ MSG_APP_REINIT_INPUT_REQUESTED
Definition: Application.h:95
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:127
RoR::LT_AssetPack
@ LT_AssetPack
Definition: Application.h:306
RoR::App::sys_scripts_dir
CVar * sys_scripts_dir
Definition: Application.cpp:172
RoR::LT_AddonPart
@ LT_AddonPart
Definition: Application.h:304
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:275
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:269
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:150
RoR::App::sim_soft_reset_mode
CVar * sim_soft_reset_mode
Definition: Application.cpp:109
RoR::HIDE_MIRROR
@ HIDE_MIRROR
Definition: Application.h:286
RoR::SimResetMode::SOFT
@ SOFT
RoR::GfxExtCamMode::PITCHING
@ PITCHING
RoR::MSG_EDI_UNLOAD_BUNDLE_REQUESTED
@ MSG_EDI_UNLOAD_BUNDLE_REQUESTED
Payload = RoR::CacheEntryPtr* (owner)
Definition: Application.h:149
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:410
RoR::GfxTexFilter::ANISOTROPIC
@ ANISOTROPIC
RoR::AppState::MAIN_MENU
@ MAIN_MENU
RoR::HANDLEGENERICEXCEPTION_DEFAULT
@ HANDLEGENERICEXCEPTION_DEFAULT
Definition: Application.h:553
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:118
RoR::LT_Skin
@ LT_Skin
Definition: Application.h:302
RoR::GfxWaterMode
GfxWaterMode
Definition: Application.h:248
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:266
RoR::MSG_GUI_CLOSE_SELECTOR_REQUESTED
@ MSG_GUI_CLOSE_SELECTOR_REQUESTED
Definition: Application.h:136
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:115
RoR::App::diag_simple_materials
CVar * diag_simple_materials
Definition: Application.cpp:150
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:140
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:369
RoR::LT_Tuneup
@ LT_Tuneup
Definition: Application.h:305
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:159
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:302
RoR::App::gfx_enable_videocams
CVar * gfx_enable_videocams
Definition: Application.cpp:228
RoR::MpState
MpState
Definition: Application.h:169
RoR::App::CreateSoundScriptManager
void CreateSoundScriptManager()
Definition: Application.cpp:334
RoR::App::GetOverlayWrapper
OverlayWrapper * GetOverlayWrapper()
Definition: Application.cpp:268
RoR::App::app_num_workers
CVar * app_num_workers
Definition: Application.cpp:84
RoR::MsgTypeToString
const char * MsgTypeToString(MsgType type)
Definition: Application.cpp:557
RoR::LogFormat
void LogFormat(const char *format,...)
Improved logging utility. Uses fixed 2Kb buffer.
Definition: Application.cpp:424
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::LT_Load
@ LT_Load
Definition: Application.h:300
RoR::LT_Airplane
@ LT_Airplane
Definition: Application.h:297
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:295
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:301
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:205
RoR::GfxWaterMode::FULL_HQ
@ FULL_HQ
Reflection + refraction (quality optimized)
RoR::SimState::OFF
@ OFF
RoR::SimState
SimState
Definition: Application.h:176
RoR::SimGearboxMode
SimGearboxMode
Definition: Application.h:192
RoR::App::GetScriptEngine
ScriptEngine * GetScriptEngine()
Definition: Application.cpp:279
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:550
RoR::App::audio_enable_creak
CVar * audio_enable_creak
Definition: Application.cpp:210
RoR::SimGearboxMode::AUTO
@ AUTO
Automatic shift.
RoR::GfxExtCamMode::STATIC
@ STATIC
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::LT_Boat
@ LT_Boat
Definition: Application.h:296
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:141
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
RoR::LT_Truck
@ LT_Truck
Definition: Application.h:294
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:296
RoR::App::CreateGfxScene
void CreateGfxScene()
Definition: Application.cpp:328
RoR::ToLocalizedString
std::string ToLocalizedString(SimGearboxMode e)
Definition: Application.cpp:440
RoR::App::gfx_window_videocams
CVar * gfx_window_videocams
Definition: Application.cpp:229
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:255
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:122
RoR::SimResetMode::HARD
@ HARD
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:137
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:257
RoR::AppState::BOOTSTRAP
@ BOOTSTRAP
Initial state.
RoR::App::DestroyOverlayWrapper
void DestroyOverlayWrapper()
Definition: Application.cpp:351
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
Definition: Application.cpp:262
RoR::MSG_GUI_OPEN_SELECTOR_REQUESTED
@ MSG_GUI_OPEN_SELECTOR_REQUESTED
Payload = LoaderType* (owner), Description = GUID | empty.
Definition: Application.h:135
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:293
RoR::LT_Trailer
@ LT_Trailer
Definition: Application.h:298
RoR::App::flexbody_defrag_reorder_texcoords
CVar * flexbody_defrag_reorder_texcoords
Definition: Application.cpp:258
RoR::MSG_SIM_HIDE_NET_ACTOR_REQUESTED
@ MSG_SIM_HIDE_NET_ACTOR_REQUESTED
Payload = ActorPtr* (owner)
Definition: Application.h:124
RoR::GfxExtCamMode
GfxExtCamMode
Definition: Application.h:212
RoR::LoaderType
LoaderType
< Search mode for ModCache::Query() & Operation mode for GUI::MainSelector
Definition: Application.h:289
RoR::MSG_GUI_REFRESH_TUNING_MENU_REQUESTED
@ MSG_GUI_REFRESH_TUNING_MENU_REQUESTED
Definition: Application.h:142
RoR::MSG_SIM_ADD_FREEFORCE_REQUESTED
@ MSG_SIM_ADD_FREEFORCE_REQUESTED
Payload = RoR::FreeForceRequest* (owner)
Definition: Application.h:129
RoR::GfxSkyMode
GfxSkyMode
Definition: Application.h:259
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::GfxVegetation::FULL
@ FULL
RoR::App::GetConsole
Console * GetConsole()
Definition: Application.cpp:270
RoR::GfxVegetation
GfxVegetation
Definition: Application.h:229
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::App::GetGameContext
GameContext * GetGameContext()
Definition: Application.cpp:280
RoR::App::CreateThreadPool
void CreateThreadPool()
Definition: Application.cpp:316
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::App::gfx_envmap_enabled
CVar * gfx_envmap_enabled
Definition: Application.cpp:232
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:123
RoR::App::CreateOverlayWrapper
void CreateOverlayWrapper()
Definition: Application.cpp:290
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:259
RoR::MSG_EDI_ENTER_TERRN_EDITOR_REQUESTED
@ MSG_EDI_ENTER_TERRN_EDITOR_REQUESTED
Definition: Application.h:145
RoR::MSG_EDI_LOAD_BUNDLE_REQUESTED
@ MSG_EDI_LOAD_BUNDLE_REQUESTED
Payload = RoR::CacheEntryPtr* (owner)
Definition: Application.h:147
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:292
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:282
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::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:272
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
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::App::diag_preset_veh_config
CVar * diag_preset_veh_config
Definition: Application.cpp:144
RoR::DEPTHMAP_ENABLED
@ DEPTHMAP_ENABLED
Definition: Application.h:284
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:238
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:152
RoR::MSG_SIM_ACTOR_LINKING_REQUESTED
@ MSG_SIM_ACTOR_LINKING_REQUESTED
Payload = RoR::ActorLinkingRequest* (owner)
Definition: Application.h:128
RoR::App::mp_server_host
CVar * mp_server_host
Definition: Application.cpp:121
RoR::MSG_GUI_OPEN_MENU_REQUESTED
@ MSG_GUI_OPEN_MENU_REQUESTED
Definition: Application.h:133
RoR::App::diag_auto_spawner_report
CVar * diag_auto_spawner_report
Definition: Application.cpp:133
RoR::LT_None
@ LT_None
Definition: Application.h:291
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::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:146
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:119
RoR::MSG_APP_MODCACHE_UPDATE_REQUESTED
@ MSG_APP_MODCACHE_UPDATE_REQUESTED
Definition: Application.h:90
RoR::App::GetInputEngine
InputEngine * GetInputEngine()
Definition: Application.cpp:271
RoR::IoInputGrabMode
IoInputGrabMode
Definition: Application.h:267
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:121
RoR::App::io_outgauge_id
CVar * io_outgauge_id
Definition: Application.cpp:204
RoR::LT_AllBeam
@ LT_AllBeam
Definition: Application.h:303
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:281
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:144
RoR::App::DestroyInputEngine
void DestroyInputEngine()
Definition: Application.cpp:357
RoR::SimState::RUNNING
@ RUNNING
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:125
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::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:256
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:134
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:273
RoR::App::diag_terrn_log_roads
CVar * diag_terrn_log_roads
Definition: Application.cpp:157
RoR::MSG_SIM_MODIFY_FREEFORCE_REQUESTED
@ MSG_SIM_MODIFY_FREEFORCE_REQUESTED
Payload = RoR::FreeForceRequest* (owner)
Definition: Application.h:130
RoR::MSG_SIM_PAUSE_REQUESTED
@ MSG_SIM_PAUSE_REQUESTED
Definition: Application.h:114
RoR::App::GetThreadPool
ThreadPool * GetThreadPool()
Definition: Application.cpp:274
RoR::DEPTHMAP_DISABLED
@ DEPTHMAP_DISABLED
Definition: Application.h:285
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:139
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:117
RoR::GfxTexFilter
GfxTexFilter
Definition: Application.h:220
RoR
Definition: AppContext.h:36
RoR::HANDLEGENERICEXCEPTION_LOGFILE
@ HANDLEGENERICEXCEPTION_LOGFILE
Definition: Application.h:549
RoR::App::sim_spawn_running
CVar * sim_spawn_running
Definition: Application.cpp:100
RoR::GfxFlaresMode::NO_LIGHTSOURCES
@ NO_LIGHTSOURCES
No light sources.
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:419
RoR::VisibilityMasks
VisibilityMasks
Definition: Application.h:282
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:276
RoR::LT_Train
@ LT_Train
Definition: Application.h:299
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:551
RoR::App::io_outgauge_ip
CVar * io_outgauge_ip
Definition: Application.cpp:201
RoR::GfxVegetation::x50PERC
@ x50PERC
RoR::HandleGenericExceptionFlags
HandleGenericExceptionFlags
< Flags for HandleGenericException()
Definition: Application.h:547
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::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:126
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