aboutsummaryrefslogtreecommitdiff
path: root/sword2/controls.h
diff options
context:
space:
mode:
authorTorbjörn Andersson2003-11-16 14:18:29 +0000
committerTorbjörn Andersson2003-11-16 14:18:29 +0000
commitfa2b8ba8de31f5659c675b507553a2b0a1ebd841 (patch)
tree52841e821b3283a0ff9430cf8be0cc273208f6e6 /sword2/controls.h
parentab066c41e0a42320137bc6cb79d77720f932af0e (diff)
downloadscummvm-rg350-fa2b8ba8de31f5659c675b507553a2b0a1ebd841.tar.gz
scummvm-rg350-fa2b8ba8de31f5659c675b507553a2b0a1ebd841.tar.bz2
scummvm-rg350-fa2b8ba8de31f5659c675b507553a2b0a1ebd841.zip
More cleanup. I've eliminated all the temporary global variables I've added
over the past few weeks, except for g_sword2. (Of course, this doesn't necessarily make the code any prettier, but we can work on that later.) svn-id: r11309
Diffstat (limited to 'sword2/controls.h')
-rw-r--r--sword2/controls.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/sword2/controls.h b/sword2/controls.h
index 169667cbbb..2b7675862e 100644
--- a/sword2/controls.h
+++ b/sword2/controls.h
@@ -26,12 +26,12 @@ class Sword2Engine;
class Gui {
private:
- Sword2Engine *_vm;
-
int _musicVolume[17];
int _soundVolume[15];
public:
+ Sword2Engine *_vm;
+
int _baseSlot;
uint8 _currentGraphicsLevel;
@@ -51,8 +51,6 @@ public:
void updateGraphicsLevel(int newLevel);
};
-extern Gui *gui;
-
} // End of namespace Sword2
#endif