diff options
author | Paul Gilbert | 2018-02-18 16:41:00 -0500 |
---|---|---|
committer | Paul Gilbert | 2018-02-18 16:47:51 -0500 |
commit | 4d91cf75bae91a34f3ee1e61b347823c84473ce7 (patch) | |
tree | 21ad0a302c02a4166372f27f099f476321c7fe23 /engines/xeen/dialogs_create_char.h | |
parent | 383d6f036d399593f5dd6b16b70f9bc8c8025b13 (diff) | |
download | scummvm-rg350-4d91cf75bae91a34f3ee1e61b347823c84473ce7.tar.gz scummvm-rg350-4d91cf75bae91a34f3ee1e61b347823c84473ce7.tar.bz2 scummvm-rg350-4d91cf75bae91a34f3ee1e61b347823c84473ce7.zip |
XEEN: Cleanup of new CreateCharacterDialog class
Diffstat (limited to 'engines/xeen/dialogs_create_char.h')
-rw-r--r-- | engines/xeen/dialogs_create_char.h | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/engines/xeen/dialogs_create_char.h b/engines/xeen/dialogs_create_char.h index 6a33bcf06c..b3232271e6 100644 --- a/engines/xeen/dialogs_create_char.h +++ b/engines/xeen/dialogs_create_char.h @@ -32,6 +32,7 @@ class CreateCharacterDialog : public ButtonContainer { private: SpriteResource _icons; SpriteResource _dice; + Common::Point _diceSize; int _diceFrame[3]; Common::Point _dicePos[3]; Common::Point _diceInc[3]; @@ -47,9 +48,19 @@ private: void loadButtons(); /** - * Print the dice animation + * Draws on-screen icons */ - void drawDice(SpriteResource &dice); + void drawIcons(); + + /** + * Draws on-screen icons + */ + void drawIcons2(); + + /** + * Animate the dice rolling around + */ + void drawDice(); /** * Executes the dialog @@ -77,7 +88,7 @@ private: /** * Print the selection arrow to indicate the selected class */ - void printSelectionArrow(SpriteResource &icons, int selectedClass); + void printSelectionArrow(int selectedClass); /** * Saves the rolled character into the roster |