22 #ifndef BBVS_MINIGAMES_BBAIRGUITAR_H 23 #define BBVS_MINIGAMES_BBAIRGUITAR_H 25 #include "bbvs/minigames/minigame.h" 32 bool run(
bool fromMainGame)
override;
48 kMaxObjectsCount = 256,
62 Obj _objects[kMaxObjectsCount];
69 int _trackIndex, _trackCount;
73 int _vuMeterLeft1, _vuMeterLeft2;
74 int _vuMeterRight1, _vuMeterRight2;
77 bool _rockTunePlaying;
80 int _buttonClickTicks;
86 const Rect *_currPlayerButtonRect;
91 Rect _trackBarThumbRect;
93 int _currTrackPos, _totalTrackLength;
96 int _actionStartTrackPos, _actionTrackPos;
103 bool ptInRect(
const Rect *r,
int x,
int y);
104 bool ptInPoly(
const BBPolygon *poly,
int x,
int y);
106 void buildDrawList(
DrawList &drawList);
107 void buildDrawList0(
DrawList &drawList);
108 void buildDrawList1(
DrawList &drawList);
113 Obj *getFreeObject();
119 bool updateStatus(
int mouseX,
int mouseY, uint mouseButtons);
120 bool updateStatus0(
int mouseX,
int mouseY, uint mouseButtons);
121 bool updateStatus1(
int mouseX,
int mouseY, uint mouseButtons);
129 void setPlayerMode3();
131 void changePatch(
int patchNum);
132 void afterButtonReleased();
133 void calcTotalTicks2();
134 void calcTotalTicks1();
135 void noteOn(
int noteNum);
136 void noteOff(
int noteNum);
140 void playNote(
int noteNum);
141 void stopNote(
int noteNum);
145 bool querySaveModifiedDialog();
146 bool querySaveModifiedTracks();
156 #endif // BBVS_MINIGAMES_BBAIRGUITAR_H
Definition: graphics.h:38
Definition: minigame.h:47
Definition: bbairguitar.h:57
Definition: minigame.h:40
Definition: bbairguitar.h:35
Definition: bbairguitar.h:29
Definition: bbairguitar.h:52