diff options
author | Sven Hesse | 2012-01-26 21:13:38 +0100 |
---|---|---|
committer | Sven Hesse | 2012-01-26 21:13:38 +0100 |
commit | e0209358b7bcd71993e2665433a1178156459fe2 (patch) | |
tree | 8ab26daa58b368b59f84f4ac7f141dbd506c38ed /engines/gob/minigames/geisha/diving.h | |
parent | a19eb264855b236b8d68dfaeb7e0f7a8dd6579a2 (diff) | |
download | scummvm-rg350-e0209358b7bcd71993e2665433a1178156459fe2.tar.gz scummvm-rg350-e0209358b7bcd71993e2665433a1178156459fe2.tar.bz2 scummvm-rg350-e0209358b7bcd71993e2665433a1178156459fe2.zip |
GOB: Add pearls scrolling by on the ocean floor
Diffstat (limited to 'engines/gob/minigames/geisha/diving.h')
-rw-r--r-- | engines/gob/minigames/geisha/diving.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/engines/gob/minigames/geisha/diving.h b/engines/gob/minigames/geisha/diving.h index af224401e3..ee2f8d8451 100644 --- a/engines/gob/minigames/geisha/diving.h +++ b/engines/gob/minigames/geisha/diving.h @@ -96,6 +96,12 @@ private: int16 x, y; }; + struct ManagedPearl { + ANIObject *pearl; + + bool black; + }; + GobEngine *_vm; DECFile *_background; @@ -110,6 +116,7 @@ private: ManagedEvilFish _evilFish[kEvilFishCount]; ManagedDecorFish _decorFish[kDecorFishCount]; ManagedPlant _plant[kPlantCount]; + ManagedPearl _pearl; ANIObject *_shot[kMaxShotCount]; @@ -129,6 +136,8 @@ private: SoundDesc _soundWhitePearl; SoundDesc _soundBlackPearl; + bool _hasPearlLocation; + void init(); void deinit(); @@ -138,6 +147,7 @@ private: void initPlants(); void enterPlant(ManagedPlant &plant, int16 prevPlantX); + void enterPearl(int16 x); void foundBlackPearl(); void foundWhitePearl(); @@ -145,6 +155,7 @@ private: void updateEvilFish(); void updateDecorFish(); void updatePlants(); + void updatePearl(); void updateAnims(); int16 checkInput(int16 &mouseX, int16 &mouseY, MouseButtons &mouseButtons); |