aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/engine/kyra_hof.h
diff options
context:
space:
mode:
authorathrxx2019-12-24 18:31:13 +0100
committerathrxx2019-12-30 17:51:34 +0100
commitcb01975aec75c17ba527f99c3988f728afdc714f (patch)
treea32271b2112bc652abe4d4c02b17d1f801e02ca8 /engines/kyra/engine/kyra_hof.h
parentd5b963a3b997067c874e6fb21445266bc4a1e766 (diff)
downloadscummvm-rg350-cb01975aec75c17ba527f99c3988f728afdc714f.tar.gz
scummvm-rg350-cb01975aec75c17ba527f99c3988f728afdc714f.tar.bz2
scummvm-rg350-cb01975aec75c17ba527f99c3988f728afdc714f.zip
KYRA: (HOF) - fix bug #11289 (Secret potion issue)
- added a missing function that causes keyboard key presses to trigger certain sound effects - improve keyboard responsiveness during idle animations (HOF only)
Diffstat (limited to 'engines/kyra/engine/kyra_hof.h')
-rw-r--r--engines/kyra/engine/kyra_hof.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/kyra/engine/kyra_hof.h b/engines/kyra/engine/kyra_hof.h
index 588efbb5ab..27638132bb 100644
--- a/engines/kyra/engine/kyra_hof.h
+++ b/engines/kyra/engine/kyra_hof.h
@@ -122,6 +122,11 @@ protected:
int inputSceneChange(int x, int y, int unk1, int unk2);
+ // special case
+ void processKeyboardSfx(int inputFlag);
+
+ static const int16 _keyboardSounds[190];
+
// gfx/animation specific
bool _inventorySaved;
void backUpPage0();