mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 18:04:09 +03:00
Remove remnants of screen recording stuff
Most of the code was already commented out, and those comments were removed in earlier commits, but this removes all recording variables from Game and simplifies the game-gamestate handling in main.cpp a little bit.
This commit is contained in:
@@ -348,8 +348,27 @@ int main(int argc, char *argv[])
|
||||
else
|
||||
{
|
||||
|
||||
if (game.recording == 1)
|
||||
if (script.running)
|
||||
{
|
||||
script.run();
|
||||
}
|
||||
|
||||
gameinput();
|
||||
gamerender();
|
||||
gamelogic();
|
||||
|
||||
|
||||
break;
|
||||
case MAPMODE:
|
||||
maprender();
|
||||
mapinput();
|
||||
maplogic();
|
||||
break;
|
||||
case TELEPORTERMODE:
|
||||
teleporterrender();
|
||||
if(game.useteleporter)
|
||||
{
|
||||
teleporterinput();
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -357,44 +376,7 @@ int main(int argc, char *argv[])
|
||||
{
|
||||
script.run();
|
||||
}
|
||||
|
||||
gameinput();
|
||||
gamerender();
|
||||
gamelogic();
|
||||
|
||||
|
||||
}
|
||||
break;
|
||||
case MAPMODE:
|
||||
maprender();
|
||||
if (game.recording == 1)
|
||||
{
|
||||
}
|
||||
else
|
||||
{
|
||||
mapinput();
|
||||
}
|
||||
maplogic();
|
||||
break;
|
||||
case TELEPORTERMODE:
|
||||
teleporterrender();
|
||||
if (game.recording == 1)
|
||||
{
|
||||
}
|
||||
else
|
||||
{
|
||||
if(game.useteleporter)
|
||||
{
|
||||
teleporterinput();
|
||||
}
|
||||
else
|
||||
{
|
||||
if (script.running)
|
||||
{
|
||||
script.run();
|
||||
}
|
||||
gameinput();
|
||||
}
|
||||
}
|
||||
maplogic();
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user