mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Remove global args from mapclass
This commit removes the global args being passed around from the function args on the mapclass object, as well as updating all callers in other files to not have those args. Furthermore, 'dwgfx' has been renamed to 'graphics' in Map.cpp.
This commit is contained in:
@@ -44,7 +44,7 @@ public:
|
||||
|
||||
int maptiletoenemycol(int t);
|
||||
|
||||
void changefinalcol(int t, entityclass& obj, Game& game);
|
||||
void changefinalcol(int t);
|
||||
|
||||
void setcol(const int r1, const int g1, const int b1 , const int r2, const int g2, const int b2, const int c);
|
||||
|
||||
@@ -73,15 +73,15 @@ public:
|
||||
|
||||
void showship();
|
||||
|
||||
void resetplayer(Graphics& dwgfx, Game& game, entityclass& obj, musicclass& music);
|
||||
void resetplayer();
|
||||
|
||||
void warpto(int rx, int ry , int t, int tx, int ty, Graphics& dwgfx, Game& game, entityclass& obj, musicclass& music);
|
||||
void warpto(int rx, int ry , int t, int tx, int ty);
|
||||
|
||||
void gotoroom(int rx, int ry, Graphics& dwgfx, Game& game, entityclass& obj, musicclass& music);
|
||||
void gotoroom(int rx, int ry);
|
||||
|
||||
std::string currentarea(int t);
|
||||
|
||||
void loadlevel(int rx, int ry, Graphics& dwgfx, Game& game, entityclass& obj, musicclass& music);
|
||||
void loadlevel(int rx, int ry);
|
||||
|
||||
|
||||
std::vector <int> roomdeaths;
|
||||
|
||||
Reference in New Issue
Block a user