ScummVM API documentation
Alg::GameMaddog2 Class Reference
Inheritance diagram for Alg::GameMaddog2:
Alg::Game

Public Member Functions

 GameMaddog2 (AlgEngine *vm, const AlgGameDescription *gd)
 
Common::Error run () override
 
void debugWarpTo (int val)
 
- Public Member Functions inherited from Alg::Game
 Game (AlgEngine *vm)
 
bool debug_dumpLibFile ()
 
void runCursorTimer ()
 

Additional Inherited Members

- Public Attributes inherited from Alg::Game
bool _debug_drawRects = false
 
bool _debug_godMode = false
 
bool _debug_unlimitedAmmo = false
 
- Protected Member Functions inherited from Alg::Game
void shutdown ()
 
bool pollEvents ()
 
void loadLibArchive (const Common::Path &path)
 
Audio::SeekableAudioStreamloadSoundFile (const Common::Path &path)
 
void playSound (Audio::SeekableAudioStream *stream)
 
bool loadScene (Scene *scene)
 
void updateScreen ()
 
uint32 getMsTime ()
 
bool fired (Common::Point *point)
 
RectcheckZone (Zone *zone, Common::Point *point)
 
ZonecheckZonesV1 (Scene *scene, Rect *&hitRect, Common::Point *point)
 
ZonecheckZonesV2 (Scene *scene, Rect *&hitRect, Common::Point *point)
 
uint32 getFrame (Scene *scene)
 
void adjustDifficulty (uint8 newDifficulty, uint8 oldDifficulty)
 
int8 skipToNewScene (Scene *scene)
 
uint16 randomUnusedInt (uint8 max, uint16 *mask, uint16 exclude)
 
void debug_drawZoneRects ()
 
void doDiffSound (uint8 difficulty)
 
void doSaveSound ()
 
void doLoadSound ()
 
void doSkullSound ()
 
void doShot ()
 
void setupCursorTimer ()
 
void removeCursorTimer ()
 
void zoneGlobalHit (Common::Point *point)
 
void rectHitDoNothing (Rect *rect)
 
void rectNewScene (Rect *rect)
 
void rectExit (Rect *rect)
 
void rectEasy (Rect *rect)
 
void rectAverage (Rect *rect)
 
void rectHard (Rect *rect)
 
void scenePsoDrawRct (Scene *scene)
 
void scenePsoPause (Scene *scene)
 
void scenePsoDrawRctFadeIn (Scene *scene)
 
void scenePsoFadeIn (Scene *scene)
 
void scenePsoPauseFadeIn (Scene *scene)
 
void scenePsoPreRead (Scene *scene)
 
void scenePsoPausePreRead (Scene *scene)
 
void sceneIsoDoNothing (Scene *scene)
 
void sceneIsoStartGame (Scene *scene)
 
void sceneIsoPause (Scene *scene)
 
void sceneNxtscnDoNothing (Scene *scene)
 
void sceneDefaultNxtscn (Scene *scene)
 
void sceneSmDonothing (Scene *scene)
 
void sceneDefaultScore (Scene *scene)
 
void sceneNxtfrm (Scene *scene)
 
- Protected Attributes inherited from Alg::Game
AlgEngine_vm
 
AlgVideoDecoder_videoDecoder
 
SceneInfo_sceneInfo
 
Common::RandomSource_rnd
 
Common::File _libFile
 
Common::HashMap< Common::String, uint32 > _libFileEntries
 
uint8 * _palette
 
bool _paletteDirty
 
Graphics::Surface_background
 
Graphics::Surface_screen
 
Common::Array< Graphics::Surface * > * _gun
 
Common::Array< Graphics::Surface * > * _numbers
 
Audio::SeekableAudioStream_saveSound = nullptr
 
Audio::SeekableAudioStream_loadSound = nullptr
 
Audio::SeekableAudioStream_easySound = nullptr
 
Audio::SeekableAudioStream_avgSound = nullptr
 
Audio::SeekableAudioStream_hardSound = nullptr
 
Audio::SeekableAudioStream_skullSound = nullptr
 
Audio::SeekableAudioStream_shotSound = nullptr
 
Audio::SeekableAudioStream_emptySound = nullptr
 
Audio::SoundHandle _sfxAudioHandle
 
Zone_menuzone
 
Zone_submenzone
 
bool _leftDown = false
 
bool _rightDown = false
 
Common::Point _mousePos
 
const uint32 _pauseDiffScale [3] = {0x10000, 0x8000, 0x4000}
 
const uint32 _rectDiffScale [3] = {0x10000, 0x0C000, 0x8000}
 
bool _buttonDown = false
 
uint8 _difficulty = 1
 
uint8 _emptyCount = 0
 
bool _fired = false
 
uint32 _currentFrame
 
bool _gameInProgress = false
 
uint32 _thisGameTimer = 0
 
bool _hadPause = false
 
bool _holster = false
 
bool _inMenu = false
 
uint8 _inHolster = 0
 
int8 _lives = 0
 
long int _minF
 
long int _maxF
 
uint8 _oldWhichGun = 0xFF
 
uint8 _oldDifficulty = 1
 
int8 _oldLives = 0
 
int32 _oldScore = -1
 
uint8 _oldShots = 0
 
uint32 _pauseTime = 0
 
bool _sceneSkipped = false
 
int32 _score = 0
 
bool _shotFired = false
 
uint16 _shots = 0
 
uint32 _videoFrameSkip = 3
 
uint32 _nextFrameTime = 0
 
uint16 _videoPosX
 
uint16 _videoPosY
 
uint8 _whichGun = 0
 
Common::String _curScene
 
Common::String _subScene
 
Common::String _retScene
 
Common::String _lastScene
 
Common::String _startScene
 

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