22 #ifndef BBVS_MINIGAMES_MINIGAME_H 23 #define BBVS_MINIGAMES_MINIGAME_H 25 #include "bbvs/bbvs.h" 26 #include "bbvs/graphics.h" 27 #include "bbvs/sound.h" 28 #include "bbvs/spritemodule.h" 33 kMinigameBbLoogie = 0,
34 kMinigameBbTennis = 1,
36 kMinigameBbAirGuitar = 3,
42 const int *frameIndices;
43 const int16 *frameTicks;
51 virtual bool run(
bool fromMainGame) = 0;
61 int _hiScoreTable[kMinigameCount];
63 int _backgroundSpriteIndex, _titleScreenSpriteIndex;
67 int drawNumber(
DrawList &drawList,
int number,
int x,
int y);
69 void playSound(uint index,
bool loop =
false);
70 void stopSound(uint index);
71 bool isSoundPlaying(uint index);
72 bool isAnySoundPlaying(
const uint *indices, uint count);
74 void saveHiscore(
int minigameNum,
int score);
75 int loadHiscore(
int minigameNum);
81 #endif // BBVS_MINIGAMES_MINIGAME_H Definition: graphics.h:38
Definition: spritemodule.h:47
Definition: minigame.h:47
Definition: minigame.h:40