diff options
Diffstat (limited to 'engines/xeen/interface.h')
-rw-r--r-- | engines/xeen/interface.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/engines/xeen/interface.h b/engines/xeen/interface.h index 9e6a2a7555..321fe520c7 100644 --- a/engines/xeen/interface.h +++ b/engines/xeen/interface.h @@ -92,7 +92,7 @@ private: SpriteResource _blessSprites; SpriteResource _stdIcons; SpriteResource _combatIcons; - + Graphics::ManagedSurface _fallSurface; bool _buttonsLoaded; int _steppingFX; int _blessedUIFrame; @@ -129,9 +129,18 @@ private: */ void handleFalling(); - void saveFall(); + /** + * Sets up a passed surface with a double height combination of the previously + * saved scene background and the newly rendered (but not displayed) scene + * below it. This will be used by the fall sequence to vertically shift from the + * prior "upper" scene to the lower ground scene + */ + void setupFallSurface(bool isTop); - void fall(int v); + /** + * Handles a frame of falling animation + */ + void fall(int yp); /** * Shake the screen |