aboutsummaryrefslogtreecommitdiff
path: root/sword2/mouse.h
diff options
context:
space:
mode:
authorTorbjörn Andersson2005-02-20 15:38:48 +0000
committerTorbjörn Andersson2005-02-20 15:38:48 +0000
commit807b33ec29797006dd13e4627102166344cc8901 (patch)
tree63cd1f4b64c644661c95069f3f0ac3442ef4513c /sword2/mouse.h
parentb1039bb59e76912528dcf1ad439e70f3f1485a50 (diff)
downloadscummvm-rg350-807b33ec29797006dd13e4627102166344cc8901.tar.gz
scummvm-rg350-807b33ec29797006dd13e4627102166344cc8901.tar.bz2
scummvm-rg350-807b33ec29797006dd13e4627102166344cc8901.zip
More BS2 restructuring.
The various game settings are no longer stored in the Gui class. They are stored in the class that use them. Code that doesn't belong in the Gui class, e.g. the "restart" code, has been moved out of it. Afterwards, the Gui class had been reduced to nothing more than a handful of trivial methods for invoking the in-game dialogs. So the entire Gui class has been removed. svn-id: r16827
Diffstat (limited to 'sword2/mouse.h')
-rw-r--r--sword2/mouse.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sword2/mouse.h b/sword2/mouse.h
index e304db086b..1f277c9a9f 100644
--- a/sword2/mouse.h
+++ b/sword2/mouse.h
@@ -135,6 +135,8 @@ private:
uint32 _mouseTouching;
uint32 _oldMouseTouching;
+ bool _objectLabels;
+
uint32 _menuSelectedPos;
void decompressMouse(byte *decomp, byte *comp, int width, int height, int pitch, int xOff = 0, int yOff = 0);
@@ -151,6 +153,9 @@ public:
void getPos(int &x, int &y);
void setPos(int x, int y);
+ bool getObjectLabels() { return _objectLabels; }
+ void setObjectLabels(bool b) { _objectLabels = b; }
+
bool getMouseStatus() { return _mouseStatus; }
uint32 getMouseTouching() { return _mouseTouching; }
void setMouseTouching(uint32 touching) { _mouseTouching = touching; }