[Change] Allow changing of afterburner sensitivity.
This commit is contained in:
parent
741789391d
commit
0e76d75ab0
@ -159,15 +159,19 @@ int conf_loadConfig(const char* file) {
|
|||||||
if(i) { gl_screen.flags |= OPENGL_AA_LINE; i = 0; }
|
if(i) { gl_screen.flags |= OPENGL_AA_LINE; i = 0; }
|
||||||
conf_loadBool("aa_polygon", i);
|
conf_loadBool("aa_polygon", i);
|
||||||
if(i) { gl_screen.flags |= OPENGL_AA_POLYGON; i = 0; }
|
if(i) { gl_screen.flags |= OPENGL_AA_POLYGON; i = 0; }
|
||||||
|
|
||||||
/* vsync. */
|
/* vsync. */
|
||||||
conf_loadBool("vsync", i);
|
conf_loadBool("vsync", i);
|
||||||
if(i) { gl_screen.flags |= OPENGL_VSYNC; i = 0; }
|
if(i) { gl_screen.flags |= OPENGL_VSYNC; i = 0; }
|
||||||
|
|
||||||
/* FPS. */
|
/* FPS. */
|
||||||
conf_loadBool("showfps", show_fps);
|
conf_loadBool("showfps", show_fps);
|
||||||
conf_loadInt("maxfps", max_fps);
|
conf_loadInt("maxfps", max_fps);
|
||||||
|
|
||||||
/* Input. */
|
/* Input. */
|
||||||
conf_loadInt("afterburn", input_afterburnSensibility);
|
i = 250;
|
||||||
|
conf_loadInt("afterburn", i);
|
||||||
|
input_afterburnSensibility = (i < 0) ? UINT_MAX : (unsigned int)i;
|
||||||
|
|
||||||
/* Sound. */
|
/* Sound. */
|
||||||
conf_loadBool("nosound", i);
|
conf_loadBool("nosound", i);
|
||||||
|
Loading…
Reference in New Issue
Block a user