mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-31 02:14:09 +03:00
Remove global args from editorclass
This removes global arg passing from all functions on editorclass. Callers have been updated correspondingly. Additionally, all 'dwgfx' has been replaced with 'graphics' in editor.cpp.
This commit is contained in:
@@ -3224,7 +3224,7 @@ void scriptclass::startgamemode( int t )
|
||||
//Initilise the level
|
||||
//First up, find the start point
|
||||
ed.weirdloadthing(ed.ListOfMetaData[game.playcustomlevel].filename);
|
||||
ed.findstartpoint(game);
|
||||
ed.findstartpoint();
|
||||
|
||||
game.gamestate = GAMEMODE;
|
||||
music.fadeout();
|
||||
@@ -3253,7 +3253,7 @@ void scriptclass::startgamemode( int t )
|
||||
}
|
||||
map.gotoroom(game.saverx, game.savery);
|
||||
|
||||
ed.generatecustomminimap(graphics, map);
|
||||
ed.generatecustomminimap();
|
||||
map.customshowmm=true;
|
||||
if(ed.levmusic>0){
|
||||
music.play(ed.levmusic);
|
||||
@@ -3267,7 +3267,7 @@ void scriptclass::startgamemode( int t )
|
||||
//Initilise the level
|
||||
//First up, find the start point
|
||||
ed.weirdloadthing(ed.ListOfMetaData[game.playcustomlevel].filename);
|
||||
ed.findstartpoint(game);
|
||||
ed.findstartpoint();
|
||||
|
||||
game.gamestate = GAMEMODE;
|
||||
music.fadeout();
|
||||
@@ -3305,7 +3305,7 @@ void scriptclass::startgamemode( int t )
|
||||
music.currentsong=-1;
|
||||
}
|
||||
*/
|
||||
ed.generatecustomminimap(graphics, map);
|
||||
ed.generatecustomminimap();
|
||||
graphics.fademode = 4;
|
||||
//load("intro");
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user