22 #ifndef BBVS_MINIGAMES_BBANT_H 23 #define BBVS_MINIGAMES_BBANT_H 25 #include "bbvs/minigames/minigame.h" 32 bool run(
bool fromMainGame)
override;
59 kMaxObjectsCount = 256,
70 Obj _objects[kMaxObjectsCount];
75 int _bugsChanceByKind[6], _bugsCountByKind[6];
99 byte _scaleBuf[kScaleDim * kScaleDim];
102 const ObjInit *getObjInit(
int index);
103 const ObjAnimation *
const *getObjKindAnimTable(
int kind);
106 void buildDrawList0(
DrawList &drawList);
107 void buildDrawList1(
DrawList &drawList);
108 void buildDrawList2(
DrawList &drawList);
109 void buildDrawList3(
DrawList &drawList);
110 void drawMagnifyingGlass(
DrawList &drawList);
118 Obj *getFreeObject();
129 bool updateStatus(
int mouseX,
int mouseY, uint mouseButtons);
130 bool updateStatus0(
int mouseX,
int mouseY, uint mouseButtons);
131 bool updateStatus1(
int mouseX,
int mouseY, uint mouseButtons);
132 bool updateStatus2(
int mouseX,
int mouseY, uint mouseButtons);
133 bool updateStatus3(
int mouseX,
int mouseY, uint mouseButtons);
135 void getRandomBugObjValues(
int &x,
int &y,
int &animIndexIncr,
int &field30);
136 void insertBugSmokeObj(
int x,
int y,
int bugObjIndex);
137 void insertSmokeObj(
int x,
int y);
138 void resetObj(
int objIndex);
139 void insertStompObj(
int x,
int y);
140 void removeStompObj(
Obj *obj);
141 void insertBugObj(
int kind,
int animIndexIncr,
int always0,
int x,
int y,
int field30,
int always1);
142 void removeBugObj(
int objIndex);
143 void updateBugObjAnim(
int objIndex);
144 void updateObjAnim2(
int objIndex);
145 void insertRandomBugObj(
int kind);
146 bool isBugOutOfScreen(
int objIndex);
147 void updateObjAnim3(
int objIndex);
148 void updateBugObj1(
int objIndex);
149 void updateObjKind2(
int objIndex);
150 void updateObjKind3(
int objIndex);
151 void updateObjKind4(
int objIndex);
152 void updateObjKind5(
int objIndex);
153 void updateStompObj(
int objIndex);
154 void updateSmokeObj(
int objIndex);
155 void updateFootObj(
int objIndex);
156 bool isBugAtCandy(
int objIndex,
int &candyObjIndex);
157 bool isMagGlassAtBug(
int objIndex);
158 bool isMagGlassAtBeavisLeg(
int objIndex);
159 bool testObj5(
int objIndex);
160 void updateObjs(uint mouseButtons);
164 void scale2x(
int x,
int y);
172 #endif // BBVS_MINIGAMES_BBANT_H Definition: graphics.h:38
Definition: minigame.h:47
Definition: minigame.h:40