1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-23 01:59:43 +01:00

Remove outdated comments from Script.cpp

Some of these seem to be copy-pasting stuff and then commenting it out
if it doesn't fit the pasted case.
This commit is contained in:
Misa 2020-04-02 17:46:20 -07:00 committed by Ethan Lee
parent 92544cbdbb
commit d1661c20a8

View file

@ -1271,7 +1271,6 @@ void scriptclass::run()
game.gamestate = 5; game.gamestate = 5;
graphics.menuoffset = 240; //actually this should count the roomname graphics.menuoffset = 240; //actually this should count the roomname
if (map.extrarow) graphics.menuoffset -= 10; if (map.extrarow) graphics.menuoffset -= 10;
//graphics.menubuffer.copyPixels(graphics.screenbuffer, graphics.screenbuffer.rect, graphics.tl, null, null, false);
graphics.resumegamemode = false; graphics.resumegamemode = false;
@ -2805,8 +2804,6 @@ void scriptclass::startgamemode( int t )
game.jumpheld = true; game.jumpheld = true;
graphics.showcutscenebars = true; graphics.showcutscenebars = true;
graphics.cutscenebarspos = 320; graphics.cutscenebarspos = 320;
//game.starttest();
//music.play(4);
//set flipmode //set flipmode
if (graphics.setflipmode) graphics.flipmode = true; if (graphics.setflipmode) graphics.flipmode = true;
@ -2834,8 +2831,6 @@ void scriptclass::startgamemode( int t )
game.jumpheld = true; game.jumpheld = true;
graphics.showcutscenebars = true; graphics.showcutscenebars = true;
graphics.cutscenebarspos = 320; graphics.cutscenebarspos = 320;
//game.starttest();
//music.play(4);
//set flipmode //set flipmode
if (graphics.setflipmode) graphics.flipmode = true; if (graphics.setflipmode) graphics.flipmode = true;
@ -3198,9 +3193,6 @@ void scriptclass::startgamemode( int t )
map.customx = 100; map.customx = 100;
map.customy = 100; map.customy = 100;
//graphics.showcutscenebars = true;
//graphics.cutscenebarspos = 320;
//set flipmode //set flipmode
if (graphics.setflipmode) graphics.flipmode = true; if (graphics.setflipmode) graphics.flipmode = true;
@ -3218,7 +3210,6 @@ void scriptclass::startgamemode( int t )
}else{ }else{
music.currentsong=-1; music.currentsong=-1;
} }
//load("intro");
break; break;
case 22: //play custom level (in game) case 22: //play custom level (in game)
{ {
@ -3239,9 +3230,6 @@ void scriptclass::startgamemode( int t )
map.customx = 100; map.customx = 100;
map.customy = 100; map.customy = 100;
//graphics.showcutscenebars = true;
//graphics.cutscenebarspos = 320;
//set flipmode //set flipmode
if (graphics.setflipmode) graphics.flipmode = true; if (graphics.setflipmode) graphics.flipmode = true;
@ -3263,7 +3251,6 @@ void scriptclass::startgamemode( int t )
music.currentsong=-1; music.currentsong=-1;
} }
graphics.fademode = 4; graphics.fademode = 4;
//load("intro");
break; break;
} }
case 23: //Continue in custom level case 23: //Continue in custom level
@ -3288,9 +3275,6 @@ void scriptclass::startgamemode( int t )
game.gravitycontrol = game.savegc; game.gravitycontrol = game.savegc;
//graphics.showcutscenebars = true;
//graphics.cutscenebarspos = 320;
//set flipmode //set flipmode
if (graphics.setflipmode) graphics.flipmode = true; if (graphics.setflipmode) graphics.flipmode = true;
@ -3303,16 +3287,8 @@ void scriptclass::startgamemode( int t )
map.resetplayer(); map.resetplayer();
} }
map.gotoroom(game.saverx, game.savery); map.gotoroom(game.saverx, game.savery);
/* Handled by load
if(ed.levmusic>0){
music.play(ed.levmusic);
}else{
music.currentsong=-1;
}
*/
ed.generatecustomminimap(); ed.generatecustomminimap();
graphics.fademode = 4; graphics.fademode = 4;
//load("intro");
break; break;
} }
#endif #endif