mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 17:49: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:
parent
92544cbdbb
commit
d1661c20a8
1 changed files with 0 additions and 24 deletions
|
@ -1271,7 +1271,6 @@ void scriptclass::run()
|
|||
game.gamestate = 5;
|
||||
graphics.menuoffset = 240; //actually this should count the roomname
|
||||
if (map.extrarow) graphics.menuoffset -= 10;
|
||||
//graphics.menubuffer.copyPixels(graphics.screenbuffer, graphics.screenbuffer.rect, graphics.tl, null, null, false);
|
||||
|
||||
graphics.resumegamemode = false;
|
||||
|
||||
|
@ -2805,8 +2804,6 @@ void scriptclass::startgamemode( int t )
|
|||
game.jumpheld = true;
|
||||
graphics.showcutscenebars = true;
|
||||
graphics.cutscenebarspos = 320;
|
||||
//game.starttest();
|
||||
//music.play(4);
|
||||
|
||||
//set flipmode
|
||||
if (graphics.setflipmode) graphics.flipmode = true;
|
||||
|
@ -2834,8 +2831,6 @@ void scriptclass::startgamemode( int t )
|
|||
game.jumpheld = true;
|
||||
graphics.showcutscenebars = true;
|
||||
graphics.cutscenebarspos = 320;
|
||||
//game.starttest();
|
||||
//music.play(4);
|
||||
|
||||
//set flipmode
|
||||
if (graphics.setflipmode) graphics.flipmode = true;
|
||||
|
@ -3198,9 +3193,6 @@ void scriptclass::startgamemode( int t )
|
|||
map.customx = 100;
|
||||
map.customy = 100;
|
||||
|
||||
//graphics.showcutscenebars = true;
|
||||
//graphics.cutscenebarspos = 320;
|
||||
|
||||
//set flipmode
|
||||
if (graphics.setflipmode) graphics.flipmode = true;
|
||||
|
||||
|
@ -3218,7 +3210,6 @@ void scriptclass::startgamemode( int t )
|
|||
}else{
|
||||
music.currentsong=-1;
|
||||
}
|
||||
//load("intro");
|
||||
break;
|
||||
case 22: //play custom level (in game)
|
||||
{
|
||||
|
@ -3239,9 +3230,6 @@ void scriptclass::startgamemode( int t )
|
|||
map.customx = 100;
|
||||
map.customy = 100;
|
||||
|
||||
//graphics.showcutscenebars = true;
|
||||
//graphics.cutscenebarspos = 320;
|
||||
|
||||
//set flipmode
|
||||
if (graphics.setflipmode) graphics.flipmode = true;
|
||||
|
||||
|
@ -3263,7 +3251,6 @@ void scriptclass::startgamemode( int t )
|
|||
music.currentsong=-1;
|
||||
}
|
||||
graphics.fademode = 4;
|
||||
//load("intro");
|
||||
break;
|
||||
}
|
||||
case 23: //Continue in custom level
|
||||
|
@ -3288,9 +3275,6 @@ void scriptclass::startgamemode( int t )
|
|||
game.gravitycontrol = game.savegc;
|
||||
|
||||
|
||||
//graphics.showcutscenebars = true;
|
||||
//graphics.cutscenebarspos = 320;
|
||||
|
||||
//set flipmode
|
||||
if (graphics.setflipmode) graphics.flipmode = true;
|
||||
|
||||
|
@ -3303,16 +3287,8 @@ void scriptclass::startgamemode( int t )
|
|||
map.resetplayer();
|
||||
}
|
||||
map.gotoroom(game.saverx, game.savery);
|
||||
/* Handled by load
|
||||
if(ed.levmusic>0){
|
||||
music.play(ed.levmusic);
|
||||
}else{
|
||||
music.currentsong=-1;
|
||||
}
|
||||
*/
|
||||
ed.generatecustomminimap();
|
||||
graphics.fademode = 4;
|
||||
//load("intro");
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue