aboutsummaryrefslogtreecommitdiff
path: root/saga/interface.h
diff options
context:
space:
mode:
authorAndrew Kurushin2005-01-09 23:41:22 +0000
committerAndrew Kurushin2005-01-09 23:41:22 +0000
commit31ceb0bb71d2f6446a54aa4d9c7896472e1534de (patch)
tree9b1d54261fdf3eda4552b7e14ae5efdd44c92e77 /saga/interface.h
parent7a8e1c1efd72bd5bb9aa3db8f6cbb4ca39ca8c0f (diff)
downloadscummvm-rg350-31ceb0bb71d2f6446a54aa4d9c7896472e1534de.tar.gz
scummvm-rg350-31ceb0bb71d2f6446a54aa4d9c7896472e1534de.tar.bz2
scummvm-rg350-31ceb0bb71d2f6446a54aa4d9c7896472e1534de.zip
- GameModule is gone
- structures renamed - SagaEngine class gives all current game descriptions regression : "verb" is broken cause work in progress svn-id: r16511
Diffstat (limited to 'saga/interface.h')
-rw-r--r--saga/interface.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/saga/interface.h b/saga/interface.h
index 313954fce2..b3edf44957 100644
--- a/saga/interface.h
+++ b/saga/interface.h
@@ -126,7 +126,7 @@ enum BUTTON_FLAGS {
#define BUTTON_VERB ( BUTTON_LABEL | BUTTON_BITMAP | BUTTON_SET )
-struct INTERFACE_BUTTON {
+struct InterfaceButton {
int x1;
int y1;
int x2;
@@ -138,7 +138,7 @@ struct INTERFACE_BUTTON {
int data;
};
-struct INTERFACE_PANEL {
+struct InterfacePanel {
byte *res;
size_t res_len;
int x;
@@ -149,7 +149,7 @@ struct INTERFACE_PANEL {
int img_h;
int set_button;
int nbuttons;
- INTERFACE_BUTTON *buttons;
+ InterfaceButton *buttons;
SpriteList sprites;
};
@@ -235,6 +235,7 @@ private:
int handleCommandClick(SURFACE *ds, const Point& imousePt);
int handlePlayfieldUpdate(SURFACE *ds, const Point& imousePt);
int handlePlayfieldClick(SURFACE *ds, const Point& imousePt);
+ void drawVerb(int verb, int state);
private:
SagaEngine *_vm;
@@ -247,8 +248,8 @@ private:
int _savedMode;
int _lockedMode;
bool _inMainMode;
- INTERFACE_PANEL _cPanel;
- INTERFACE_PANEL _dPanel;
+ InterfacePanel _mainPanel;
+ InterfacePanel _conversePanel;
char _statusText[STATUS_TEXT_LEN];
int _leftPortrait;
int _rightPortrait;