mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
FOV default is 100, profiles before version 2 are automatically updated
This commit is contained in:
parent
00f7d27d13
commit
73a44ff255
2 changed files with 11 additions and 5 deletions
|
|
@ -964,7 +964,7 @@ void Dummymenuplayer_OnChange(void);
|
|||
consvar_t cv_dummymenuplayer = MenuDummy("dummymenuplayer", "P1").onchange(Dummymenuplayer_OnChange).values({{0, "NOPE"}, {1, "P1"}, {2, "P2"}, {3, "P3"}, {4, "P4"}});
|
||||
|
||||
consvar_t cv_dummyprofileautoroulette = MenuDummy("dummyprofileautoroulette", "Off").on_off();
|
||||
consvar_t cv_dummyprofilefov = MenuDummy("dummyprofilefov", "90").min_max(70, 110);
|
||||
consvar_t cv_dummyprofilefov = MenuDummy("dummyprofilefov", "100").min_max(70, 110);
|
||||
consvar_t cv_dummyprofilelitesteer = MenuDummy("dummyprofilelitesteer", "Off").on_off();
|
||||
consvar_t cv_dummyprofilekickstart = MenuDummy("dummyprofilekickstart", "Off").on_off();
|
||||
consvar_t cv_dummyprofilename = MenuDummy("dummyprofilename", "");
|
||||
|
|
@ -1166,10 +1166,10 @@ consvar_t cv_followercolor[MAXSPLITSCREENPLAYERS] = {
|
|||
|
||||
void Fov_OnChange(void);
|
||||
consvar_t cv_fov[MAXSPLITSCREENPLAYERS] = {
|
||||
Player("fov", "90").floating_point().min_max(60*FRACUNIT, 179*FRACUNIT).onchange(Fov_OnChange).dont_save(),
|
||||
Player("fov2", "90").floating_point().min_max(60*FRACUNIT, 179*FRACUNIT).onchange(Fov_OnChange).dont_save(),
|
||||
Player("fov3", "90").floating_point().min_max(60*FRACUNIT, 179*FRACUNIT).onchange(Fov_OnChange).dont_save(),
|
||||
Player("fov4", "90").floating_point().min_max(60*FRACUNIT, 179*FRACUNIT).onchange(Fov_OnChange).dont_save(),
|
||||
Player("fov", "100").floating_point().min_max(60*FRACUNIT, 179*FRACUNIT).onchange(Fov_OnChange).dont_save(),
|
||||
Player("fov2", "100").floating_point().min_max(60*FRACUNIT, 179*FRACUNIT).onchange(Fov_OnChange).dont_save(),
|
||||
Player("fov3", "100").floating_point().min_max(60*FRACUNIT, 179*FRACUNIT).onchange(Fov_OnChange).dont_save(),
|
||||
Player("fov4", "100").floating_point().min_max(60*FRACUNIT, 179*FRACUNIT).onchange(Fov_OnChange).dont_save(),
|
||||
};
|
||||
|
||||
consvar_t cv_freecam_speed = Player("freecam_speed", "1").min_max(-64, 10).dont_save();
|
||||
|
|
|
|||
|
|
@ -490,6 +490,12 @@ void PR_LoadProfiles(void)
|
|||
// - litesteer is now off by default, reset old profiles
|
||||
newprof->litesteer = false;
|
||||
|
||||
// - fov is now 100 by default, reset if it was left at 90 (old default)
|
||||
if (newprof->fov == 90)
|
||||
{
|
||||
newprof->fov = 100;
|
||||
}
|
||||
|
||||
auto unbound = [](const INT32* map)
|
||||
{
|
||||
INT32 zero[MAXINPUTMAPPING] = {};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue