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:
Misa
2020-03-31 12:52:10 -07:00
committed by Ethan Lee
parent ea3c778b84
commit 9bc45c586e
4 changed files with 450 additions and 454 deletions

View File

@@ -363,11 +363,11 @@ int main(int argc, char *argv[])
case EDITORMODE:
graphics.flipmode = false;
//Input
editorinput(key, graphics, game, map, obj, help, music);
editorinput();
//Render
editorrender(key, graphics, game, map, obj, help);
editorrender();
////Logic
editorlogic(key, graphics, game, obj, music, map, help);
editorlogic();
break;
#endif
case TITLEMODE: