CGE::CGEEngine Class Reference

#include <cge.h>

+ Inheritance diagram for CGE::CGEEngine:
+ Collaboration diagram for CGE::CGEEngine:

Public Member Functions

 CGEEngine (OSystem *syst, const ADGameDescription *gameDescription)
 ~CGEEngine () override
bool hasFeature (EngineFeature f) const override
 Determine whether the engine supports the specified feature. More...
bool canLoadGameStateCurrently () override
 Indicates whether a game state can be loaded. More...
bool canSaveGameStateCurrently () override
 Indicates whether a game state can be saved. More...
Common::Error loadGameState (int slot) override
 Load a game state. More...
Common::Error saveGameState (int slot, const Common::String &desc, bool isAutosave=false) override
 Save a game state. More...
virtual Common::Error run () override
 Init the engine and start its main loop. More...
void cge_main ()
void switchScene (int newScene)
void startCountDown ()
 Shutdown game. More...
void quit ()
void resetQSwitch ()
void optionTouch (int opt, uint16 mask)
void resetGame ()
bool loadGame (int slotNumber, SavegameHeader *header=NULL, bool tiny=false)
void setMapBrick (int x, int z)
void switchMapping ()
void loadSprite (const char *fname, int ref, int scene, int col, int row, int pos)
void loadScript (const char *fname)
void loadUser ()
void runGame ()
bool showTitle (const char *name)
void movie (const char *ext)
void inf (const char *text, bool wideSpace=false)
void selectSound ()
void dummy ()
void NONE ()
void SB ()
void sceneDown ()
void sceneUp ()
void xScene ()
void qGame ()
void SBM ()
void GUS ()
void GUSM ()
void MIDI ()
void AUTO ()
void setPortD ()
void setPortM ()
void setIRQ ()
void setDMA ()
void mainLoop ()
void handleFrame ()
void saveGame (int slotNumber, const Common::String &desc)
void switchMusic ()
 Switch music on/off. More...
void selectPocket (int n)
void expandSprite (Sprite *spr)
void contractSprite (Sprite *spr)
int findPocket (Sprite *spr)
void feedSnail (Sprite *spr, SnList snq)
void pocFul ()
void hide1 (Sprite *spr)
void loadMapping ()
void heroCover (int cvr)
void trouble (int seq, int text)
void offUse ()
void tooFar ()
void loadHeroXY ()
void keyClick ()
void switchColorMode ()
 Switch greyscale mode on/off. More...
void killSprite ()
void switchDebug ()
void miniStep (int stp)
void postMiniStep (int stp)
void showBak (int ref)
void initSceneValues ()
char * mergeExt (char *buf, const char *name, const char *ext)
int takeEnum (const char **tab, const char *text)
int newRandom (int range)
void sndSetVolume ()
Spritelocate (int ref)
SpritespriteAt (int x, int y)
Cluster XZ (int16 x, int16 y)
void killText ()
void snBackPt (Sprite *spr, int stp)
void snHBarrier (const int scene, const int barX)
void snVBarrier (const int scene, const int barY)
void snCover (Sprite *spr, int xref)
void snFlag (int indx, bool v)
void snFlash (bool on)
void snGame (Sprite *spr, int num)
void snGhost (Bitmap *bmp)
void snGive (Sprite *spr, int stp)
void snHide (Sprite *spr, int val)
void snKeep (Sprite *spr, int stp)
void snKill (Sprite *spr)
void snLevel (Sprite *spr, int lev)
void snLight (bool in)
void snMouse (bool on)
void snNNext (Sprite *spr, int p)
void snPort (Sprite *spr, int port)
void snReach (Sprite *spr, int mode)
void snRelZ (Sprite *spr, int z)
void snRNNext (Sprite *spr, int p)
void snRTNext (Sprite *spr, int p)
void snSend (Sprite *spr, int val)
void snRelX (Sprite *spr, int x)
void snRelY (Sprite *spr, int y)
void snRmNear (Sprite *spr)
void snRmTake (Sprite *spr)
void snRSeq (Sprite *spr, int val)
void snSeq (Sprite *spr, int val)
void snSetRef (Sprite *spr, int nr)
void snSetX (Sprite *spr, int x)
void snSetX0 (int scene, int x0)
void snSetXY (Sprite *spr, uint16 xy)
void snSetY (Sprite *spr, int y)
void snSetY0 (int scene, int y0)
void snSetZ (Sprite *spr, int z)
void snSlave (Sprite *spr, int ref)
void snSound (Sprite *spr, int wav)
void snSwap (Sprite *spr, int xref)
void snTNext (Sprite *spr, int p)
void snTrans (Sprite *spr, int trans)
void snUncover (Sprite *spr, Sprite *xspr)
void snWalk (Sprite *spr, int x, int y)
void snZTrim (Sprite *spr)
- Public Member Functions inherited from Engine
 Engine (OSystem *syst)
