22 #ifndef BBVS_MINIGAMES_BBTENNIS_H 23 #define BBVS_MINIGAMES_BBTENNIS_H 25 #include "bbvs/minigames/minigame.h" 32 bool run(
bool fromMainGame)
override;
55 kMaxObjectsCount = 256
61 kGSStandaloneGame = 2,
65 Obj _objects[kMaxObjectsCount];
69 int _tennisPlayerDelay;
73 int _delayDecreaseTimer;
78 int _rapidFireBallsCount;
82 bool _playedThisIsTheCoolest;
83 bool _startSoundPlayed;
84 bool _endSoundPlaying;
88 void buildDrawList(
DrawList &drawList);
89 void buildDrawList0(
DrawList &drawList);
90 void buildDrawList1(
DrawList &drawList);
91 void buildDrawList2(
DrawList &drawList);
97 Obj *findTennisBall(
int startObjIndex);
98 bool isHit(
Obj *obj1,
Obj *obj2);
110 bool updateStatus(
int mouseX,
int mouseY, uint mouseButtons);
111 bool updateStatus0(
int mouseX,
int mouseY, uint mouseButtons);
112 bool updateStatus1(
int mouseX,
int mouseY, uint mouseButtons);
113 bool updateStatus2(
int mouseX,
int mouseY, uint mouseButtons);
116 void updateTennisBall(
int objIndex);
117 void updateSquirrel(
int objIndex);
118 void updateTennisPlayer(
int objIndex);
119 void updateThrower(
int objIndex);
120 void updateNetPlayer(
int objIndex);
121 void updateEnemyTennisBall(
int objIndex);
122 void makeEnemyBall(
int x,
int y,
int frameIndex);
133 #endif // BBVS_MINIGAMES_BBTENNIS_H Definition: graphics.h:38
Definition: bbtennis.h:35
Definition: bbtennis.h:29
Definition: minigame.h:47
Definition: minigame.h:40