RigsofRods
Soft-body Physics Simulation
CVar.cpp
Go to the documentation of this file.
1 /*
2  This source file is part of Rigs of Rods
3  Copyright 2005-2012 Pierre-Michel Ricordel
4  Copyright 2007-2012 Thomas Fischer
5  Copyright 2013-2020 Petr Ohlidal
6 
7  For more information, see http://www.rigsofrods.org/
8 
9  Rigs of Rods is free software: you can redistribute it and/or modify
10  it under the terms of the GNU General Public License version 3, as
11  published by the Free Software Foundation.
12 
13  Rigs of Rods is distributed in the hope that it will be useful,
14  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  GNU General Public License for more details.
17 
18  You should have received a copy of the GNU General Public License
19  along with Rigs of Rods. If not, see <http://www.gnu.org/licenses/>.
20 */
21 
22 #include "Application.h"
23 #include "Console.h"
24 
25 #include <Ogre.h>
26 
27 using namespace RoR;
28 
30 {
31  App::app_state = this->cVarCreate("app_state", "", CVAR_TYPE_INT, "0"/*(int)AppState::BOOTSTRAP*/);
32  App::app_language = this->cVarCreate("app_language", "Language", CVAR_ARCHIVE, "en");
33  App::app_country = this->cVarCreate("app_country", "Country", CVAR_ARCHIVE, "us");
34  App::app_skip_main_menu = this->cVarCreate("app_skip_main_menu", "SkipMainMenu", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "false");
35  App::app_async_physics = this->cVarCreate("app_async_physics", "AsyncPhysics", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "true");
36  App::app_num_workers = this->cVarCreate("app_num_workers", "NumWorkerThreads", CVAR_ARCHIVE | CVAR_TYPE_INT);
37  App::app_screenshot_format = this->cVarCreate("app_screenshot_format", "Screenshot Format", CVAR_ARCHIVE, "png");
38  App::app_rendersys_override = this->cVarCreate("app_rendersys_override", "Render system", CVAR_ARCHIVE);
39  App::app_extra_mod_path = this->cVarCreate("app_extra_mod_path", "Extra mod path", CVAR_ARCHIVE);
40  App::app_force_cache_purge = this->cVarCreate("app_force_cache_purge", "", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "false");
41  App::app_force_cache_update = this->cVarCreate("app_force_cache_update", "", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "false");
42  App::app_disable_online_api = this->cVarCreate("app_disable_online_api", "Disable Online API", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "false");
43  App::app_config_long_names = this->cVarCreate("app_config_long_names", "Config uses long names", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "true");
44  App::app_custom_scripts = this->cVarCreate("app_custom_scripts", "", CVAR_ARCHIVE, "");
45  App::app_recent_scripts = this->cVarCreate("app_recent_scripts", "", CVAR_ARCHIVE, "");
46 
47  App::sim_state = this->cVarCreate("sim_state", "", CVAR_TYPE_INT, "0"/*(int)SimState::OFF*/);
48  App::sim_terrain_name = this->cVarCreate("sim_terrain_name", "", 0);
49  App::sim_terrain_gui_name = this->cVarCreate("sim_terrain_gui_name", "", 0);
50  App::sim_spawn_running = this->cVarCreate("sim_spawn_running", "Engines spawn running", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "true");
51  App::sim_replay_enabled = this->cVarCreate("sim_replay_enabled", "Replay mode", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "false");
52  App::sim_replay_length = this->cVarCreate("sim_replay_length", "Replay length", CVAR_ARCHIVE | CVAR_TYPE_INT, "200");
53  App::sim_replay_stepping = this->cVarCreate("sim_replay_stepping", "Replay Steps per second", CVAR_ARCHIVE | CVAR_TYPE_INT, "1000");
54  App::sim_realistic_commands = this->cVarCreate("sim_realistic_commands", "Realistic forward commands", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "false");
55  App::sim_races_enabled = this->cVarCreate("sim_races_enabled", "Races", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "true");
56  App::sim_no_collisions = this->cVarCreate("sim_no_collisions", "DisableCollisions", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "false");
57  App::sim_no_self_collisions = this->cVarCreate("sim_no_self_collisions", "DisableSelfCollisions", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "false");
58  App::sim_gearbox_mode = this->cVarCreate("sim_gearbox_mode", "GearboxMode", CVAR_ARCHIVE | CVAR_TYPE_INT);
59  App::sim_soft_reset_mode = this->cVarCreate("sim_soft_reset_mode", "", CVAR_TYPE_BOOL, "false");
60  App::sim_quickload_dialog = this->cVarCreate("sim_quickload_dialog", "", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "true");
61  App::sim_live_repair_interval = this->cVarCreate("sim_live_repair_interval", "", CVAR_ARCHIVE | CVAR_TYPE_FLOAT, "2.f");
62  App::sim_tuning_enabled = this->cVarCreate("sim_tuning_enabled", "", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "true");
63 
64  App::mp_state = this->cVarCreate("mp_state", "", CVAR_TYPE_INT, "0"/*(int)MpState::DISABLED*/);
65  App::mp_join_on_startup = this->cVarCreate("mp_join_on_startup", "Auto connect", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "false");
66  App::mp_chat_auto_hide = this->cVarCreate("mp_chat_auto_hide", "Auto hide chat", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "true");
67  App::mp_hide_net_labels = this->cVarCreate("mp_hide_net_labels", "Hide net labels", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "false");
68  App::mp_hide_own_net_label = this->cVarCreate("mp_hide_own_net_label", "Hide own net label", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "true");
69  App::mp_pseudo_collisions = this->cVarCreate("mp_pseudo_collisions", "Multiplayer collisions", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "false");
70  App::mp_server_host = this->cVarCreate("mp_server_host", "Server name", CVAR_ARCHIVE);
71  App::mp_server_port = this->cVarCreate("mp_server_port", "Server port", CVAR_ARCHIVE | CVAR_TYPE_INT);
72  App::mp_server_password = this->cVarCreate("mp_server_password", "Server password", CVAR_ARCHIVE | CVAR_NO_LOG);
73  App::mp_player_name = this->cVarCreate("mp_player_name", "Nickname", CVAR_ARCHIVE, "Player");
74  App::mp_player_token = this->cVarCreate("mp_player_token", "User Token", CVAR_ARCHIVE | CVAR_NO_LOG);
75  App::mp_api_url = this->cVarCreate("mp_api_url", "Online API URL", CVAR_ARCHIVE, "http://api.rigsofrods.org");
76  App::mp_cyclethru_net_actors = this->cVarCreate("mp_cyclethru_net_actors", "", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "false");
77 
78  App::remote_query_url = this->cVarCreate("remote_query_url", "", CVAR_ARCHIVE, "https://v2.api.rigsofrods.org");
79 
80  App::diag_auto_spawner_report= this->cVarCreate("diag_auto_spawner_report","AutoActorSpawnerReport", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "false");
81  App::diag_camera = this->cVarCreate("diag_camera", "Camera Debug", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "false");
82  App::diag_rig_log_node_import= this->cVarCreate("diag_rig_log_node_import","RigImporter_LogAllNodes", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "false");
83  App::diag_rig_log_node_stats = this->cVarCreate("diag_rig_log_node_stats", "RigImporter_LogNodeStats", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "false");
84  App::diag_truck_mass = this->cVarCreate("diag_truck_mass", "Debug Truck Mass", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "false");
85  App::diag_envmap = this->cVarCreate("diag_envmap", "EnvMapDebug", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "false");
86  App::diag_videocameras = this->cVarCreate("diag_videocameras", "VideoCameraDebug", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "false");
87  App::diag_preset_terrain = this->cVarCreate("diag_preset_terrain", "Preselected Terrain", CVAR_ARCHIVE);
88  App::diag_preset_spawn_pos = this->cVarCreate("diag_spawn_position", "", CVAR_ARCHIVE);
89  App::diag_preset_spawn_rot = this->cVarCreate("diag_spawn_rotation", "", CVAR_ARCHIVE);
90  App::diag_preset_vehicle = this->cVarCreate("diag_preset_vehicle", "Preselected Truck", CVAR_ARCHIVE);
91  App::diag_preset_veh_config = this->cVarCreate("diag_preset_veh_config", "Preselected TruckConfig", CVAR_ARCHIVE);
92  App::diag_preset_veh_enter = this->cVarCreate("diag_preset_veh_enter", "Enter Preselected Truck", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "false");
93  App::diag_log_console_echo = this->cVarCreate("diag_log_console_echo", "Enable Ingame Console", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "false");
94  App::diag_log_beam_break = this->cVarCreate("diag_log_beam_break", "Beam Break Debug", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "false");
95  App::diag_log_beam_deform = this->cVarCreate("diag_log_beam_deform", "Beam Deform Debug", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "false");
96  App::diag_log_beam_trigger = this->cVarCreate("diag_log_beam_trigger", "Trigger Debug", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "false");
97  App::diag_simple_materials = this->cVarCreate("diag_simple_materials", "SimpleMaterials", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "false");
98  App::diag_warning_texture = this->cVarCreate("diag_warning_texture", "Warning texture", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "false");
99  App::diag_hide_broken_beams = this->cVarCreate("diag_hide_broken_beams", "Hide broken beams", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "false");
100  App::diag_hide_beam_stress = this->cVarCreate("diag_hide_beam_stress", "Hide beam stress", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "true");
101  App::diag_hide_wheel_info = this->cVarCreate("diag_hide_wheel_info", "Hide wheel info", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "true");
102  App::diag_hide_wheels = this->cVarCreate("diag_hide_wheels", "Hide wheels", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "false");
103  App::diag_hide_nodes = this->cVarCreate("diag_hide_nodes", "Hide nodes", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "false");
104  App::diag_terrn_log_roads = this->cVarCreate("diag_terrn_log_roads", "", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "false");
105  App::diag_actor_dump = this->cVarCreate("diag_actor_dump", "", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "false");
106 
107  App::sys_process_dir = this->cVarCreate("sys_process_dir", "", 0);
108  App::sys_user_dir = this->cVarCreate("sys_user_dir", "", 0);
109  App::sys_config_dir = this->cVarCreate("sys_config_dir", "Config Root", 0);
110  App::sys_cache_dir = this->cVarCreate("sys_cache_dir", "Cache Path", 0);
111  App::sys_thumbnails_dir = this->cVarCreate("sys_thumbnails_dir", "Thumbnails Path", 0);
112  App::sys_logs_dir = this->cVarCreate("sys_logs_dir", "Log Path", 0);
113  App::sys_resources_dir = this->cVarCreate("sys_resources_dir", "Resources Path", 0);
114  App::sys_profiler_dir = this->cVarCreate("sys_profiler_dir", "Profiler output dir", 0);
115  App::sys_savegames_dir = this->cVarCreate("sys_savegames_dir", "", 0);
116  App::sys_screenshot_dir = this->cVarCreate("sys_screenshot_dir", "", 0);
117  App::sys_scripts_dir = this->cVarCreate("sys_scripts_dir", "", 0);
118  App::sys_projects_dir = this->cVarCreate("sys_projects_dir", "", 0);
119 
120  App::cli_server_host = this->cVarCreate("cli_server_host", "", 0);
121  App::cli_server_port = this->cVarCreate("cli_server_port", "", CVAR_TYPE_INT, "0");
122  App::cli_preset_vehicle = this->cVarCreate("cli_preset_vehicle", "", 0);
123  App::cli_preset_veh_config = this->cVarCreate("cli_preset_veh_config", "", 0);
124  App::cli_preset_terrain = this->cVarCreate("cli_preset_terrain", "", 0);
125  App::cli_preset_spawn_pos = this->cVarCreate("cli_preset_spawn_pos", "", 0);
126  App::cli_preset_spawn_rot = this->cVarCreate("cli_preset_spawn_rot", "", 0);
127  App::cli_preset_veh_enter = this->cVarCreate("cli_preset_veh_enter", "", CVAR_TYPE_BOOL, "false");
128  App::cli_force_cache_update = this->cVarCreate("cli_force_cache_update", "", CVAR_TYPE_BOOL, "false");
129  App::cli_resume_autosave = this->cVarCreate("cli_resume_autosave", "", CVAR_TYPE_BOOL, "false");
130  App::cli_custom_scripts = this->cVarCreate("cli_custom_scripts", "", 0, "");
131 
132  App::io_analog_smoothing = this->cVarCreate("io_analog_smoothing", "Analog Input Smoothing", CVAR_ARCHIVE | CVAR_TYPE_FLOAT, "1.0");
133  App::io_analog_sensitivity = this->cVarCreate("io_analog_sensitivity", "Analog Input Sensitivity", CVAR_ARCHIVE | CVAR_TYPE_FLOAT, "1.0");
134  App::io_blink_lock_range = this->cVarCreate("io_blink_lock_range", "Blinker Lock Range", CVAR_ARCHIVE | CVAR_TYPE_FLOAT, "0.1");
135  App::io_ffb_enabled = this->cVarCreate("io_ffb_enabled", "Force Feedback", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "false");
136  App::io_ffb_camera_gain = this->cVarCreate("io_ffb_camera_gain", "Force Feedback Camera", CVAR_ARCHIVE | CVAR_TYPE_FLOAT);
137  App::io_ffb_center_gain = this->cVarCreate("io_ffb_center_gain", "Force Feedback Centering", CVAR_ARCHIVE | CVAR_TYPE_FLOAT);
138  App::io_ffb_master_gain = this->cVarCreate("io_ffb_master_gain", "Force Feedback Gain", CVAR_ARCHIVE | CVAR_TYPE_FLOAT);
139  App::io_ffb_stress_gain = this->cVarCreate("io_ffb_stress_gain", "Force Feedback Stress", CVAR_ARCHIVE | CVAR_TYPE_FLOAT);
140  App::io_input_grab_mode = this->cVarCreate("io_input_grab_mode", "Input Grab", CVAR_ARCHIVE | CVAR_TYPE_INT, "1"/*(int)IoInputGrabMode::ALL*/);
141  App::io_arcade_controls = this->cVarCreate("io_arcade_controls", "ArcadeControls", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "false");
142  App::io_hydro_coupling = this->cVarCreate("io_hydro_coupling", "Keyboard Steering Speed Coupling",CVAR_ARCHIVE | CVAR_TYPE_BOOL, "true");
143  App::io_outgauge_mode = this->cVarCreate("io_outgauge_mode", "OutGauge Mode", CVAR_ARCHIVE | CVAR_TYPE_INT); // 0 = disabled, 1 = enabled
144  App::io_outgauge_ip = this->cVarCreate("io_outgauge_ip", "OutGauge IP", CVAR_ARCHIVE, "192.168.1.100");
145  App::io_outgauge_port = this->cVarCreate("io_outgauge_port", "OutGauge Port", CVAR_ARCHIVE | CVAR_TYPE_INT, "1337");
146  App::io_outgauge_delay = this->cVarCreate("io_outgauge_delay", "OutGauge Delay", CVAR_ARCHIVE | CVAR_TYPE_FLOAT, "10.0");
147  App::io_outgauge_id = this->cVarCreate("io_outgauge_id", "OutGauge ID", CVAR_ARCHIVE | CVAR_TYPE_INT);
148  App::io_discord_rpc = this->cVarCreate("io_discord_rpc", "Discord Rich Presence", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "true");
149  App::io_invert_orbitcam = this->cVarCreate("io_invert_orbitcam", "Invert orbit camera", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "false");
150 
151  App::audio_master_volume = this->cVarCreate("audio_master_volume", "Sound Volume", CVAR_ARCHIVE | CVAR_TYPE_FLOAT, "1.0");
152  App::audio_enable_creak = this->cVarCreate("audio_enable_creak", "Creak Sound", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "false");
153  App::audio_device_name = this->cVarCreate("audio_device_name", "AudioDevice", CVAR_ARCHIVE);
154  App::audio_menu_music = this->cVarCreate("audio_menu_music", "MainMenuMusic", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "false");
155 
156  App::gfx_flares_mode = this->cVarCreate("gfx_flares_mode", "Lights", CVAR_ARCHIVE | CVAR_TYPE_INT, "4"/*(int)GfxFlaresMode::ALL_VEHICLES_ALL_LIGHTS*/);
157  App::gfx_polygon_mode = this->cVarCreate("gfx_polygon_mode", "Polygon mode", CVAR_TYPE_INT, "1"/*(int)Ogre::PM_SOLID*/);
158  App::gfx_shadow_type = this->cVarCreate("gfx_shadow_type", "Shadow technique", CVAR_ARCHIVE | CVAR_TYPE_INT, "1"/*(int)GfxShadowType::PSSM*/);
159  App::gfx_extcam_mode = this->cVarCreate("gfx_extcam_mode", "External Camera Mode", CVAR_ARCHIVE | CVAR_TYPE_INT, "2"/*(int)GfxExtCamMode::PITCHING*/);
160  App::gfx_sky_mode = this->cVarCreate("gfx_sky_mode", "Sky effects", CVAR_ARCHIVE | CVAR_TYPE_INT, "1"/*(int)GfxSkyMode::CAELUM*/);
161  App::gfx_texture_filter = this->cVarCreate("gfx_texture_filter", "Texture Filtering", CVAR_ARCHIVE | CVAR_TYPE_INT, "3"/*(int)GfxTexFilter::ANISOTROPIC*/);
162  App::gfx_vegetation_mode = this->cVarCreate("gfx_vegetation_mode", "Vegetation", CVAR_ARCHIVE | CVAR_TYPE_INT, "3"/*(int)GfxVegetation::FULL*/);
163  App::gfx_sky_time_cycle = this->cVarCreate("gfx_sky_time_cycle", "", CVAR_TYPE_BOOL, "false");
164  App::gfx_sky_time_speed = this->cVarCreate("gfx_sky_time_speed", "", CVAR_TYPE_INT, "300");
165  App::gfx_water_mode = this->cVarCreate("gfx_water_mode", "Water effects", CVAR_ARCHIVE | CVAR_TYPE_INT, "3"/*(int)GfxWaterMode::FULL_FAST*/);
166  App::gfx_anisotropy = this->cVarCreate("gfx_anisotropy", "Anisotropy", CVAR_ARCHIVE | CVAR_TYPE_INT, "4");
167  App::gfx_water_waves = this->cVarCreate("gfx_water_waves", "Waves", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "false");
168  App::gfx_particles_mode = this->cVarCreate("gfx_particles_mode", "Particles", CVAR_ARCHIVE | CVAR_TYPE_INT);
169  App::gfx_enable_videocams = this->cVarCreate("gfx_enable_videocams", "gfx_enable_videocams", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "false");
170  App::gfx_window_videocams = this->cVarCreate("gfx_window_videocams", "UseVideocameraWindows", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "false");
171  App::gfx_surveymap_icons = this->cVarCreate("gfx_surveymap_icons", "Overview map icons", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "true");
172  App::gfx_declutter_map = this->cVarCreate("gfx_declutter_map", "Declutter overview map", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "true");
173  App::gfx_envmap_enabled = this->cVarCreate("gfx_envmap_enabled", "Reflections", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "true");
174  App::gfx_envmap_rate = this->cVarCreate("gfx_envmap_rate", "ReflectionUpdateRate", CVAR_ARCHIVE | CVAR_TYPE_INT, "1");
175  App::gfx_shadow_quality = this->cVarCreate("gfx_shadow_quality", "Shadows Quality", CVAR_ARCHIVE | CVAR_TYPE_INT, "2");
176  App::gfx_skidmarks_mode = this->cVarCreate("gfx_skidmarks_mode", "Skidmarks", CVAR_ARCHIVE | CVAR_TYPE_INT, "0");
177  App::gfx_sight_range = this->cVarCreate("gfx_sight_range", "SightRange", CVAR_ARCHIVE | CVAR_TYPE_INT, "5000");
178  App::gfx_camera_height = this->cVarCreate("gfx_camera_height", "Static camera height", CVAR_ARCHIVE | CVAR_TYPE_INT, "5");
179  App::gfx_fov_external = this->cVarCreate("gfx_fov_external", "", CVAR_TYPE_INT, "60");
180  App::gfx_fov_external_default= this->cVarCreate("gfx_fov_external_default","FOV External", CVAR_ARCHIVE | CVAR_TYPE_INT, "60");
181  App::gfx_fov_internal = this->cVarCreate("gfx_fov_internal", "", CVAR_TYPE_INT, "75");
182  App::gfx_fov_internal_default= this->cVarCreate("gfx_fov_internal_default","FOV Internal", CVAR_ARCHIVE | CVAR_TYPE_INT, "75");
183  App::gfx_static_cam_fov_exp = this->cVarCreate("gfx_static_cam_fov_exp", "", CVAR_ARCHIVE | CVAR_TYPE_FLOAT, "1.0");
184  App::gfx_fixed_cam_tracking = this->cVarCreate("gfx_fixed_cam_tracking", "", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "false");
185  App::gfx_fps_limit = this->cVarCreate("gfx_fps_limit", "FPS-Limiter", CVAR_ARCHIVE | CVAR_TYPE_INT, "0");
186  App::gfx_speedo_digital = this->cVarCreate("gfx_speedo_digital", "DigitalSpeedo", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "true");
187  App::gfx_speedo_imperial = this->cVarCreate("gfx_speedo_imperial", "gfx_speedo_imperial", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "false");
188  App::gfx_flexbody_cache = this->cVarCreate("gfx_flexbody_cache", "Flexbody_UseCache", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "false");
189  App::gfx_reduce_shadows = this->cVarCreate("gfx_reduce_shadows", "Shadow optimizations", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "true");
190  App::gfx_enable_rtshaders = this->cVarCreate("gfx_enable_rtshaders", "Use RTShader System", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "false");
191  App::gfx_alt_actor_materials = this->cVarCreate("gfx_alt_actor_materials", "Use alternate vehicle materials", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "false");
192 
193  App::flexbody_defrag_enabled = this->cVarCreate("flexbody_defrag_enabled", "", CVAR_TYPE_BOOL);
194  App::flexbody_defrag_const_penalty = this->cVarCreate("flexbody_defrag_const_penalty", "", CVAR_TYPE_INT, "7");
195  App::flexbody_defrag_prog_up_penalty = this->cVarCreate("flexbody_defrag_prog_up_penalty", "", CVAR_TYPE_INT, "3");
196  App::flexbody_defrag_prog_down_penalty = this->cVarCreate("flexbody_defrag_prog_down_penalty", "", CVAR_TYPE_INT, "1");
197  App::flexbody_defrag_reorder_indices = this->cVarCreate("flexbody_defrag_reorder_indices", "", CVAR_TYPE_BOOL, "true");
198  App::flexbody_defrag_reorder_texcoords = this->cVarCreate("flexbody_defrag_reorder_texcoords", "", CVAR_TYPE_BOOL, "true");
199  App::flexbody_defrag_invert_lookup = this->cVarCreate("flexbody_defrag_invert_lookup", "", CVAR_TYPE_BOOL, "true");
200 
201  App::ui_show_live_repair_controls = this->cVarCreate("ui_show_live_repair_controls", "", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "true");
202  App::ui_show_vehicle_buttons = this->cVarCreate("ui_show_vehicle_buttons", "Show vehicle buttons menu", CVAR_ARCHIVE | CVAR_TYPE_BOOL, "true");
203 }
204 
205 CVar* Console::cVarCreate(std::string const& name, std::string const& long_name,
206  int flags, std::string const& val/* = std::string()*/)
207 {
208  CVar* cvar = nullptr;
209  if (long_name == "")
210  {
211  cvar = new CVar(name, name, flags);
212  }
213  else
214  {
215  cvar = new CVar(name, long_name, flags);
216  }
217 
218  if (!val.empty())
219  {
220  this->cVarAssign(cvar, val);
221  }
222 
223  m_cvars.insert(std::make_pair(name, cvar));
224  m_cvars_longname.insert(std::make_pair(long_name, cvar));
225 
226  return cvar;
227 }
228 
229 void Console::cVarAssign(CVar* cvar, std::string const& value)
230 {
232  {
233  float val = 0.f;
234  if (cvar->hasFlag(CVAR_TYPE_BOOL)) { val = (float)Ogre::StringConverter::parseBool(value); }
235  else if (cvar->hasFlag(CVAR_TYPE_INT)) { val = (float)Ogre::StringConverter::parseInt(value); }
236  else if (cvar->hasFlag(CVAR_TYPE_FLOAT)) { val = Ogre::StringConverter::parseReal(value); }
237 
238 
239  cvar->setVal(val);
240  }
241  else
242  {
243  cvar->setStr(value);
244  }
245 }
246 
247 CVar* Console::cVarFind(std::string const& input_name)
248 {
249  CVarPtrMap::const_iterator itor = m_cvars.find(input_name);
250  if (itor != m_cvars.end())
251  {
252  return itor->second;
253  }
254 
255  itor = m_cvars_longname.find(input_name);
256  if (itor != m_cvars_longname.end())
257  {
258  return itor->second;
259  }
260 
261  return nullptr;
262 }
263 
264 CVar* Console::cVarSet(std::string const& input_name, std::string const& input_val)
265 {
266  CVar* found = this->cVarFind(input_name);
267  if (found)
268  {
269  this->cVarAssign(found, input_val);
270  }
271 
272  return nullptr;
273 }
274 
275 CVar* Console::cVarGet(std::string const& input_name, int flags)
276 {
277  CVar* found = this->cVarFind(input_name);
278  if (found)
279  {
280  return found;
281  }
282 
283  return this->cVarCreate(input_name, input_name, flags);
284 }
285 
286 void CVar::logUpdate(std::string const& new_val)
287 {
288  if (!Ogre::LogManager::getSingletonPtr())
289  return;
290 
291  if (this->hasFlag(CVAR_NO_LOG))
292  return;
293 
294  LogFormat("[RoR|CVar] %20s: \"%s\" (was: \"%s\")",
295  m_name.c_str(), new_val.c_str(), m_value_str.c_str());
296 }
297 
298 std::string CVar::convertStr(float val)
299 {
300  if (this->hasFlag(CVAR_TYPE_BOOL))
301  {
302  return ((bool)val) ? "Yes" : "No";
303  }
304  else if (this->hasFlag(CVAR_TYPE_INT))
305  {
306  return Ogre::StringUtil::format("%d", (int)val);
307  }
308  else if (this->hasFlag(CVAR_TYPE_FLOAT))
309  {
310  return std::to_string((float)val);
311  }
312  else
313  {
314  return std::to_string(val);
315  }
316 }
RoR::App::sys_user_dir
CVar * sys_user_dir
Definition: Application.cpp:162
RoR::App::diag_truck_mass
CVar * diag_truck_mass
Definition: Application.cpp:137
RoR::CVAR_NO_LOG
@ CVAR_NO_LOG
Will not be written to RoR.log.
Definition: CVar.h:42
RoR::App::io_invert_orbitcam
CVar * io_invert_orbitcam
Definition: Application.cpp:205
RoR::App::gfx_envmap_rate
CVar * gfx_envmap_rate
Definition: Application.cpp:232
RoR::App::diag_rig_log_node_import
CVar * diag_rig_log_node_import
Definition: Application.cpp:135
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:215
RoR::App::cli_force_cache_update
CVar * cli_force_cache_update
Definition: Application.cpp:183
RoR::Console::cVarGet
CVar * cVarGet(std::string const &input_name, int flags)
Get cvar by short/long name, or create new one using input as short name.
Definition: CVar.cpp: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::gfx_speedo_imperial
CVar * gfx_speedo_imperial
Definition: Application.cpp:245
RoR::App::gfx_fov_internal
CVar * gfx_fov_internal
Definition: Application.cpp:239
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:184
RoR::App::sys_resources_dir
CVar * sys_resources_dir
Definition: Application.cpp:167
RoR::App::sys_scripts_dir
CVar * sys_scripts_dir
Definition: Application.cpp:171
RoR::App::io_discord_rpc
CVar * io_discord_rpc
Definition: Application.cpp:204
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::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::App::sim_soft_reset_mode
CVar * sim_soft_reset_mode
Definition: Application.cpp:109
RoR::CVar::m_name
std::string m_name
Definition: CVar.h:113
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::App::gfx_fixed_cam_tracking
CVar * gfx_fixed_cam_tracking
Definition: Application.cpp:242
RoR::App::gfx_skidmarks_mode
CVar * gfx_skidmarks_mode
Definition: Application.cpp:234
RoR::App::cli_preset_vehicle
CVar * cli_preset_vehicle
Definition: Application.cpp:177
RoR::Console::cVarSetupBuiltins
void cVarSetupBuiltins()
Create builtin vars and set defaults.
Definition: CVar.cpp:29
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::App::diag_simple_materials
CVar * diag_simple_materials
Definition: Application.cpp:150
RoR::App::app_force_cache_update
CVar * app_force_cache_update
Definition: Application.cpp:89
RoR::App::gfx_shadow_type
CVar * gfx_shadow_type
Definition: Application.cpp:216
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:226
RoR::App::gfx_flexbody_cache
CVar * gfx_flexbody_cache
Definition: Application.cpp:246
RoR::App::gfx_extcam_mode
CVar * gfx_extcam_mode
Definition: Application.cpp:217
RoR::App::gfx_enable_videocams
CVar * gfx_enable_videocams
Definition: Application.cpp:227
RoR::Console::cVarFind
CVar * cVarFind(std::string const &input_name)
Find cvar by short/long name.
Definition: CVar.cpp:247
RoR::App::app_num_workers
CVar * app_num_workers
Definition: Application.cpp:84
RoR::LogFormat
void LogFormat(const char *format,...)
Improved logging utility. Uses fixed 2Kb buffer.
Definition: Application.cpp:367
RoR::App::gfx_enable_rtshaders
CVar * gfx_enable_rtshaders
Definition: Application.cpp:248
RoR::App::cli_server_host
CVar * cli_server_host
Definition: Application.cpp:175
RoR::App::io_analog_sensitivity
CVar * io_analog_sensitivity
Definition: Application.cpp:189
RoR::App::sim_replay_length
CVar * sim_replay_length
Definition: Application.cpp:102
RoR::App::io_outgauge_port
CVar * io_outgauge_port
Definition: Application.cpp:201
RoR::CVar::logUpdate
void logUpdate(std::string const &new_val)
Definition: CVar.cpp:286
RoR::App::app_rendersys_override
CVar * app_rendersys_override
Definition: Application.cpp:86
Console.h
RoR::App::gfx_fov_external_default
CVar * gfx_fov_external_default
Definition: Application.cpp:238
RoR::Console::cVarCreate
CVar * cVarCreate(std::string const &name, std::string const &long_name, int flags, std::string const &val=std::string())
Add CVar and parse default value if specified.
Definition: CVar.cpp:205
RoR::App::sim_no_self_collisions
CVar * sim_no_self_collisions
Definition: Application.cpp:107
RoR::App::sys_profiler_dir
CVar * sys_profiler_dir
Definition: Application.cpp:168
RoR::App::io_ffb_enabled
CVar * io_ffb_enabled
Definition: Application.cpp:191
RoR::App::gfx_static_cam_fov_exp
CVar * gfx_static_cam_fov_exp
Definition: Application.cpp:241
RoR::App::cli_preset_spawn_rot
CVar * cli_preset_spawn_rot
Definition: Application.cpp:181
RoR::App::app_country
CVar * app_country
Definition: Application.cpp:81
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:166
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:221
RoR::CVar::m_value_str
std::string m_value_str
Definition: CVar.h:116
RoR::App::sys_savegames_dir
CVar * sys_savegames_dir
Definition: Application.cpp:169
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:194
RoR::CVAR_ARCHIVE
@ CVAR_ARCHIVE
Will be written to RoR.cfg.
Definition: CVar.h:41
RoR::CVar::convertStr
std::string convertStr(float val)
Definition: CVar.cpp:298
RoR::App::diag_preset_spawn_rot
CVar * diag_preset_spawn_rot
Definition: Application.cpp:142
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::App::audio_enable_creak
CVar * audio_enable_creak
Definition: Application.cpp:209
RoR::App::sim_tuning_enabled
CVar * sim_tuning_enabled
Definition: Application.cpp:112
RoR::App::sim_gearbox_mode
CVar * sim_gearbox_mode
Definition: Application.cpp:108
RoR::App::mp_state
CVar * mp_state
Definition: Application.cpp:115
RoR::App::gfx_camera_height
CVar * gfx_camera_height
Definition: Application.cpp:236
RoR::App::audio_master_volume
CVar * audio_master_volume
Definition: Application.cpp:208
RoR::App::flexbody_defrag_enabled
CVar * flexbody_defrag_enabled
Definition: Application.cpp:252
RoR::App::gfx_window_videocams
CVar * gfx_window_videocams
Definition: Application.cpp:228
RoR::App::gfx_alt_actor_materials
CVar * gfx_alt_actor_materials
Definition: Application.cpp:249
RoR::App::io_ffb_camera_gain
CVar * io_ffb_camera_gain
Definition: Application.cpp:192
RoR::App::gfx_speedo_digital
CVar * gfx_speedo_digital
Definition: Application.cpp:244
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::Console::cVarSet
CVar * cVarSet(std::string const &input_name, std::string const &input_val)
Set existing cvar by short/long name. Return the modified cvar (or NULL if not found)
Definition: CVar.cpp:264
RoR::App::flexbody_defrag_prog_up_penalty
CVar * flexbody_defrag_prog_up_penalty
Definition: Application.cpp:254
RoR::Console::m_cvars
CVarPtrMap m_cvars
Definition: Console.h:159
RoR::Console::cVarAssign
void cVarAssign(CVar *cvar, std::string const &value)
Parse value by cvar type.
Definition: CVar.cpp:229
RoR::App::io_outgauge_mode
CVar * io_outgauge_mode
Definition: Application.cpp:199
RoR::App::gfx_fps_limit
CVar * gfx_fps_limit
Definition: Application.cpp:243
RoR::App::io_arcade_controls
CVar * io_arcade_controls
Definition: Application.cpp:197
RoR::App::diag_hide_wheels
CVar * diag_hide_wheels
Definition: Application.cpp:155
RoR::App::sys_thumbnails_dir
CVar * sys_thumbnails_dir
Definition: Application.cpp:165
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::App::io_ffb_center_gain
CVar * io_ffb_center_gain
Definition: Application.cpp:193
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:256
RoR::App::sys_cache_dir
CVar * sys_cache_dir
Definition: Application.cpp:164
RoR::App::gfx_declutter_map
CVar * gfx_declutter_map
Definition: Application.cpp:230
RoR::App::ui_show_live_repair_controls
CVar * ui_show_live_repair_controls
Definition: Application.cpp:261
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:185
RoR::App::flexbody_defrag_reorder_texcoords
CVar * flexbody_defrag_reorder_texcoords
Definition: Application.cpp:257
RoR::App::sim_races_enabled
CVar * sim_races_enabled
Definition: Application.cpp:105
Application.h
Central state/object manager and communications hub.
RoR::App::mp_hide_own_net_label
CVar * mp_hide_own_net_label
Definition: Application.cpp:119
RoR::CVar::hasFlag
bool hasFlag(int f) const
Definition: CVar.h:105
RoR::App::io_outgauge_delay
CVar * io_outgauge_delay
Definition: Application.cpp:202
RoR::Console::m_cvars_longname
CVarPtrMap m_cvars_longname
Definition: Console.h:160
RoR::App::gfx_fov_internal_default
CVar * gfx_fov_internal_default
Definition: Application.cpp:240
RoR::App::gfx_envmap_enabled
CVar * gfx_envmap_enabled
Definition: Application.cpp:231
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:195
RoR::App::gfx_water_mode
CVar * gfx_water_mode
Definition: Application.cpp:223
RoR::App::gfx_flares_mode
CVar * gfx_flares_mode
Definition: Application.cpp:214
RoR::App::gfx_sky_mode
CVar * gfx_sky_mode
Definition: Application.cpp:218
RoR::App::flexbody_defrag_invert_lookup
CVar * flexbody_defrag_invert_lookup
Definition: Application.cpp:258
RoR::App::cli_server_port
CVar * cli_server_port
Definition: Application.cpp:176
RoR::App::sys_config_dir
CVar * sys_config_dir
Definition: Application.cpp:163
RoR::CVar
Quake-style console variable, defined in RoR.cfg or crated via Console UI and scripts.
Definition: CVar.h:52
RoR::App::gfx_sight_range
CVar * gfx_sight_range
Definition: Application.cpp:235
RoR::App::diag_log_console_echo
CVar * diag_log_console_echo
Definition: Application.cpp:146
RoR::App::cli_preset_terrain
CVar * cli_preset_terrain
Definition: Application.cpp:179
RoR::App::diag_preset_spawn_pos
CVar * diag_preset_spawn_pos
Definition: Application.cpp:141
RoR::App::gfx_shadow_quality
CVar * gfx_shadow_quality
Definition: Application.cpp:233
RoR::App::gfx_water_waves
CVar * gfx_water_waves
Definition: Application.cpp:225
RoR::App::io_input_grab_mode
CVar * io_input_grab_mode
Definition: Application.cpp:196
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:190
RoR::App::ui_show_vehicle_buttons
CVar * ui_show_vehicle_buttons
Definition: Application.cpp:262
RoR::App::gfx_sky_time_speed
CVar * gfx_sky_time_speed
Definition: Application.cpp:220
RoR::App::audio_menu_music
CVar * audio_menu_music
Definition: Application.cpp:211
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::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::App::mp_server_port
CVar * mp_server_port
Definition: Application.cpp:122
RoR::App::mp_server_host
CVar * mp_server_host
Definition: Application.cpp:121
RoR::CVar::setVal
void setVal(T val)
Definition: CVar.h:72
RoR::App::diag_auto_spawner_report
CVar * diag_auto_spawner_report
Definition: Application.cpp:133
RoR::App::diag_camera
CVar * diag_camera
Definition: Application.cpp:134
RoR::CVAR_TYPE_BOOL
@ CVAR_TYPE_BOOL
Definition: CVar.h:38
RoR::App::io_analog_smoothing
CVar * io_analog_smoothing
Definition: Application.cpp:188
RoR::App::diag_rig_log_node_stats
CVar * diag_rig_log_node_stats
Definition: Application.cpp:136
RoR::App::cli_preset_spawn_pos
CVar * cli_preset_spawn_pos
Definition: Application.cpp:180
RoR::App::sys_projects_dir
CVar * sys_projects_dir
Definition: Application.cpp:172
RoR::App::cli_preset_veh_config
CVar * cli_preset_veh_config
Definition: Application.cpp:178
RoR::App::io_outgauge_id
CVar * io_outgauge_id
Definition: Application.cpp:203
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:237
RoR::CVAR_TYPE_INT
@ CVAR_TYPE_INT
Definition: CVar.h:39
RoR::App::sys_process_dir
CVar * sys_process_dir
Definition: Application.cpp:161
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:170
RoR::App::gfx_vegetation_mode
CVar * gfx_vegetation_mode
Definition: Application.cpp:222
RoR::App::flexbody_defrag_prog_down_penalty
CVar * flexbody_defrag_prog_down_penalty
Definition: Application.cpp:255
RoR::App::app_custom_scripts
CVar * app_custom_scripts
Definition: Application.cpp:92
RoR::App::diag_terrn_log_roads
CVar * diag_terrn_log_roads
Definition: Application.cpp:157
RoR::App::audio_device_name
CVar * audio_device_name
Definition: Application.cpp:210
RoR::App::gfx_anisotropy
CVar * gfx_anisotropy
Definition: Application.cpp:224
RoR::App::gfx_sky_time_cycle
CVar * gfx_sky_time_cycle
Definition: Application.cpp:219
RoR::CVAR_TYPE_FLOAT
@ CVAR_TYPE_FLOAT
Definition: CVar.h:40
RoR
Definition: AppContext.h:36
RoR::App::sim_spawn_running
CVar * sim_spawn_running
Definition: Application.cpp:100
RoR::App::gfx_reduce_shadows
CVar * gfx_reduce_shadows
Definition: Application.cpp:247
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:253
RoR::CVar::setStr
void setStr(std::string const &str)
Definition: CVar.h:83
RoR::App::gfx_surveymap_icons
CVar * gfx_surveymap_icons
Definition: Application.cpp:229
RoR::App::io_outgauge_ip
CVar * io_outgauge_ip
Definition: Application.cpp:200
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::App::cli_preset_veh_enter
CVar * cli_preset_veh_enter
Definition: Application.cpp:182
RoR::App::io_hydro_coupling
CVar * io_hydro_coupling
Definition: Application.cpp:198
RoR::App::remote_query_url
CVar * remote_query_url
Definition: Application.cpp:130