virtual ~Engine ()
virtual void initializePath (const Common::FSNode &gamePath)
 Init SearchMan according to the game path. More...
virtual void errorString (const char *buf_input, char *buf_output, int buf_output_size)
 Prepare an error string, which is printed by the error() function. More...
virtual GUI::DebuggergetDebugger ()
 Return the engine's debugger instance, if any. More...
void setDebugger (GUI::Debugger *debugger)
 Sets the engine's debugger. More...
GUI::DebuggergetOrCreateDebugger ()
 Return the engine's debugger instance, or create one if none is present. More...
virtual void syncSoundSettings ()
 Notify the engine that the sound settings in the config manager may have changed and that it hence should adjust any internal volume etc. More...
virtual void flipMute ()
 Flip mute all sound option. More...
virtual Common::String getSaveStateName (int slot) const
 Generates the savegame filename. More...
virtual Common::Error loadGameStream (Common::SeekableReadStream *stream)
 Load a game state. More...
void setGameToLoadSlot (int slot)
 Sets the game slot for a savegame to be loaded after global main menu execution. More...
virtual Common::Error saveGameStream (Common::WriteStream *stream, bool isAutosave=false)
 Save a game state. More...
bool saveGameDialog ()
 Shows the ScummVM save dialog, allowing users to save their game. More...
bool loadGameDialog ()
 Shows the ScummVM Restore dialog, allowing users to load a game. More...
void pauseEngine (bool pause)
 Pause or resume the engine. More...
bool isPaused () const
 Return whether the engine is currently paused or not. More...
void openMainMenuDialog ()
 Run the Global Main Menu Dialog. More...
uint32 getTotalPlayTime () const
 Get the total play time. More...
void setTotalPlayTime (uint32 time=0)
 Set the game time counter to the specified time. More...
Common::TimerManagergetTimerManager ()
Common::EventManagergetEventManager ()
Common::SaveFileManagergetSaveFileManager ()
void checkCD ()
 On some systems, check if the game appears to be run from CD. More...
void handleAutoSave ()
 Checks for whether it's time to do an autosave, and if so, does it. More...
void saveAutosaveIfEnabled ()
 Does an autosave immediately if autosaves are turned on. More...
virtual bool canSaveAutosaveCurrently ()
 Indicates whether an autosave can currently be saved. More...
virtual int getAutosaveSlot () const
 Returns the slot that should be used for autosaves. More...
bool shouldPerformAutoSave (int lastSaveTime)

Static Public Member Functions

static WARN_UNUSED_RESULT bool readSavegameHeader (Common::InSaveFile *in, SavegameHeader &header, bool skipThumbnail=true)
- Static Public Member Functions inherited from Engine
static void quitGame ()
 Request the engine to quit. More...
static bool shouldQuit ()
 Return whether the ENGINE should quit respectively should return to the launcher. More...
static MetaEnginegetMetaEngine ()
static bool warnUserAboutUnsupportedGame ()
 Display a warning to the user that the game is not fully supported. More...

Public Attributes

