Classes | |
struct | Obj |
Public Types | |
enum | { kMaxObjectsCount = 256 } |
enum | { kGSTitleScreen = 0, kGSMainGame = 1, kGSStandaloneGame = 2, kGSScoreCountUp = 3 } |
Public Member Functions | |
MinigameBbLoogie (BbvsEngine *vm) | |
bool | run (bool fromMainGame) override |
const ObjAnimation * | getAnimation (int animIndex) |
void | buildDrawList (DrawList &drawList) |
void | buildDrawList0 (DrawList &drawList) |
void | buildDrawList1 (DrawList &drawList) |
void | buildDrawList2 (DrawList &drawList) |
void | buildDrawList3 (DrawList &drawList) |
void | drawSprites () |
void | initObjs () |
Obj * | getFreeObject () |
Obj * | findLoogieObj (int startObjIndex) |
bool | isHit (Obj *obj1, Obj *obj2) |
bool | isCursorAtObj (int objIndex) |
void | initObjects () |
void | initObjects0 () |
void | initObjects1 () |
void | initObjects3 () |
void | initVars () |
void | initVars0 () |
void | initVars1 () |
void | initVars2 () |
void | initVars3 () |
bool | updateStatus (int mouseX, int mouseY, uint mouseButtons) |
bool | updateStatus0 (int mouseX, int mouseY, uint mouseButtons) |
bool | updateStatus1 (int mouseX, int mouseY, uint mouseButtons) |
bool | updateStatus2 (int mouseX, int mouseY, uint mouseButtons) |
bool | updateStatus3 (int mouseX, int mouseY, uint mouseButtons) |
void | updateObjs (uint mouseButtons) |
void | updatePlayer (int objIndex, uint mouseButtons) |
void | updateObjKind2 (int objIndex) |
void | updateLoogie (int objIndex) |
void | updateCar (int objIndex) |
void | updateBike (int objIndex) |
void | updateSquirrel (int objIndex) |
void | updatePaperPlane (int objIndex) |
void | updateIndicator (int objIndex) |
void | updatePrincipal (int objIndex) |
void | incNumberOfHits () |
void | incScore (int incrAmount) |
void | playRndSound () |
void | update () |
void | loadSounds () |
![]() | |
Minigame (BbvsEngine *vm) | |
Public Attributes | |
Obj | _objects [kMaxObjectsCount] |
int | _playerKind |
const ObjAnimation * | _playerAnim |
const uint * | _playerSounds1 |
const uint * | _playerSounds2 |
uint | _playerSounds1Count |
uint | _playerSounds2Count |
int | _level |
int | _levelTimeLeft |
int | _levelTimeDelay |
int | _numberOfHits |
int | _currScore |
int | _hiScore |
int | _doubleScore |
int | _megaLoogieCount |
int | _dispLevelScore |
int | _nextLevelScore |
int | _timeBonusCtr |
int | _bonusDisplayDelay1 |
int | _bonusDisplayDelay2 |
int | _bonusDisplayDelay3 |
int | _carDelay |
int | _bikeDelay |
int | _squirrelDelay |
bool | _squirrelDirection |
int | _paperPlaneDelay |
int | _principalDelay |
int | _prevPrincipalStatus |
int | _principalCtr |
int | _principalFirstFrameIndex |
int | _principalLastFrameIndex |
bool | _principalAngry |
char | _prefix [20] |
Additional Inherited Members | |
![]() | |
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) |
![]() | |
BbvsEngine * | _vm |
SpriteModule * | _spriteModule |
int | _gameState |
int | _gameTicks |
bool | _gameResult |
bool | _gameDone |
bool | _fromMainGame |
int | _hiScoreTable [kMinigameCount] |
int | _backgroundSpriteIndex |
int | _titleScreenSpriteIndex |
const ObjAnimation * | _numbersAnim |