aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/saga/interface.h')
-rw-r--r--engines/saga/interface.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/saga/interface.h b/engines/saga/interface.h
index b537d49424..7ae225219a 100644
--- a/engines/saga/interface.h
+++ b/engines/saga/interface.h
@@ -157,6 +157,7 @@ struct InterfacePanel {
struct Converse {
char *text;
+ int strId;
int stringNum;
int textNum;
int replyId;
@@ -196,7 +197,7 @@ public:
return _fadeMode;
}
void rememberMode();
- void restoreMode();
+ void restoreMode(bool draw_ = true);
bool isInMainMode() { return _inMainMode; }
void setStatusText(const char *text, int statusColor = -1);
void loadScenePortraits(int resourceId);
@@ -329,7 +330,7 @@ private:
void drawTextInput(Surface *ds, InterfacePanel *panel, PanelButton *panelButton);
void drawPanelText(Surface *ds, InterfacePanel *panel, PanelButton *panelButton);
- void drawPanelButtonText(Surface *ds, InterfacePanel *panel, PanelButton *panelButton);
+ void drawPanelButtonText(Surface *ds, InterfacePanel *panel, PanelButton *panelButton, int spritenum = 0);
enum ButtonKind {
kButton,
kSlider,
@@ -346,7 +347,7 @@ private:
public:
void converseInit(void);
void converseClear(void);
- bool converseAddText(const char *text, int replyId, byte replyFlags, int replyBit);
+ bool converseAddText(const char *text, int strId, int replyId, byte replyFlags, int replyBit);
void converseDisplayText();
void converseSetTextLines(int row);
void converseChangePos(int chg);