bool _quitFlag
bool _showBoundariesFl
const ADGameDescription_gameDescription
int _startupMode
int _oldLev
int _pocPtr
bool _music
int _pocref [kPocketNX]
uint8 _volume [2]
int _maxScene
bool _flag [4]
bool _dark
bool _game
bool _endGame
int _now
int _lev
int _mode
int _gameCase2Cpt
int _offUseCount
uint8 _clusterMap [kMapZCnt][kMapXCnt]
Common::Point _heroXY [kSceneMax]
Bar _barriers [kSceneMax+1]
Sprite_pocket [kPocketNX]
Common::RandomSource _randomSource
int _startGameSlot
- Public Attributes inherited from Engine

Static Public Attributes

static const int _maxSceneArr [5] = {1, 8, 16, 23, 24}

Protected Attributes

int _recentStep
- Protected Attributes inherited from Engine
const Common::String _targetName

Private Member Functions

void tick ()
void syncHeader (Common::Serializer &s)
void writeSavegameHeader (Common::OutSaveFile *out, SavegameHeader &header)
void syncGame (Common::SeekableReadStream *readStream, Common::WriteStream *writeStream, bool tiny)
bool savegameExists (int slotNumber)
 Returns true if a given savegame exists. More...
void init ()
void deinit ()

Private Attributes

uint32 _lastFrame
uint32 _lastTick

Additional Inherited Members

- Public Types inherited from Engine
enum  EngineFeature { kSupportsSubtitleOptions, kSupportsRTL, kSupportsLoadingDuringRuntime, kSupportsSavingDuringRuntime }
 A feature in this context means an ability of the engine which can be either available or not. More...
- Protected Member Functions inherited from Engine
virtual int runDialog (GUI::Dialog &dialog)
virtual void pauseEngineIntern (bool pause)
 Actual implementation of pauseEngine by subclasses. More...

Detailed Description

Definition at line 128 of file cge.h.

Constructor & Destructor Documentation

◆ CGEEngine()

