diff options
author | Peter Kohaut | 2019-10-13 14:08:49 +0200 |
---|---|---|
committer | Peter Kohaut | 2019-10-13 14:09:47 +0200 |
commit | cd7e44f9f92c3aee7b99ecf44e8dbfbb252904d0 (patch) | |
tree | 2fb470e0166eaf4f125778b1675b4a49c20232e4 /engines/bladerunner/dialogue_menu.h | |
parent | 2b0bce60908ec7fb2d1e2c950d4a967bc16e158a (diff) | |
download | scummvm-rg350-cd7e44f9f92c3aee7b99ecf44e8dbfbb252904d0.tar.gz scummvm-rg350-cd7e44f9f92c3aee7b99ecf44e8dbfbb252904d0.tar.bz2 scummvm-rg350-cd7e44f9f92c3aee7b99ecf44e8dbfbb252904d0.zip |
BLADERUNNER: Group shapes loading
Diffstat (limited to 'engines/bladerunner/dialogue_menu.h')
-rw-r--r-- | engines/bladerunner/dialogue_menu.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/engines/bladerunner/dialogue_menu.h b/engines/bladerunner/dialogue_menu.h index 4cb7c4fdd1..a15dec1623 100644 --- a/engines/bladerunner/dialogue_menu.h +++ b/engines/bladerunner/dialogue_menu.h @@ -55,27 +55,27 @@ class DialogueMenu { BladeRunnerEngine *_vm; - TextResource *_textResource; - Common::Array<Shape> _shapes; - bool _isVisible; - bool _waitingForInput; - int _selectedItemIndex; - int _listSize; + TextResource *_textResource; + Shapes *_shapes; + bool _isVisible; + bool _waitingForInput; + int _selectedItemIndex; + int _listSize; // These track whether a dialogue option // has previously been selected - int _neverRepeatListSize; - int _neverRepeatValues[kMaxRepeatHistory]; - bool _neverRepeatWasSelected[kMaxRepeatHistory]; + int _neverRepeatListSize; + int _neverRepeatValues[kMaxRepeatHistory]; + bool _neverRepeatWasSelected[kMaxRepeatHistory]; - int _centerX; - int _centerY; - int _screenX; - int _screenY; - int _maxItemWidth; - DialogueItem _items[kMaxItems]; + int _centerX; + int _centerY; + int _screenX; + int _screenY; + int _maxItemWidth; + DialogueItem _items[kMaxItems]; - int _fadeInItemIndex; + int _fadeInItemIndex; public: DialogueMenu(BladeRunnerEngine *vm); @@ -83,7 +83,7 @@ public: void clear(); - bool loadText(const Common::String &name); + bool loadResources(); bool show(); bool hide(); |