Add a messagebox informing to restart the game if either VSync or 4x Multisampling has been (de)selected
This commit is contained in:
parent
d53a475a58
commit
85b303e5e1
|
@ -4,6 +4,7 @@ D1X-Rebirth Changelog
|
|||
--------
|
||||
INSTALL.txt, README.txt: Docs update: Infos about Jukebox over SDL_mixer, SDL_mixer is not experimental anymore, yet another .de->.com change
|
||||
d1x.ini, main/inferno.c: Show debug help screen options in release build as well as some might be actually useful for players
|
||||
main/menu.c: Add a messagebox informing to restart the game if either VSync or 4x Multisampling has been (de)selected
|
||||
|
||||
20081029
|
||||
--------
|
||||
|
|
|
@ -667,13 +667,16 @@ void do_graphics_menu()
|
|||
|
||||
i = newmenu_do1( NULL, "Graphics Options", sizeof(m)/sizeof(*m), m, NULL, i );
|
||||
|
||||
if (GameCfg.VSync != m[7].value || GameCfg.Multisample != m[8].value)
|
||||
nm_messagebox( NULL, 1, TXT_OK, "To apply VSync or 4x Multisample\nyou need to restart the program");
|
||||
|
||||
for (j = 0; j <= 2; j++)
|
||||
if (m[j+1].value)
|
||||
GameCfg.TexFilt = j;
|
||||
PlayerCfg.OglAlphaEffects = m[5].value;
|
||||
PlayerCfg.OglReticle = m[6].value;
|
||||
GameCfg.VSync = m[7].value;
|
||||
GameCfg.Multisample = m[7].value;
|
||||
GameCfg.Multisample = m[8].value;
|
||||
gr_set_attributes();
|
||||
} while( i>-1 );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue