Skip to content

Commit

Permalink
upd def cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
cryham committed Dec 28, 2024
1 parent 3372152 commit 3d4cfdb
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
8 changes: 5 additions & 3 deletions config/game-default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -280,18 +280,20 @@ thread_sleep = 5

[ sound ]
ambient = 1.000000
dynamic = off
hud_chk = off
hud_chk_wrong = off
hud_vol = 0.750000
hud_vol = 1.000000
vol_car_crash = 0.308426
vol_car_scrap = 0.915000
vol_engine = 0.580000
vol_engine = 0.467500
vol_env = 0.748000
vol_fl_cont = 0.878000
vol_fl_splash = 0.636000
vol_gear = 0.250000
vol_susp = 0.474000
vol_tires = 0.856000
vol_turbo = 0.600000
vol_turbo = 1.000000
volume = 1.200000

[ sound_config ]
Expand Down
3 changes: 3 additions & 0 deletions src/common/settings_com.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,13 @@ void SETcom::SerializeCommon(bool w, CONFIGFILE & c)
Param(c,w, "sound.vol_gear", s.vol_gear);
Param(c,w, "sound.vol_tires", s.vol_tires); Param(c,w, "sound.vol_env", s.vol_env);
Param(c,w, "sound.vol_susp", s.vol_susp);

Param(c,w, "sound.vol_fl_splash", s.vol_fl_splash); Param(c,w, "sound.vol_fl_cont", s.vol_fl_cont);
Param(c,w, "sound.vol_car_crash", s.vol_car_crash); Param(c,w, "sound.vol_car_scrap", s.vol_car_scrap);
Param(c,w, "sound.hud_vol", s.vol_hud);
Param(c,w, "sound.hud_chk", s.snd_chk); Param(c,w, "sound.hud_chk_wrong", s.snd_chkwr);

Param(c,w, "sound.dynamic", s.snd_dynamic);
#endif // snd setup
Param(c,w, "sound_config.device", s.snd_device); Param(c,w, "sound_config.reverb", s.snd_reverb);
Param(c,w, "sound_config.cnt_sources", s.cnt_sources); Param(c,w, "sound_config.cnt_dynamics", s.cnt_dynamics);
Expand Down
4 changes: 3 additions & 1 deletion src/game/Gui_ProgressLoad.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ void CGui::FillGameStats()
++won;
++all;
}
s += TR("#FFC020#{Tutorial}\n") + "#FFD0B0" + strWon() + " %\n\n";
s += TR("#FFC020#{Tutorial}\n") + "#FFD0B0" + strWon() + " %";
// if (won == all) s += TR(" #FFE0D0#{Finished}");
s += "\n\n";

// championships ---
won = 0; all = 0;
Expand Down

0 comments on commit 3d4cfdb

Please sign in to comment.