mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 09:28:15 +03:00
some small menu fixes
- Return in Unlock Play Modes goes to Game Options instead of the main menu - changing some Graphics Options settings no longer plays two menu select sounds, which was really loud :( - Return in Game Pad Options plays the menu select sound - turning off Screen Effects plays the menu select sound
This commit is contained in:
@@ -428,7 +428,6 @@ SDL_assert(0 && "Remove open level dir");
|
||||
if (game.currentmenuoption == 0){
|
||||
music.playef(11, 10);
|
||||
dwgfx.screenbuffer->toggleFullScreen();
|
||||
music.playef(11, 10);
|
||||
game.fullscreen = !game.fullscreen;
|
||||
updategraphicsmode(game, dwgfx);
|
||||
game.savestats(map, dwgfx);
|
||||
@@ -437,7 +436,6 @@ SDL_assert(0 && "Remove open level dir");
|
||||
}else if (game.currentmenuoption == 1){
|
||||
music.playef(11, 10);
|
||||
dwgfx.screenbuffer->toggleStretchMode();
|
||||
music.playef(11, 10);
|
||||
game.stretchMode = (game.stretchMode + 1) % 3;
|
||||
updategraphicsmode(game, dwgfx);
|
||||
game.savestats(map, dwgfx);
|
||||
@@ -446,7 +444,6 @@ SDL_assert(0 && "Remove open level dir");
|
||||
}else if (game.currentmenuoption == 2){
|
||||
music.playef(11, 10);
|
||||
dwgfx.screenbuffer->toggleLinearFilter();
|
||||
music.playef(11, 10);
|
||||
game.useLinearFilter = !game.useLinearFilter;
|
||||
updategraphicsmode(game, dwgfx);
|
||||
game.savestats(map, dwgfx);
|
||||
@@ -709,6 +706,8 @@ SDL_assert(0 && "Remove open level dir");
|
||||
music.playef(18, 10);
|
||||
game.screenshake = 10;
|
||||
game.flashlight = 5;
|
||||
}else{
|
||||
music.playef(11, 10);
|
||||
}
|
||||
}
|
||||
else if (game.currentmenuoption == 2)
|
||||
@@ -1015,7 +1014,7 @@ SDL_assert(0 && "Remove open level dir");
|
||||
{
|
||||
//back
|
||||
music.playef(11, 10);
|
||||
game.createmenu("mainmenu");
|
||||
game.createmenu("options");
|
||||
map.nexttowercolour();
|
||||
}
|
||||
}
|
||||
@@ -1332,6 +1331,7 @@ SDL_assert(0 && "Remove open level dir");
|
||||
|
||||
if (game.currentmenuoption == 4)
|
||||
{
|
||||
music.playef(11, 10);
|
||||
game.createmenu("options");
|
||||
|
||||
//Add extra menu for mmmmmm mod
|
||||
|
||||
Reference in New Issue
Block a user