22 #ifndef BBVS_MINIGAMES_BBLOOGIE_H 23 #define BBVS_MINIGAMES_BBLOOGIE_H 25 #include "bbvs/minigames/minigame.h" 32 bool run(
bool fromMainGame)
override;
48 kMaxObjectsCount = 256
54 kGSStandaloneGame = 2,
58 Obj _objects[kMaxObjectsCount];
62 const uint *_playerSounds1, *_playerSounds2;
63 uint _playerSounds1Count, _playerSounds2Count;
65 int _level, _levelTimeLeft, _levelTimeDelay;
66 int _numberOfHits, _currScore, _hiScore;
67 int _doubleScore, _megaLoogieCount;
69 int _dispLevelScore, _nextLevelScore;
71 int _timeBonusCtr, _bonusDisplayDelay1, _bonusDisplayDelay2, _bonusDisplayDelay3;
76 bool _squirrelDirection;
80 int _prevPrincipalStatus;
81 int _principalCtr, _principalFirstFrameIndex, _principalLastFrameIndex;
88 void buildDrawList(
DrawList &drawList);
89 void buildDrawList0(
DrawList &drawList);
90 void buildDrawList1(
DrawList &drawList);
91 void buildDrawList2(
DrawList &drawList);
92 void buildDrawList3(
DrawList &drawList);
98 Obj *findLoogieObj(
int startObjIndex);
99 bool isHit(
Obj *obj1,
Obj *obj2);
100 bool isCursorAtObj(
int objIndex);
113 bool updateStatus(
int mouseX,
int mouseY, uint mouseButtons);
114 bool updateStatus0(
int mouseX,
int mouseY, uint mouseButtons);
115 bool updateStatus1(
int mouseX,
int mouseY, uint mouseButtons);
116 bool updateStatus2(
int mouseX,
int mouseY, uint mouseButtons);
117 bool updateStatus3(
int mouseX,
int mouseY, uint mouseButtons);
119 void updateObjs(uint mouseButtons);
120 void updatePlayer(
int objIndex, uint mouseButtons);
121 void updateObjKind2(
int objIndex);
122 void updateLoogie(
int objIndex);
123 void updateCar(
int objIndex);
124 void updateBike(
int objIndex);
125 void updateSquirrel(
int objIndex);
126 void updatePaperPlane(
int objIndex);
127 void updateIndicator(
int objIndex);
128 void updatePrincipal(
int objIndex);
130 void incNumberOfHits();
131 void incScore(
int incrAmount);
142 #endif // BBVS_MINIGAMES_BBLOOGIE_H Definition: graphics.h:38
Definition: minigame.h:47
Definition: minigame.h:40
Definition: bbloogie.h:29
Definition: bbloogie.h:35