|
| enum | { kMaxObjectsCount = 256
} |
| |
| enum | { kGSTitleScreen = 0,
kGSMainGame = 1,
kGSStandaloneGame = 2,
kGSScoreCountUp = 3
} |
| |
|
|
| MinigameBbTennis (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 | drawSprites () |
| |
|
void | initObjs () |
| |
|
Obj * | getFreeObject () |
| |
|
Obj * | findTennisBall (int startObjIndex) |
| |
|
bool | isHit (Obj *obj1, Obj *obj2) |
| |
|
void | initObjects () |
| |
|
void | initObjects0 () |
| |
|
void | initObjects1 () |
| |
|
void | initObjects2 () |
| |
|
void | initVars () |
| |
|
void | initVars0 () |
| |
|
void | initVars1 () |
| |
|
void | initVars2 () |
| |
|
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) |
| |
|
void | updateObjs () |
| |
|
void | updateTennisBall (int objIndex) |
| |
|
void | updateSquirrel (int objIndex) |
| |
|
void | updateTennisPlayer (int objIndex) |
| |
|
void | updateThrower (int objIndex) |
| |
|
void | updateNetPlayer (int objIndex) |
| |
|
void | updateEnemyTennisBall (int objIndex) |
| |
|
void | makeEnemyBall (int x, int y, int frameIndex) |
| |
|
void | hitSomething () |
| |
|
void | update () |
| |
|
void | loadSounds () |
| |
|
| Minigame (BbvsEngine *vm) |
| |
|
|
Obj | _objects [kMaxObjectsCount] |
| |
|
int | _numHearts |
| |
|
int | _squirrelDelay |
| |
|
int | _tennisPlayerDelay |
| |
|
int | _throwerDelay |
| |
|
int | _netPlayerDelay |
| |
|
int | _playerDecrease |
| |
|
int | _delayDecreaseTimer |
| |
|
int | _numBalls |
| |
|
int | _newBallTimer |
| |
|
int | _initBallTimer |
| |
|
int | _maxBalls |
| |
|
int | _rapidFireBallsCount |
| |
|
int | _score |
| |
|
int | _hiScore |
| |
|
int | _hitMissRatio |
| |
|
bool | _allHeartsGone |
| |
|
bool | _playedThisIsTheCoolest |
| |
|
bool | _startSoundPlayed |
| |
|
bool | _endSoundPlaying |
| |
|
|
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 |
| |
The documentation for this class was generated from the following file: