mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 09:54:10 +03:00
Change gamestate ints to their enum names
This is to make it easier to read, so I don't have to reference Enums.h if I want to know what they are referring to.
This commit is contained in:
@@ -1332,7 +1332,7 @@ void Game::updatestate()
|
||||
if(graphics.fademode == 1) state++;
|
||||
break;
|
||||
case 81:
|
||||
gamestate = 1;
|
||||
gamestate = TITLEMODE;
|
||||
graphics.fademode = 4;
|
||||
music.play(6);
|
||||
graphics.backgrounddrawn = false;
|
||||
@@ -1389,7 +1389,7 @@ void Game::updatestate()
|
||||
break;
|
||||
case 84:
|
||||
graphics.flipmode = false;
|
||||
gamestate = 1;
|
||||
gamestate = TITLEMODE;
|
||||
graphics.fademode = 4;
|
||||
graphics.backgrounddrawn = true;
|
||||
map.tdrawback = true;
|
||||
@@ -1469,7 +1469,7 @@ void Game::updatestate()
|
||||
if(graphics.fademode == 1) state++;
|
||||
break;
|
||||
case 97:
|
||||
gamestate = 0;
|
||||
gamestate = GAMEMODE;
|
||||
graphics.fademode = 4;
|
||||
startscript = true;
|
||||
newscript="returntolab";
|
||||
@@ -3049,7 +3049,7 @@ void Game::updatestate()
|
||||
break;
|
||||
case 3101:
|
||||
graphics.flipmode = false;
|
||||
gamestate = 1;
|
||||
gamestate = TITLEMODE;
|
||||
graphics.fademode = 4;
|
||||
graphics.backgrounddrawn = true;
|
||||
map.tdrawback = true;
|
||||
@@ -3376,7 +3376,7 @@ void Game::updatestate()
|
||||
break;
|
||||
case 3522:
|
||||
graphics.flipmode = false;
|
||||
gamestate = 1;
|
||||
gamestate = TITLEMODE;
|
||||
graphics.fademode = 4;
|
||||
graphics.backgrounddrawn = true;
|
||||
map.tdrawback = true;
|
||||
|
||||
Reference in New Issue
Block a user