aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/nebular/menu_nebular.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mads/nebular/menu_nebular.h')
-rw-r--r--engines/mads/nebular/menu_nebular.h23
1 files changed, 21 insertions, 2 deletions
diff --git a/engines/mads/nebular/menu_nebular.h b/engines/mads/nebular/menu_nebular.h
index 23d9fa3c03..7abe3c8892 100644
--- a/engines/mads/nebular/menu_nebular.h
+++ b/engines/mads/nebular/menu_nebular.h
@@ -226,6 +226,19 @@ public:
virtual ~TextView();
};
+enum ResyncMode { NEVER, ALWAYS, BEGINNING };
+
+struct ResourceEntry {
+ Common::String _resourceName;
+ int _sfx;
+
+ ResourceEntry() {}
+ ResourceEntry(const Common::String &resName, int sfx) {
+ _resourceName = resName;
+ _sfx = sfx;
+ }
+};
+
/**
* Animation cutscene view
*/
@@ -235,9 +248,13 @@ private:
Common::File _script;
uint32 _previousUpdate;
- char _currentLine[80];
- char _currentFile[10];
+ Common::String _currentLine;
bool _soundDriverLoaded;
+ bool _showWhiteBars;
+ bool _resetPalette;
+ ResyncMode _resyncMode;
+ int _sfx;
+ Common::Array<ResourceEntry> _resources;
private:
void load();
@@ -245,6 +262,8 @@ private:
void processCommand();
+ int getParameter();
+
void scriptDone();
protected:
virtual void doFrame();