CGE::CGEEngine::CGEEngine ( OSystem syst,
const ADGameDescription gameDescription 

Definition at line 45 of file cge.cpp.

◆ ~CGEEngine()

CGE::CGEEngine::~CGEEngine ( )

Definition at line 206 of file cge.cpp.

Member Function Documentation

◆ AUTO()

void CGE::CGEEngine::AUTO ( )

◆ canLoadGameStateCurrently()

bool CGE::CGEEngine::canLoadGameStateCurrently ( )

Indicates whether a game state can be loaded.

Reimplemented from Engine.

Definition at line 249 of file cge.cpp.

◆ canSaveGameStateCurrently()

bool CGE::CGEEngine::canSaveGameStateCurrently ( )

Indicates whether a game state can be saved.

Reimplemented from Engine.

Definition at line 253 of file cge.cpp.

◆ cge_main()

void CGE::CGEEngine::cge_main ( )

Definition at line 1518 of file cge_main.cpp.

◆ contractSprite()

void CGE::CGEEngine::contractSprite ( Sprite spr)

◆ deinit()

void CGE::CGEEngine::deinit ( )

Definition at line 171 of file cge.cpp.

◆ dummy()

void CGE::CGEEngine::dummy ( )

Definition at line 227 of file cge.h.

◆ expandSprite()

void CGE::CGEEngine::expandSprite ( Sprite spr)

◆ feedSnail()

void CGE::CGEEngine::feedSnail ( Sprite spr,
SnList  snq 

◆ findPocket()

int CGE::CGEEngine::findPocket ( Sprite spr)

◆ GUS()

void CGE::CGEEngine::GUS ( )

◆ GUSM()

void CGE::CGEEngine::GUSM ( )

◆ handleFrame()

void CGE::CGEEngine::handleFrame ( )

Definition at line 1270 of file cge_main.cpp.

◆ hasFeature()

bool CGE::CGEEngine::hasFeature ( EngineFeature  f) const

Determine whether the engine supports the specified feature.

Reimplemented from Engine.

Definition at line 242 of file cge.cpp.

◆ heroCover()

void CGE::CGEEngine::heroCover ( int  cvr)

Definition at line 459 of file cge_main.cpp.

◆ hide1()

void CGE::CGEEngine::hide1 ( Sprite spr)

◆ inf()

void CGE::CGEEngine::inf ( const char *  text,
bool  wideSpace = false 

Definition at line 184 of file text.cpp.

◆ init()

void CGE::CGEEngine::init ( void  )

Definition at line 128 of file cge.cpp.

◆ initSceneValues()

void CGE::CGEEngine::initSceneValues ( )

Definition at line 116 of file cge.cpp.

◆ keyClick()

void CGE::CGEEngine::keyClick ( )

Definition at line 553 of file cge_main.cpp.

◆ killSprite()

void CGE::CGEEngine::killSprite ( )

Definition at line 911 of file cge_main.cpp.

◆ killText()

void CGE::CGEEngine::killText ( )

Definition at line 1247 of file cge_main.cpp.

◆ loadGame()

bool CGE::CGEEngine::loadGame ( int  slotNumber,
SavegameHeader header = NULL,
bool  tiny = false 

Definition at line 194 of file cge_main.cpp.

◆ loadGameState()

Common::Error CGE::CGEEngine::loadGameState ( int  slot)

Load a game state.

slotthe slot from which a savestate should be loaded
returns kNoError on success, else an error code.

Reimplemented from Engine.

Definition at line 268 of file cge_main.cpp.

◆ loadHeroXY()

void CGE::CGEEngine::loadHeroXY ( )

Definition at line 488 of file cge_main.cpp.

◆ loadMapping()

void CGE::CGEEngine::loadMapping ( )

Definition at line 506 of file cge_main.cpp.

◆ loadScript()

void CGE::CGEEngine::loadScript ( const char *  fname)

Definition at line 1150 of file cge_main.cpp.

◆ loadSprite()

void CGE::CGEEngine::loadSprite ( const char *  fname,
int  ref,
int  scene,
int  col = 0,
int  row = 0,
int  pos = 0 

Definition at line 1022 of file cge_main.cpp.

◆ loadUser()

void CGE::CGEEngine::loadUser ( )

Definition at line 1307 of file cge_main.cpp.

◆ locate()

Sprite * CGE::CGEEngine::locate ( int  ref)

Definition at line 1219 of file cge_main.cpp.

◆ mainLoop()

void CGE::CGEEngine::mainLoop ( )

Definition at line 1255 of file cge_main.cpp.

◆ mergeExt()

char * CGE::CGEEngine::mergeExt ( char *  buf,
const char *  name,
const char *  ext 

Definition at line 118 of file cge_main.cpp.

◆ MIDI()

void CGE::CGEEngine::MIDI ( )

◆ miniStep()

void CGE::CGEEngine::miniStep ( int  stp)

Definition at line 589 of file cge_main.cpp.

◆ movie()

void CGE::CGEEngine::movie ( const char *  ext)

Definition at line 1440 of file cge_main.cpp.

◆ newRandom()

int CGE::CGEEngine::newRandom ( int  range)

Definition at line 138 of file cge_main.cpp.

◆ NONE()

void CGE::CGEEngine::NONE ( )

◆ offUse()

void CGE::CGEEngine::offUse ( )

Definition at line 476 of file cge_main.cpp.

◆ optionTouch()

void CGE::CGEEngine::optionTouch ( int  opt,
uint16  mask 

Definition at line 920 of file cge_main.cpp.

◆ pocFul()

void CGE::CGEEngine::pocFul ( )

◆ postMiniStep()

void CGE::CGEEngine::postMiniStep ( int  stp)

Definition at line 600 of file cge_main.cpp.

◆ qGame()

void CGE::CGEEngine::qGame ( )

Definition at line 709 of file cge_main.cpp.

◆ quit()

void CGE::CGEEngine::quit ( void  )

Definition at line 566 of file cge_main.cpp.

◆ readSavegameHeader()

WARN_UNUSED_RESULT bool CGE::CGEEngine::readSavegameHeader ( Common::InSaveFile in,
SavegameHeader header,
bool  skipThumbnail = true 

Definition at line 419 of file cge_main.cpp.

◆ resetGame()

void CGE::CGEEngine::resetGame ( )

Definition at line 288 of file cge_main.cpp.

◆ resetQSwitch()

void CGE::CGEEngine::resetQSwitch ( )

Definition at line 559 of file cge_main.cpp.

◆ run()

Common::Error CGE::CGEEngine::run ( )

Init the engine and start its main loop.

returns kNoError on success, else an error code.

Implements Engine.

Definition at line 210 of file cge.cpp.

◆ runGame()

void CGE::CGEEngine::runGame ( )

Definition at line 1321 of file cge_main.cpp.

◆ saveGame()

void CGE::CGEEngine::saveGame ( int  slotNumber,
const Common::String desc 

Definition at line 316 of file cge_main.cpp.

◆ savegameExists()

bool CGE::CGEEngine::savegameExists ( int  slotNumber)

Returns true if a given savegame exists.

Definition at line 259 of file cge_main.cpp.

◆ saveGameState()

Common::Error CGE::CGEEngine::saveGameState ( int  slot,
const Common::String desc,
bool  isAutosave = false 

Save a game state.

slotthe slot into which the savestate should be stored
desca description for the savestate, entered by the user
isAutosaveExpected to be true if an autosave is being created
returns kNoError on success, else an error code.

Reimplemented from Engine.

Definition at line 293 of file cge_main.cpp.

◆ SB()

void CGE::CGEEngine::SB ( )

◆ SBM()

void CGE::CGEEngine::SBM ( )

◆ sceneDown()

void CGE::CGEEngine::sceneDown ( )

Definition at line 683 of file cge_main.cpp.

◆ sceneUp()

void CGE::CGEEngine::sceneUp ( )

Definition at line 623 of file cge_main.cpp.

◆ selectPocket()

void CGE::CGEEngine::selectPocket ( int  n)

◆ selectSound()

void CGE::CGEEngine::selectSound ( )

◆ setDMA()

void CGE::CGEEngine::setDMA ( )

◆ setIRQ()

void CGE::CGEEngine::setIRQ ( )

◆ setMapBrick()

void CGE::CGEEngine::setMapBrick ( int  x,
int  z 

Definition at line 541 of file cge_main.cpp.

◆ setPortD()

void CGE::CGEEngine::setPortD ( )

◆ setPortM()

void CGE::CGEEngine::setPortM ( )

◆ showBak()

void CGE::CGEEngine::showBak ( int  ref)

Definition at line 607 of file cge_main.cpp.

◆ showTitle()

bool CGE::CGEEngine::showTitle ( const char *  name)

Definition at line 1466 of file cge_main.cpp.

◆ snBackPt()

void CGE::CGEEngine::snBackPt ( Sprite spr,
int  stp 

◆ snCover()

void CGE::CGEEngine::snCover ( Sprite spr,
int  xref 

◆ sndSetVolume()

void CGE::CGEEngine::sndSetVolume ( )

Definition at line 145 of file cge_main.cpp.

◆ snFlag()

void CGE::CGEEngine::snFlag ( int  indx,
bool  v 

◆ snFlash()

void CGE::CGEEngine::snFlash ( bool  on)

◆ snGame()

void CGE::CGEEngine::snGame ( Sprite spr,
int  num 

◆ snGhost()

void CGE::CGEEngine::snGhost ( Bitmap bmp)

◆ snGive()

void CGE::CGEEngine::snGive ( Sprite spr,
int  stp 

◆ snHBarrier()

void CGE::CGEEngine::snHBarrier ( const int  scene,
const int  barX 

◆ snHide()

void CGE::CGEEngine::snHide ( Sprite spr,
int  val 

◆ snKeep()

void CGE::CGEEngine::snKeep ( Sprite spr,
int  stp 

◆ snKill()

void CGE::CGEEngine::snKill ( Sprite spr)

◆ snLevel()

void CGE::CGEEngine::snLevel ( Sprite spr,
int  lev 

◆ snLight()

void CGE::CGEEngine::snLight ( bool  in)

◆ snMouse()

void CGE::CGEEngine::snMouse ( bool  on)

◆ snNNext()

void CGE::CGEEngine::snNNext ( Sprite spr,
int  p 

◆ snPort()

void CGE::CGEEngine::snPort ( Sprite spr,
int  port 

◆ snReach()

void CGE::CGEEngine::snReach ( Sprite spr,
int  mode 

◆ snRelX()

void CGE::CGEEngine::snRelX ( Sprite spr,
int  x 

◆ snRelY()

void CGE::CGEEngine::snRelY ( Sprite spr,
int  y 

◆ snRelZ()

void CGE::CGEEngine::snRelZ ( Sprite spr,
int  z 

◆ snRmNear()

void CGE::CGEEngine::snRmNear ( Sprite spr)

◆ snRmTake()

void CGE::CGEEngine::snRmTake ( Sprite spr)

◆ snRNNext()

void CGE::CGEEngine::snRNNext ( Sprite spr,
int  p 

◆ snRSeq()

void CGE::CGEEngine::snRSeq ( Sprite spr,
int  val 

◆ snRTNext()

void CGE::CGEEngine::snRTNext ( Sprite spr,
int  p 

◆ snSend()

void CGE::CGEEngine::snSend ( Sprite spr,
int  val 

◆ snSeq()

void CGE::CGEEngine::snSeq ( Sprite spr,
int  val 

◆ snSetRef()

void CGE::CGEEngine::snSetRef ( Sprite spr,
int  nr 

◆ snSetX()

void CGE::CGEEngine::snSetX ( Sprite spr,
int  x 

◆ snSetX0()

void CGE::CGEEngine::snSetX0 ( int  scene,
int  x0 

◆ snSetXY()

void CGE::CGEEngine::snSetXY ( Sprite spr,
uint16  xy 

◆ snSetY()

void CGE::CGEEngine::snSetY ( Sprite spr,
int  y 

◆ snSetY0()

void CGE::CGEEngine::snSetY0 ( int  scene,
int  y0 

◆ snSetZ()

void CGE::CGEEngine::snSetZ ( Sprite spr,
int  z 

◆ snSlave()

void CGE::CGEEngine::snSlave ( Sprite spr,
int  ref 

◆ snSound()

void CGE::CGEEngine::snSound ( Sprite spr,
int  wav 

◆ snSwap()

void CGE::CGEEngine::snSwap ( Sprite spr,
int  xref 

◆ snTNext()

void CGE::CGEEngine::snTNext ( Sprite spr,
int  p 

◆ snTrans()

void CGE::CGEEngine::snTrans ( Sprite spr,
int  trans 

◆ snUncover()

void CGE::CGEEngine::snUncover ( Sprite spr,
Sprite xspr 

◆ snVBarrier()

void CGE::CGEEngine::snVBarrier ( const int  scene,
const int  barY 

◆ snWalk()

void CGE::CGEEngine::snWalk ( Sprite spr,
int  x,
int  y 

◆ snZTrim()

void CGE::CGEEngine::snZTrim ( Sprite spr)

◆ spriteAt()

Sprite * CGE::CGEEngine::spriteAt ( int  x,
int  y 

Definition at line 1224 of file cge_main.cpp.

◆ startCountDown()

void CGE::CGEEngine::startCountDown ( )

Shutdown game.

Definition at line 886 of file cge_main.cpp.

◆ switchColorMode()

void CGE::CGEEngine::switchColorMode ( )

Switch greyscale mode on/off.

Definition at line 860 of file cge_main.cpp.

◆ switchDebug()

void CGE::CGEEngine::switchDebug ( )

◆ switchMapping()

void CGE::CGEEngine::switchMapping ( )

Definition at line 892 of file cge_main.cpp.

◆ switchMusic()

void CGE::CGEEngine::switchMusic ( )

Switch music on/off.

Definition at line 871 of file cge_main.cpp.

◆ switchScene()

void CGE::CGEEngine::switchScene ( int  newScene)

Definition at line 723 of file cge_main.cpp.

◆ syncGame()

void CGE::CGEEngine::syncGame ( Common::SeekableReadStream readStream,
Common::WriteStream writeStream,
bool  tiny 

Definition at line 368 of file cge_main.cpp.

◆ syncHeader()

void CGE::CGEEngine::syncHeader ( Common::Serializer s)

Definition at line 149 of file cge_main.cpp.

◆ takeEnum()

int CGE::CGEEngine::takeEnum ( const char **  tab,
const char *  text 

Definition at line 127 of file cge_main.cpp.

◆ tick()

void CGE::CGEEngine::tick ( )

Definition at line 1296 of file cge_main.cpp.

◆ tooFar()

void CGE::CGEEngine::tooFar ( )

Definition at line 482 of file cge_main.cpp.

◆ trouble()

void CGE::CGEEngine::trouble ( int  seq,
int  text 

Definition at line 465 of file cge_main.cpp.

◆ writeSavegameHeader()

void CGE::CGEEngine::writeSavegameHeader ( Common::OutSaveFile out,
SavegameHeader header 

Definition at line 335 of file cge_main.cpp.

◆ xScene()

void CGE::CGEEngine::xScene ( )

Definition at line 700 of file cge_main.cpp.

◆ XZ()

Cluster CGE::CGEEngine::XZ ( int16  x,
int16  y 

Definition at line 1237 of file cge_main.cpp.

Member Data Documentation

◆ _barriers

Bar CGE::CGEEngine::_barriers[kSceneMax+1]

Definition at line 175 of file cge.h.

◆ _bitmapPalette

Dac* CGE::CGEEngine::_bitmapPalette

Definition at line 166 of file cge.h.

◆ _clusterMap

uint8 CGE::CGEEngine::_clusterMap[kMapZCnt][kMapXCnt]

Definition at line 167 of file cge.h.

◆ _commandHandler

CommandHandler* CGE::CGEEngine::_commandHandler

Definition at line 189 of file cge.h.

◆ _commandHandlerTurbo

CommandHandler* CGE::CGEEngine::_commandHandlerTurbo

Definition at line 190 of file cge.h.

◆ _dark

bool CGE::CGEEngine::_dark

Definition at line 158 of file cge.h.

◆ _debugLine

InfoLine* CGE::CGEEngine::_debugLine

Definition at line 187 of file cge.h.

◆ _endGame

bool CGE::CGEEngine::_endGame

Definition at line 160 of file cge.h.

◆ _eventManager

EventManager* CGE::CGEEngine::_eventManager

Definition at line 191 of file cge.h.

◆ _flag

bool CGE::CGEEngine::_flag[4]

Definition at line 157 of file cge.h.

◆ _font

Font* CGE::CGEEngine::_font

Definition at line 176 of file cge.h.

◆ _fx

Fx* CGE::CGEEngine::_fx

Definition at line 192 of file cge.h.

◆ _game

bool CGE::CGEEngine::_game

Definition at line 159 of file cge.h.

◆ _gameCase2Cpt

int CGE::CGEEngine::_gameCase2Cpt

Definition at line 164 of file cge.h.

◆ _gameDescription

const ADGameDescription* CGE::CGEEngine::_gameDescription

Definition at line 149 of file cge.h.

◆ _hero

Walk* CGE::CGEEngine::_hero

Definition at line 196 of file cge.h.

◆ _heroXY

Common::Point CGE::CGEEngine::_heroXY[kSceneMax]

Definition at line 174 of file cge.h.

◆ _horzLine

HorizLine* CGE::CGEEngine::_horzLine

Definition at line 185 of file cge.h.

◆ _infoLine

InfoLine* CGE::CGEEngine::_infoLine

Definition at line 186 of file cge.h.

◆ _keyboard

Keyboard* CGE::CGEEngine::_keyboard

Definition at line 180 of file cge.h.

◆ _lastFrame

uint32 CGE::CGEEngine::_lastFrame

Definition at line 130 of file cge.h.

◆ _lastTick

uint32 CGE::CGEEngine::_lastTick

Definition at line 130 of file cge.h.

◆ _lev

int CGE::CGEEngine::_lev

Definition at line 162 of file cge.h.

◆ _maxScene

int CGE::CGEEngine::_maxScene

Definition at line 156 of file cge.h.

◆ _maxSceneArr

const int CGE::CGEEngine::_maxSceneArr = {1, 8, 16, 23, 24}

Definition at line 145 of file cge.h.

◆ _midiPlayer

MusicPlayer* CGE::CGEEngine::_midiPlayer

Definition at line 202 of file cge.h.

◆ _miniScene

Sprite* CGE::CGEEngine::_miniScene

Definition at line 183 of file cge.h.

◆ _miniShp

BitmapPtr* CGE::CGEEngine::_miniShp

Definition at line 203 of file cge.h.

◆ _miniShpList

BitmapPtr* CGE::CGEEngine::_miniShpList

Definition at line 204 of file cge.h.

◆ _mode

int CGE::CGEEngine::_mode

Definition at line 163 of file cge.h.

◆ _mouse

Mouse* CGE::CGEEngine::_mouse

Definition at line 181 of file cge.h.

◆ _music

bool CGE::CGEEngine::_music

Definition at line 153 of file cge.h.

◆ _now

int CGE::CGEEngine::_now

Definition at line 161 of file cge.h.

◆ _offUseCount

int CGE::CGEEngine::_offUseCount

Definition at line 165 of file cge.h.

◆ _oldLev

int CGE::CGEEngine::_oldLev

Definition at line 151 of file cge.h.

◆ _pocket

Sprite* CGE::CGEEngine::_pocket[kPocketNX]

Definition at line 195 of file cge.h.

◆ _pocLight

Sprite* CGE::CGEEngine::_pocLight

Definition at line 179 of file cge.h.

◆ _pocPtr

int CGE::CGEEngine::_pocPtr

Definition at line 152 of file cge.h.

◆ _pocref

int CGE::CGEEngine::_pocref[kPocketNX]

Definition at line 154 of file cge.h.

◆ _quitFlag

bool CGE::CGEEngine::_quitFlag

Definition at line 146 of file cge.h.

◆ _randomSource

Common::RandomSource CGE::CGEEngine::_randomSource

Definition at line 201 of file cge.h.

◆ _recentStep

int CGE::CGEEngine::_recentStep

Definition at line 322 of file cge.h.

◆ _resman

ResourceManager* CGE::CGEEngine::_resman

Definition at line 194 of file cge.h.

◆ _sceneLight

SceneLight* CGE::CGEEngine::_sceneLight

Definition at line 188 of file cge.h.

◆ _shadow

Sprite* CGE::CGEEngine::_shadow

Definition at line 184 of file cge.h.

◆ _showBoundariesFl

bool CGE::CGEEngine::_showBoundariesFl

Definition at line 147 of file cge.h.

◆ _sound

Sound* CGE::CGEEngine::_sound

Definition at line 193 of file cge.h.

◆ _sprite

Sprite* CGE::CGEEngine::_sprite

Definition at line 182 of file cge.h.

◆ _sprK1

Sprite* CGE::CGEEngine::_sprK1

Definition at line 170 of file cge.h.

◆ _sprK2

Sprite* CGE::CGEEngine::_sprK2

Definition at line 171 of file cge.h.

◆ _sprK3

Sprite* CGE::CGEEngine::_sprK3

Definition at line 172 of file cge.h.

◆ _sprTv

Sprite* CGE::CGEEngine::_sprTv

Definition at line 169 of file cge.h.

◆ _startGameSlot

int CGE::CGEEngine::_startGameSlot

Definition at line 205 of file cge.h.

◆ _startupMode

int CGE::CGEEngine::_startupMode

Definition at line 150 of file cge.h.

◆ _sys

System* CGE::CGEEngine::_sys

Definition at line 178 of file cge.h.

◆ _talk

Talk* CGE::CGEEngine::_talk

Definition at line 198 of file cge.h.

◆ _text

Text* CGE::CGEEngine::_text

Definition at line 197 of file cge.h.

◆ _vga

Vga* CGE::CGEEngine::_vga

Definition at line 177 of file cge.h.

◆ _volume

uint8 CGE::CGEEngine::_volume[2]

Definition at line 155 of file cge.h.

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