Remove global args from scriptclass

This commit removes all global args from the parameters of each function
on the scriptclass object, and updates all places they are called
accordingly. It also changes all instances of 'dwgfx' to 'graphics' in
Script.cpp.

Interestingly enough, it looks like editor.h depended on Script.h's
class define of the musicclass. I've temporarily placed the class define
in editor.h, but by the end of this patchset it'll be gone.
This commit is contained in:
Misa
2020-03-31 12:38:52 -07:00
committed by Ethan Lee
parent 2826bd828c
commit ea3c778b84
7 changed files with 172 additions and 180 deletions

View File

@@ -7,7 +7,7 @@
#include <string>
#include "Script.h"
class KeyPoll; class Graphics; class Game; class mapclass; class entityclass; class UtilityClass;
class KeyPoll; class Graphics; class Game; class mapclass; class entityclass; class UtilityClass; class musicclass;
class edentities{