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:
Misa
2020-03-31 01:09:42 -07:00
committed by Ethan Lee
parent cac1a9e3ab
commit 35d9bcce05
4 changed files with 127 additions and 127 deletions

View File

@@ -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;