1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-11-04 18:29:41 +01: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:
Misa 2020-04-02 19:26:16 -07:00 committed by Ethan Lee
parent fd21fbb341
commit 134510d26a
3 changed files with 20 additions and 59 deletions

View file

@ -148,11 +148,6 @@ void Game::init(void)
press_left = 0; press_left = 0;
recording = 0;
recordinit = false;
playbackfinished = false;
recordstring = "";
advancetext = false; advancetext = false;
pausescript = false; pausescript = false;
completestop = false; completestop = false;

View file

@ -284,22 +284,6 @@ public:
int stretchMode; int stretchMode;
int controllerSensitivity; int controllerSensitivity;
//Screenrecording stuff, for beta/trailer
int recording;
std::string recordstring;
bool combomode;
int combolen;
std::string comboaction;
std::string currentaction;
bool recordinit;
std::vector<int> playback;
int playbackpos;
int playbacksize;
int playmove;
int playcombo;
bool playbackfinished;
bool menukludge; bool menukludge;
bool quickrestartkludge; bool quickrestartkludge;

View file

@ -348,11 +348,6 @@ int main(int argc, char *argv[])
else else
{ {
if (game.recording == 1)
{
}
else
{
if (script.running) if (script.running)
{ {
script.run(); script.run();
@ -363,26 +358,14 @@ int main(int argc, char *argv[])
gamelogic(); gamelogic();
}
break; break;
case MAPMODE: case MAPMODE:
maprender(); maprender();
if (game.recording == 1)
{
}
else
{
mapinput(); mapinput();
}
maplogic(); maplogic();
break; break;
case TELEPORTERMODE: case TELEPORTERMODE:
teleporterrender(); teleporterrender();
if (game.recording == 1)
{
}
else
{
if(game.useteleporter) if(game.useteleporter)
{ {
teleporterinput(); teleporterinput();
@ -395,7 +378,6 @@ int main(int argc, char *argv[])
} }
gameinput(); gameinput();
} }
}
maplogic(); maplogic();
break; break;
case GAMECOMPLETE: case GAMECOMPLETE: