ScummVM API documentation
Bbvs::MinigameBbAirGuitar Class Reference
Inheritance diagram for Bbvs::MinigameBbAirGuitar:
Bbvs::Minigame

Classes

struct  Obj
 
struct  PianoKeyInfo
 
struct  TrackEvt
 

Public Types

enum  { kMaxObjectsCount = 256, kMaxTracks = 2048 }
 

Public Member Functions

 MinigameBbAirGuitar (BbvsEngine *vm)
 
bool run (bool fromMainGame) override
 
const ObjAnimationgetAnimation (int animIndex)
 
bool ptInRect (const Rect *r, int x, int y)
 
bool ptInPoly (const BBPolygon *poly, int x, int y)
 
void buildDrawList (DrawList &drawList)
 
void buildDrawList0 (DrawList &drawList)
 
void buildDrawList1 (DrawList &drawList)
 
void drawSprites ()
 
void initObjs ()
 
ObjgetFreeObject ()
 
void initObjects ()
 
void initObjects0 ()
 
void initObjects1 ()
 
bool updateStatus (int mouseX, int mouseY, uint mouseButtons)
 
bool updateStatus0 (int mouseX, int mouseY, uint mouseButtons)
 
bool updateStatus1 (int mouseX, int mouseY, uint mouseButtons)
 
void updateObjs ()
 
void update ()
 
void play ()
 
void record ()
 
void setPlayerMode3 ()
 
void stop ()
 
void changePatch (int patchNum)
 
void afterButtonReleased ()
 
void calcTotalTicks2 ()
 
void calcTotalTicks1 ()
 
void noteOn (int noteNum)
 
void noteOff (int noteNum)
 
void resetObjs ()
 
void loadSounds ()
 
void playNote (int noteNum)
 
void stopNote (int noteNum)
 
bool getLoadFilename (Common::String &filename)
 
bool getSaveFilename (Common::String &filename)
 
bool querySaveModifiedDialog ()
 
bool querySaveModifiedTracks ()
 
bool loadTracks ()
 
bool saveTracks ()
 
bool loadFromStream (Common::ReadStream *stream)
 
void saveToStream (Common::WriteStream *stream)
 
- Public Member Functions inherited from Bbvs::Minigame
 Minigame (BbvsEngine *vm)
 

Public Attributes

Obj _objects [kMaxObjectsCount]
 
int _playerMode
 
bool _modified
 
TrackEvt _track [kMaxTracks]
 
int _trackIndex
 
int _trackCount
 
int _noteStartTime
 
int _vuMeterLeft1
 
int _vuMeterLeft2
 
int _vuMeterRight1
 
int _vuMeterRight2
 
bool _resetAnims
 
bool _rockTunePlaying
 
int _currButtonNum
 
int _buttonClickTicks
 
int * _currFrameIndex
 
int _btn3KindToggle
 
const BBPolygon_currPianoKeyArea
 
const Rect_currPlayerButtonRect
 
bool _movingTrackBar
 
int _trackBarMouseX
 
int _trackBarX
 
Rect _trackBarThumbRect
 
int _currTrackPos
 
int _totalTrackLength
 
int _ticksDelta
 
int _actionStartTrackPos
 
int _actionTrackPos
 
int _actionStartTime
 
int _currNoteNum
 
int _currPatchNum
 

Additional Inherited Members

- Protected Member Functions inherited from Bbvs::Minigame
int drawNumber (DrawList &drawList, int number, int x, int y)
 
void playSound (uint index, bool loop=false)
 
void stopSound (uint index)
 
bool isSoundPlaying (uint index)
 
bool isAnySoundPlaying (const uint *indices, uint count)
 
void saveHiscore (int minigameNum, int score)
 
int loadHiscore (int minigameNum)
 
- Protected Attributes inherited from Bbvs::Minigame
BbvsEngine_vm
 
SpriteModule_spriteModule
 
int _gameState
 
int _gameTicks
 
bool _gameResult
 
bool _gameDone
 
bool _fromMainGame
 
int _hiScoreTable [kMinigameCount]
 
int _backgroundSpriteIndex
 
int _titleScreenSpriteIndex
 
const ObjAnimation_numbersAnim
 

The documentation for this class was generated from the following file: