ScummVM
Kyra::EoBCoreEngine Class Referenceabstract

#include <eobcommon.h>

Inheritance diagram for Kyra::EoBCoreEngine:
Collaboration diagram for Kyra::EoBCoreEngine:

Classes

struct  EoBSpell
 
struct  WallOfForce
 

Public Member Functions

 EoBCoreEngine (OSystem *system, const GameFlags &flags)
 
virtual ~EoBCoreEngine ()
 
virtual void initKeymap ()
 
Screenscreen ()
 
GUIgui () const
 
- Public Member Functions inherited from Kyra::KyraRpgEngine
 KyraRpgEngine (OSystem *system, const GameFlags &flags)
 
virtual ~KyraRpgEngine ()
 
- Public Member Functions inherited from Kyra::KyraEngine_v1
 KyraEngine_v1 (OSystem *system, const GameFlags &flags)
 
virtual ~KyraEngine_v1 ()
 
uint8 game () const
 
const GameFlagsgameFlags () const
 
Resourceresource ()
 
virtual TextDisplayertext ()
 
Soundsound ()
 
StaticResourcestaticres ()
 
TimerManagertimer ()
 
uint32 tickLength () const
 
void setMousePos (int x, int y)
 
Common::Point getMousePos ()
 
bool speechEnabled ()
 
bool textEnabled ()
 
void setVolume (kVolumeEntry vol, uint8 value)
 
uint8 getVolume (kVolumeEntry vol)
 
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...
 
int setGameFlag (int flag)
 
int queryGameFlag (int flag) const
 
int resetGameFlag (int flag)
 
virtual void snd_playTheme (int file, int track)
 
virtual void snd_playWanderScoreViaMap (int command, int restart)
 
virtual bool snd_voiceIsPlaying ()
 
virtual void snd_stopVoice ()
 
virtual void delayWithTicks (int ticks)
 
- Public Member Functions inherited from Engine
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...
 
 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 void deinitKeymap ()
 
virtual void flipMute ()
 Flip mute all sound option. More...
 
void setGameToLoadSlot (int slot)
 Sets the game slot for a savegame to be loaded after global main menu execution. More...
 

Protected Types

typedef void(EoBCoreEngine::* SpellStartCallback) ()
 
typedef bool(EoBCoreEngine::* SpellEndCallback) (void *obj)
 
- Protected Types inherited from Kyra::KyraRpgEngine
typedef Common::Functor2Mem< uint8 *&, const uint8 *&, void, KyraRpgEngineVcnDrawProc
 
- Protected Types inherited from Kyra::KyraEngine_v1
enum  ReadSaveHeaderError { kRSHENoError = 0, kRSHEInvalidType = 1, kRSHEInvalidVersion = 2, kRSHEIoError = 3 }
 
typedef Common::HashMap< Common::KeyCode, int16, KeyCodeHashKeyMap
 

Protected Member Functions

virtual Common::Error init ()
 
Common::Error go ()
 
virtual int mainMenu ()=0
 
virtual void seq_xdeath ()
 
virtual void seq_playFinale ()=0
 
void loadItemsAndDecorationsShapes ()
 
void releaseItemsAndDecorationsShapes ()
 
void initButtonData ()
 
void initMenus ()
 
void initStaticResource ()
 
virtual void initSpells ()
 
void registerDefaultSettings ()
 
void readSettings ()
 
void writeSettings ()
 
virtual void startupNew ()
 
virtual void startupLoad ()=0
 
void runLoop ()
 
void update ()
 
bool checkPartyStatus (bool handleDeath)
 
bool startCharacterGeneration ()
 
bool startPartyTransfer ()
 
void setupTimers ()
 
virtual void enableSysTimer (int sysTimer)
 
virtual void disableSysTimer (int sysTimer)
 
void setCharEventTimer (int charIndex, uint32 countdown, int evnt, int updateExistingTimer)
 
void deleteCharEventTimer (int charIndex, int evnt)
 
void setupCharacterTimers ()
 
void advanceTimers (uint32 millis)
 
void timerProcessMonsters (int timerNum)
 
void timerSpecialCharacterUpdate (int timerNum)
 
void timerProcessFlyingObjects (int timerNum)
 
void timerProcessCharacterExchange (int timerNum)
 
void timerUpdateTeleporters (int timerNum)
 
void timerUpdateFoodStatus (int timerNum)
 
void timerUpdateMonsterIdleAnim (int timerNum)
 
uint8 getClock2Timer (int index)
 
uint8 getNumClock2Timers ()
 
void setHandItem (Item itemIndex)
 
int getDexterityArmorClassModifier (int dexterity)
 
int generateCharacterHitpointsByLevel (int charIndex, int levelIndex)
 
int getClassAndConstHitpointsModifier (int cclass, int constitution)
 
int getCharacterClassType (int cclass, int levelIndex)
 
int getModifiedHpLimits (int hpModifier, int constModifier, int level, bool mode)
 
Common::String getCharStrength (int str, int strExt)
 
int testCharacter (int16 index, int flags)
 
int getNextValidCharIndex (int curCharIndex, int searchStep)
 
void recalcArmorClass (int index)
 
int validateWeaponSlotItem (int index, int slot)
 
int getClericPaladinLevel (int index)
 
int getMageLevel (int index)
 
int getCharacterLevelIndex (int type, int cClass)
 
int countCharactersWithSpecificItems (int16 itemType, int16 itemValue)
 
int checkInventoryForItem (int character, int16 itemType, int16 itemValue)
 
void modifyCharacterHitpoints (int character, int16 points)
 
void neutralizePoison (int character)
 
void npcSequence (int npcIndex)
 
virtual void drawNpcScene (int npcIndex)=0
 
virtual void runNpcDialogue (int npcIndex)=0
 
void initNpc (int npcIndex)
 
int npcJoinDialogue (int npcIndex, int queryJoinTextId, int confirmJoinTextId, int noJoinTextId)
 
int prepareForNewPartyMember (int16 itemType, int16 itemValue)
 
void dropCharacter (int charIndex)
 
void removeCharacterFromParty (int charIndex)
 
void exchangeCharacters (int charIndex1, int charIndex2)
 
void increasePartyExperience (int16 points)
 
void increaseCharacterExperience (int charIndex, int32 points)
 
uint32 getRequiredExperience (int cClass, int levelIndex, int level)
 
void increaseCharacterLevel (int charIndex, int levelIndex)
 
void setWeaponSlotStatus (int charIndex, int mode, int slot)
 
void loadItemDefs ()
 
Item duplicateItem (Item itemIndex)
 
void setItemPosition (Item *itemQueue, int block, Item item, int pos)
 
Item createItemOnCurrentBlock (Item itemIndex)
 
void createInventoryItem (EoBCharacter *c, Item itemIndex, int16 itemValue, int preferedInventorySlot)
 
int deleteInventoryItem (int charIndex, int slot)
 
void deleteBlockItem (uint16 block, int type)
 
int validateInventorySlotForItem (Item item, int charIndex, int slot)
 
int stripPartyItems (int16 itemType, int16 itemValue, int handleValueMode, int numItems)
 
bool deletePartyItems (int16 itemType, int16 itemValue)
 
virtual void updateUsedCharacterHandItem (int charIndex, int slot)=0
 
int itemUsableByCharacter (int charIndex, Item item)
 
int countQueuedItems (Item itemQueue, int16 id, int16 type, int count, int includeFlyingItems)
 
int getQueuedItem (Item *items, int pos, int id)
 
void printFullItemName (Item item)
 
void identifyQueuedItems (Item itemQueue)
 
void drawItemIconShape (int pageNum, Item itemId, int x, int y)
 
bool isMagicEffectItem (Item itemIndex)
 
bool checkInventoryForRings (int charIndex, int itemValue)
 
void eatItemInHand (int charIndex)
 
bool launchObject (int charIndex, Item item, uint16 startBlock, int startPos, int dir, int type)
 
void launchMagicObject (int charIndex, int type, uint16 startBlock, int startPos, int dir)
 
bool updateObjectFlight (EoBFlyingObject *fo, int block, int pos)
 
bool updateFlyingObjectHitTest (EoBFlyingObject *fo, int block, int pos)
 
void explodeObject (EoBFlyingObject *fo, int block, Item item)
 
void endObjectFlight (EoBFlyingObject *fo)
 
void checkFlyingObjects ()
 
void reloadWeaponSlot (int charIndex, int slotIndex, int itemType, int arrowOrDagger)
 
void loadMonsterShapes (const char *filename, int monsterIndex, bool hasDecorations, int encodeTableIndex)
 
void releaseMonsterShapes (int first, int num)
 
uint8loadTownsShape (Common::SeekableReadStream *stream)
 
virtual void generateMonsterPalettes (const char *file, int16 monsterIndex)
 
virtual void loadMonsterDecoration (Common::SeekableReadStream *stream, int16 monsterIndex)
 
virtual const uint8loadMonsterProperties (const uint8 *data)
 
const uint8loadActiveMonsterData (const uint8 *data, int level)
 
void initMonster (int index, int unit, uint16 block, int pos, int dir, int type, int shpIndex, int mode, int i, int randItem, int fixedItem)
 
void placeMonster (EoBMonsterInPlay *m, uint16 block, int dir)
 
virtual void replaceMonster (int b, uint16 block, int pos, int dir, int type, int shpIndex, int mode, int h2, int randItem, int fixedItem)=0
 
void killMonster (EoBMonsterInPlay *m, bool giveExperience)
 
virtual bool killMonsterExtra (EoBMonsterInPlay *m)=0
 
int countSpecificMonsters (int type)
 
void updateAttackingMonsterFlags ()
 
const int8getMonstersOnBlockPositions (uint16 block)
 
int getClosestMonster (int charIndex, int block)
 
bool blockHasMonsters (uint16 block)
 
bool isMonsterOnPos (EoBMonsterInPlay *m, uint16 block, int pos, int checkPos4)
 
const int16findBlockMonsters (uint16 block, int pos, int dir, int blockDamage, int singleTargetCheckAdjacent)
 
void drawBlockObject (int flipped, int page, const uint8 *shape, int x, int y, int sd, uint8 *ovl=0)
 
void drawMonsterShape (const uint8 *shape, int x, int y, int flipped, int flags, int palIndex)
 
void flashMonsterShape (EoBMonsterInPlay *m)
 
void updateAllMonsterShapes ()
 
void drawBlockItems (int index)
 
void drawDoor (int index)
 
virtual void drawDoorIntern (int type, int index, int x, int y, int w, int wall, int mDim, int16 y1, int16 y2)=0
 
void drawMonsters (int index)
 
void drawWallOfForce (int index)
 
void drawFlyingObjects (int index)
 
void drawTeleporter (int index)
 
void updateMonsters (int unit)
 
void updateMonsterDest (EoBMonsterInPlay *m)
 
void updateMonsterAttackMode (EoBMonsterInPlay *m)
 
void updateAllMonsterDests ()
 
void turnFriendlyMonstersHostile ()
 
int getNextMonsterDirection (int curBlock, int destBlock)
 
int getNextMonsterPos (EoBMonsterInPlay *m, int block)
 
int findFreeMonsterPos (int block, int size)
 
void updateMoveMonster (EoBMonsterInPlay *m)
 
bool updateMonsterTryDistanceAttack (EoBMonsterInPlay *m)
 
bool updateMonsterTryCloseAttack (EoBMonsterInPlay *m, int block)
 
void walkMonster (EoBMonsterInPlay *m, int destBlock)
 
bool walkMonsterNextStep (EoBMonsterInPlay *m, int destBlock, int direction)
 
void updateMonsterFollowPath (EoBMonsterInPlay *m, int turnSteps)
 
void updateMonstersStraying (EoBMonsterInPlay *m, int a)
 
void updateMonstersSpellStatus (EoBMonsterInPlay *m)
 
void setBlockMonsterDirection (int block, int dir)
 
void loadLevel (int level, int sub)
 
void readLevelFileData (int level)
 
Common::String initLevelData (int sub)
 
void addLevelItems ()
 
void loadVcnData (const char *file, const uint8 *cgaMapping)
 
void loadBlockProperties (const char *mazFile)
 
const uint8getBlockFileData (int levelIndex=0)
 
Common::String getBlockFileName (int levelIndex, int sub)
 
const uint8getBlockFileData (const char *mazFile)
 
void loadDecorations (const char *cpsFile, const char *decFile)
 
void assignWallsAndDecorations (int wallIndex, int vmpIndex, int decDataIndex, int specialType, int flags)
 
void releaseDecorations ()
 
void releaseDoorShapes ()
 
void toggleWallState (int wall, int flags)
 
virtual void loadDoorShapes (int doorType1, int shapeId1, int doorType2, int shapeId2)=0
 
virtual const uint8loadDoorShapes (const char *filename, int doorIndex, const uint8 *shapeDefs)=0
 
void drawScene (int refresh)
 
void drawSceneShapes (int start=0)
 
void drawDecorations (int index)
 
int calcNewBlockPositionAndTestPassability (uint16 curBlock, uint16 direction)
 
void notifyBlockNotPassable ()
 
void moveParty (uint16 block)
 
int clickedDoorSwitch (uint16 block, uint16 direction)
 
int clickedDoorPry (uint16 block, uint16 direction)
 
int clickedDoorNoPry (uint16 block, uint16 direction)
 
int clickedNiche (uint16 block, uint16 direction)
 
int specialWallAction (int block, int direction)
 
void openDoor (int block)
 
void closeDoor (int block)
 
void runLevelScript (int block, int flags)
 
void setScriptFlags (uint32 flags)
 
void clearScriptFlags (uint32 flags)
 
bool checkScriptFlags (uint32 flags)
 
const uint8initScriptTimers (const uint8 *pos)
 
void updateScriptTimers ()
 
virtual void updateScriptTimersExtra ()
 
void gui_drawPlayField (bool refresh)
 
void gui_restorePlayField ()
 
void gui_drawAllCharPortraitsWithStats ()
 
void gui_drawCharPortraitWithStats (int index)
 
void gui_drawFaceShape (int index)
 
void gui_drawWeaponSlot (int charIndex, int slot)
 
void gui_drawWeaponSlotStatus (int x, int y, int status)
 
void gui_drawHitpoints (int index)
 
void gui_drawFoodStatusGraph (int index)
 
void gui_drawHorizontalBarGraph (int x, int y, int w, int h, int32 curVal, int32 maxVal, int col1, int col2)
 
void gui_drawCharPortraitStatusFrame (int index)
 
void gui_drawInventoryItem (int slot, int redraw, int pageNum)
 
void gui_drawCompass (bool force)
 
void gui_drawDialogueBox ()
 
void gui_drawSpellbook ()
 
void gui_drawSpellbookScrollArrow (int x, int y, int direction)
 
void gui_updateSlotAfterScrollUse ()
 
void gui_updateControls ()
 
void gui_toggleButtons ()
 
void gui_setPlayFieldButtons ()
 
void gui_setInventoryButtons ()
 
void gui_setStatsListButtons ()
 
void gui_setSwapCharacterButtons ()
 
void gui_setCastOnWhomButtons ()
 
void gui_initButton (int index, int x=-1, int y=-1, int val=-1)
 
Buttongui_getButton (Button *buttonList, int index)
 
int clickedInventoryNextPage (Button *button)
 
int clickedPortraitRestore (Button *button)
 
int clickedCharPortraitDefault (Button *button)
 
int clickedCamp (Button *button)
 
int clickedSceneDropPickupItem (Button *button)
 
int clickedCharPortrait2 (Button *button)
 
int clickedWeaponSlot (Button *button)
 
int clickedCharNameLabelRight (Button *button)
 
int clickedInventorySlot (Button *button)
 
int clickedEatItem (Button *button)
 
int clickedInventoryPrevChar (Button *button)
 
int clickedInventoryNextChar (Button *button)
 
int clickedSpellbookTab (Button *button)
 
int clickedSpellbookList (Button *button)
 
int clickedCastSpellOnCharacter (Button *button)
 
int clickedUpArrow (Button *button)
 
int clickedDownArrow (Button *button)
 
int clickedLeftArrow (Button *button)
 
int clickedRightArrow (Button *button)
 
int clickedTurnLeftArrow (Button *button)
 
int clickedTurnRightArrow (Button *button)
 
int clickedAbortCharSwitch (Button *button)
 
int clickedSceneThrowItem (Button *button)
 
int clickedSceneSpecial (Button *button)
 
int clickedSpellbookAbort (Button *button)
 
int clickedSpellbookScroll (Button *button)
 
int clickedUnk (Button *button)
 
void gui_processCharPortraitClick (int index)
 
void gui_processWeaponSlotClickLeft (int charIndex, int slotIndex)
 
void gui_processWeaponSlotClickRight (int charIndex, int slotIndex)
 
void gui_processInventorySlotClick (int slot)
 
void setupDialogueButtons (int presetfirst, int numStr, va_list &args)
 
void initDialogueSequence ()
 
void restoreAfterDialogueSequence ()
 
void drawSequenceBitmap (const char *file, int destRect, int x1, int y1, int flags)
 
int runDialogue (int dialogueTextId, int numStr,...)
 
void restParty_displayWarning (const char *str)
 
bool restParty_updateMonsters ()
 
int restParty_getCharacterWithLowestHp ()
 
bool restParty_checkHealSpells (int charIndex)
 
bool restParty_checkSpellsToLearn ()
 
virtual void restParty_npc ()
 
virtual bool restParty_extraAbortCondition ()
 
void delay (uint32 millis, bool doUpdate=false, bool isMainLoop=false)
 
void displayParchment (int id)
 
int countResurrectionCandidates ()
 
void seq_portal ()
 
bool checkPassword ()
 
Common::String convertAsciiToSjis (Common::String str)
 
virtual int resurrectionSelectDialogue ()=0
 
virtual void useHorn (int charIndex, int weaponSlot)
 
virtual bool checkPartyStatusExtra ()=0
 
virtual void drawLightningColumn ()
 
virtual int charSelectDialogue ()
 
virtual void characterLevelGain (int charIndex)
 
Common::Error loadGameState (int slot)
 Load a game state. More...
 
Common::Error saveGameStateIntern (int slot, const char *saveName, const Graphics::Surface *thumbnail)
 
bool importOriginalSaveFile (int destSlot, const char *sourceFile=0)
 
Common::String readOriginalSaveFile (Common::String &file)
 
bool saveAsOriginalSaveFile (int slot=-1)
 
voidgenerateMonsterTempData (LevelTempData *tmp)
 
void restoreMonsterTempData (LevelTempData *tmp)
 
void releaseMonsterTempData (LevelTempData *tmp)
 
voidgenerateWallOfForceTempData (LevelTempData *tmp)
 
void restoreWallOfForceTempData (LevelTempData *tmp)
 
void releaseWallOfForceTempData (LevelTempData *tmp)
 
void useSlotWeapon (int charIndex, int slotIndex, Item item)
 
int closeDistanceAttack (int charIndex, Item item)
 
int thrownAttack (int charIndex, int slotIndex, Item item)
 
int projectileWeaponAttack (int charIndex, Item item)
 
void inflictMonsterDamage (EoBMonsterInPlay *m, int damage, bool giveExperience)
 
void calcAndInflictMonsterDamage (EoBMonsterInPlay *m, int times, int pips, int offs, int flags, int savingThrowType, int savingThrowEffect)
 
void calcAndInflictCharacterDamage (int charIndex, int times, int itemOrPips, int useStrModifierOrBase, int flags, int savingThrowType, int savingThrowEffect)
 
int calcCharacterDamage (int charIndex, int times, int itemOrPips, int useStrModifierOrBase, int flags, int savingThrowType, int damageType)
 
void inflictCharacterDamage (int charIndex, int damage)
 
bool characterAttackHitTest (int charIndex, int monsterIndex, int item, int attackType)
 
bool monsterAttackHitTest (EoBMonsterInPlay *m, int charIndex)
 
bool flyingObjectMonsterHit (EoBFlyingObject *fo, int monsterIndex)
 
bool flyingObjectPartyHit (EoBFlyingObject *fo)
 
void monsterCloseAttack (EoBMonsterInPlay *m)
 
void monsterSpellCast (EoBMonsterInPlay *m, int type)
 
void statusAttack (int charIndex, int attackStatusFlags, const char *attackStatusString, int savingThrowType, uint32 effectDuration, int restoreEvent, int noRefresh)
 
int calcMonsterDamage (EoBMonsterInPlay *m, int times, int pips, int offs, int flags, int savingThrowType, int savingThrowEffect)
 
int calcDamageModifers (int charIndex, EoBMonsterInPlay *m, int item, int itemType, int useStrModifier)
 
bool trySavingThrow (void *target, int hpModifier, int level, int type, int race)
 
bool specialAttackSavingThrow (int charIndex, int type)
 
int getSaveThrowModifier (int hpModifier, int level, int type)
 
bool calcDamageCheckItemType (int itemType)
 
int savingThrowReduceDamage (int savingThrowEffect, int damage)
 
bool tryMonsterAttackEvasion (EoBMonsterInPlay *m)
 
int getStrHitChanceModifier (int charIndex)
 
int getStrDamageModifier (int charIndex)
 
int getDexHitChanceModifier (int charIndex)
 
int getMonsterAcHitChanceModifier (int charIndex, int monsterAc)
 
void explodeMonster (EoBMonsterInPlay *m)
 
void useMagicBookOrSymbol (int charIndex, int type)
 
void useMagicScroll (int charIndex, int type, int weaponSlot)
 
void usePotion (int charIndex, int weaponSlot)
 
void useWand (int charIndex, int weaponSlot)
 
virtual void turnUndeadAuto ()
 
virtual void turnUndeadAutoHit ()=0
 
void castSpell (int spell, int weaponSlot)
 
void removeCharacterEffect (int spell, int charIndex, int showWarning)
 
void removeAllCharacterEffects (int charIndex)
 
void castOnWhomDialogue ()
 
void startSpell (int spell)
 
void sparkEffectDefensive (int charIndex)
 
void sparkEffectOffensive ()
 
void setSpellEventTimer (int spell, int timerBaseFactor, int timerLength, int timerLevelFactor, int updateExistingTimer)
 
void sortCharacterSpellList (int charIndex)
 
bool magicObjectDamageHit (EoBFlyingObject *fo, int dcTimes, int dcPips, int dcOffs, int level)
 
bool magicObjectStatusHit (EoBMonsterInPlay *m, int type, bool tryEvade, int mod)
 
bool turnUndeadHit (EoBMonsterInPlay *m, int hitChance, int casterLevel)
 
void causeWounds (int dcTimes, int dcPips, int dcOffs)
 
int getMagicWeaponSlot (int charIndex)
 
int createMagicWeaponType (int invFlags, int handFlags, int armorClass, int allowedClasses, int dmgNum, int dmgPips, int dmgInc, int extraProps)
 
Item createMagicWeaponItem (int flags, int icon, int value, int type)
 
void removeMagicWeaponItem (Item item)
 
void updateWallOfForceTimers ()
 
void destroyWallOfForce (int index)
 
int findSingleSpellTarget (int dist)
 
int findFirstCharacterSpellTarget ()
 
int findNextCharacterSpellTarget (int curCharIndex)
 
int charDeathSavingThrow (int charIndex, int div)
 
void printWarning (const char *str)
 
void printNoEffectWarning ()
 
void spellCallback_start_empty ()
 
bool spellCallback_end_empty (void *)
 
void spellCallback_start_armor ()
 
void spellCallback_start_burningHands ()
 
void spellCallback_start_detectMagic ()
 
bool spellCallback_end_detectMagic (void *)
 
void spellCallback_start_magicMissile ()
 
bool spellCallback_end_magicMissile (void *obj)
 
void spellCallback_start_shockingGrasp ()
 
bool spellCallback_end_shockingGraspFlameBlade (void *obj)
 
void spellCallback_start_improvedIdentify ()
 
void spellCallback_start_melfsAcidArrow ()
 
bool spellCallback_end_melfsAcidArrow (void *obj)
 
void spellCallback_start_dispelMagic ()
 
void spellCallback_start_fireball ()
 
bool spellCallback_end_fireball (void *obj)
 
void spellCallback_start_flameArrow ()
 
bool spellCallback_end_flameArrow (void *obj)
 
void spellCallback_start_holdPerson ()
 
bool spellCallback_end_holdPerson (void *obj)
 
void spellCallback_start_lightningBolt ()
 
bool spellCallback_end_lightningBolt (void *obj)
 
void spellCallback_start_vampiricTouch ()
 
bool spellCallback_end_vampiricTouch (void *obj)
 
void spellCallback_start_fear ()
 
void spellCallback_start_iceStorm ()
 
bool spellCallback_end_iceStorm (void *obj)
 
void spellCallback_start_stoneSkin ()
 
void spellCallback_start_removeCurse ()
 
void spellCallback_start_coneOfCold ()
 
void spellCallback_start_holdMonster ()
 
bool spellCallback_end_holdMonster (void *obj)
 
void spellCallback_start_wallOfForce ()
 
void spellCallback_start_disintegrate ()
 
void spellCallback_start_fleshToStone ()
 
void spellCallback_start_stoneToFlesh ()
 
void spellCallback_start_trueSeeing ()
 
bool spellCallback_end_trueSeeing (void *)
 
void spellCallback_start_slayLiving ()
 
void spellCallback_start_powerWordStun ()
 
void spellCallback_start_causeLightWounds ()
 
void spellCallback_start_cureLightWounds ()
 
void spellCallback_start_aid ()
 
bool spellCallback_end_aid (void *obj)
 
void spellCallback_start_flameBlade ()
 
void spellCallback_start_slowPoison ()
 
bool spellCallback_end_slowPoison (void *obj)
 
void spellCallback_start_createFood ()
 
void spellCallback_start_removeParalysis ()
 
void spellCallback_start_causeSeriousWounds ()
 
void spellCallback_start_cureSeriousWounds ()
 
void spellCallback_start_neutralizePoison ()
 
void spellCallback_start_causeCriticalWounds ()
 
void spellCallback_start_cureCriticalWounds ()
 
void spellCallback_start_flameStrike ()
 
bool spellCallback_end_flameStrike (void *obj)
 
void spellCallback_start_raiseDead ()
 
void spellCallback_start_harm ()
 
void spellCallback_start_heal ()
 
void spellCallback_start_layOnHands ()
 
void spellCallback_start_turnUndead ()
 
bool spellCallback_end_monster_lightningBolt (void *obj)
 
bool spellCallback_end_monster_fireball1 (void *obj)
 
bool spellCallback_end_monster_fireball2 (void *obj)
 
bool spellCallback_end_monster_deathSpell (void *obj)
 
bool spellCallback_end_monster_disintegrate (void *obj)
 
bool spellCallback_end_monster_causeCriticalWounds (void *obj)
 
bool spellCallback_end_monster_fleshToStone (void *obj)
 
void snd_playSong (int id)
 
void snd_playSoundEffect (int id, int volume=0xFF)
 
void snd_stopSound ()
 
void snd_fadeOut (int del=160)
 
virtual void snd_loadAmigaSounds (int level, int sub)=0
 
- Protected Member Functions inherited from Kyra::KyraRpgEngine
void initStaticResource ()
 
void updateEnvironmentalSfx (int soundId)
 
void enableTimer (int id)
 
void timerProcessDoors (int timerNum)
 
bool posWithinRect (int posX, int posY, int x1, int y1, int x2, int y2)
 
int getBlockDistance (uint16 block1, uint16 block2)
 
void setLevelShapesDim (int index, int16 &x1, int16 &x2, int dim)
 
void setDoorShapeDim (int index, int16 &y1, int16 &y2, int dim)
 
void drawLevelModifyScreenDim (int dim, int16 x1, int16 y1, int16 x2, int16 y2)
 
void generateBlockDrawingBuffer ()
 
void generateVmpTileData (int16 startBlockX, uint8 startBlockY, uint8 wllVmpIndex, int16 vmpOffset, uint8 numBlocksX, uint8 numBlocksY)
 
void generateVmpTileDataFlipped (int16 startBlockX, uint8 startBlockY, uint8 wllVmpIndex, int16 vmpOffset, uint8 numBlocksX, uint8 numBlocksY)
 
bool hasWall (int index)
 
void assignVisibleBlocks (int block, int direction)
 
bool checkSceneUpdateNeed (int block)
 
uint16 calcNewBlockPosition (uint16 curBlock, uint16 direction)
 
void drawVcnBlocks ()
 
void vcnDraw_fw_4bit (uint8 *&dst, const uint8 *&src)
 
void vcnDraw_bw_4bit (uint8 *&dst, const uint8 *&src)
 
void vcnDraw_fw_trans_4bit (uint8 *&dst, const uint8 *&src)
 
void vcnDraw_bw_trans_4bit (uint8 *&dst, const uint8 *&src)
 
void vcnDraw_fw_hiCol (uint8 *&dst, const uint8 *&src)
 
void vcnDraw_bw_hiCol (uint8 *&dst, const uint8 *&src)
 
void vcnDraw_fw_trans_hiCol (uint8 *&dst, const uint8 *&src)
 
void vcnDraw_bw_trans_hiCol (uint8 *&dst, const uint8 *&src)
 
void vcnDraw_fw_Amiga (uint8 *&dst, const uint8 *&src)
 
void vcnDraw_bw_Amiga (uint8 *&dst, const uint8 *&src)
 
void vcnDraw_fw_trans_Amiga (uint8 *&dst, const uint8 *&src)
 
void vcnDraw_bw_trans_Amiga (uint8 *&dst, const uint8 *&src)
 
int clickedWallShape (uint16 block, uint16 direction)
 
int clickedLeverOn (uint16 block, uint16 direction)
 
int clickedLeverOff (uint16 block, uint16 direction)
 
int clickedWallOnlyScript (uint16 block)
 
void processDoorSwitch (uint16 block, int openClose)
 
void openCloseDoor (int block, int openClose)
 
void completeDoorOperations ()
 
void removeInputTop ()
 
void gui_drawBox (int x, int y, int w, int h, int frameColor1, int frameColor2, int fillColor)
 
void gui_initButtonsFromList (const uint8 *list)
 
void gui_resetButtonList ()
 
void gui_notifyButtonListChanged ()
 
bool clickedShape (int shapeIndex)
 
virtual const KyraRpgGUISettingsguiSettings () const =0
 
virtual void useMainMenuGUISettings (bool toggle)
 
void drawDialogueButtons ()
 
uint16 processDialogue ()
 
virtual TextDisplayer_rpgtxt ()
 
void delayUntil (uint32 time, bool unused=false, bool doUpdate=false, bool isMainLoop=false)
 
int rollDice (int times, int pips, int inc=0)
 
void generateTempData ()
 
virtual void restoreBlockTempData (int levelIndex)
 
void releaseTempData ()
 
void restoreFlyingObjectTempData (LevelTempData *tmp)
 
voidgenerateFlyingObjectTempData (LevelTempData *tmp)
 
void releaseFlyingObjectTempData (LevelTempData *tmp)
 
virtual bool snd_processEnvironmentalSoundEffect (int soundId, int block)
 
virtual void snd_stopSpeech (bool)
 
virtual int snd_updateCharacterSpeech ()
 
virtual void stopPortraitSpeechAnim ()
 
virtual void setupOpcodeTable ()
 
virtual void snd_playVoiceFile (int)
 
void setWalkspeed (uint8)
 
void removeHandItem ()
 
bool lineIsPassable (int, int)
 
- Protected Member Functions inherited from Kyra::KyraEngine_v1
virtual Common::Error run ()
 Init the engine and start its main loop. More...
 
virtual ::GUI::DebuggergetDebugger ()
 Return the engine's debugger instance, if any. More...
 
virtual bool hasFeature (EngineFeature f) const
 Determine whether the engine supports the specified feature. More...
 
virtual void pauseEngineIntern (bool pause)
 Actual implementation of pauseEngine by subclasses. More...
 
void setupKeyMap ()
 
void updateInput ()
 
int checkInput (Button *buttonList, bool mainLoop=false, int eventFlag=0x8000)
 
void removeInputTop ()
 
virtual bool skipFlag () const
 
virtual void resetSkipFlag (bool removeEvent=true)
 
int o1_queryGameFlag (EMCState *script)
 
int o1_setGameFlag (EMCState *script)
 
int o1_resetGameFlag (EMCState *script)
 
int o1_getRand (EMCState *script)
 
int o1_hideMouse (EMCState *script)
 
int o1_showMouse (EMCState *script)
 
int o1_setMousePos (EMCState *script)
 
int o1_setHandItem (EMCState *script)
 
int o1_removeHandItem (EMCState *script)
 
int o1_getMouseState (EMCState *script)
 
int o1_setDeathHandler (EMCState *script)
 
int o1_playWanderScoreViaMap (EMCState *script)
 
int o1_fillRect (EMCState *script)
 
int o1_blockInWalkableRegion (EMCState *script)
 
int o1_blockOutWalkableRegion (EMCState *script)
 
int o1_playSoundEffect (EMCState *script)
 
virtual int convertVolumeToMixer (int value)
 
virtual int convertVolumeFromMixer (int value)
 
virtual int findWay (int x, int y, int toX, int toY, int *moveTable, int moveTableSize)
 
int findSubPath (int x, int y, int toX, int toY, int *moveTable, int start, int end)
 
int getFacingFromPointToPoint (int x, int y, int toX, int toY)
 
int getOppositeFacingDirection (int dir)
 
void changePosTowardsFacing (int &x, int &y, int facing)
 
int getMoveTableSize (int *moveTable)
 
void checkAutosave ()
 
bool canLoadGameStateCurrently ()
 Indicates whether a game state can be loaded. More...
 
bool canSaveGameStateCurrently ()
 Indicates whether a game state can be saved. More...
 
const char * getSavegameFilename (int num)
 
bool saveFileLoadable (int slot)
 
void loadGameStateCheck (int slot)
 
Common::Error saveGameState (int slot, const Common::String &desc)
 Save a game state. More...
 
Common::SeekableReadStreamopenSaveForReading (const char *filename, SaveHeader &header, bool checkID=true)
 
Common::OutSaveFileopenSaveForWriting (const char *filename, const char *saveName, const Graphics::Surface *thumbnail) const
 
virtual Graphics::SurfacegenerateSaveThumbnail () const
 
- Protected Member Functions inherited from Engine
virtual int runDialog (GUI::Dialog &dialog)
 
bool shouldPerformAutoSave (int lastSaveTime)
 Indicate whether an autosave should be performed. More...
 

Protected Attributes

bool _playFinale
 
const uint8 ** _largeItemShapes
 
const uint8 ** _smallItemShapes
 
const uint8 ** _thrownItemShapes
 
const uint8 ** _largeItemShapesScl [3]
 
const uint8 ** _smallItemShapesScl [3]
 
const uint8 ** _thrownItemShapesScl [3]
 
const int _numLargeItemShapes
 
const int _numSmallItemShapes
 
const int _numThrownItemShapes
 
const int _numItemIconShapes
 
const uint8 ** _spellShapes
 
const uint8 ** _firebeamShapes
 
const uint8_redSplatShape
 
const uint8_greenSplatShape
 
const uint8 ** _wallOfForceShapes
 
const uint8 ** _teleporterShapes
 
const uint8 ** _sparkShapes
 
const uint8_deadCharShape
 
const uint8_disabledCharGrid
 
const uint8_blackBoxSmallGrid
 
const uint8_weaponSlotGrid
 
const uint8_blackBoxWideGrid
 
const uint8_lightningColumnShape
 
uint8_itemsOverlay
 
const char *const * _mainMenuStrings
 
bool _runFlag
 
uint8 ** _faceShapes
 
const uint8_classModifierFlags
 
uint32 _disableElapsedTime
 
uint32 _restPartyElapsedTime
 
EoBCharacter_characters
 
Common::String _strenghtStr
 
int _castScrollSlot
 
int _exchangeCharacterId
 
const char *const * _levelGainStrings
 
const uint32_expRequirementTables [6]
 
const uint8_saveThrowTables [6]
 
const uint8_saveThrowLevelIndex
 
const uint8_saveThrowModDiv
 
const uint8_saveThrowModExt
 
const EoBCharacter_npcPreset
 
int _npcSequenceSub
 
bool _partyResting
 
bool _loading
 
EoBItem_items
 
uint16 _numItems
 
EoBItemType_itemTypes
 
char ** _itemNames
 
uint16 _numItemNames
 
uint32 _partyEffectFlags
 
Item _lastUsedItem
 
const uint16_slotValidationFlags
 
const int8_projectileWeaponAmmoTypes
 
const uint8_wandTypes
 
EoBFlyingObject_flyingObjects
 
const uint8_drawObjPosIndex
 
const uint8_flightObjFlipIndex
 
const int8_flightObjShpMap
 
const int8_flightObjSclIndex
 
const uint8_expObjectTlMode
 
const uint8_expObjectTblIndex
 
const uint8_expObjectShpStart
 
const uint8_expObjectAnimTbl1
 
int _expObjectAnimTbl1Size
 
const uint8_expObjectAnimTbl2
 
int _expObjectAnimTbl2Size
 
const uint8_expObjectAnimTbl3
 
int _expObjectAnimTbl3Size
 
const char *const * _ascii2SjisTables
 
const char *const * _ascii2SjisTables2
 
uint8_monsterFlashOverlay
 
uint8_monsterStoneOverlay
 
SpriteDecoration_monsterDecorations
 
EoBMonsterProperty_monsterProps
 
EoBMonsterInPlay_monsters
 
const int8_monsterStepTable0
 
const int8_monsterStepTable1
 
const int8_monsterStepTable2
 
const int8_monsterStepTable3
 
const uint8_monsterCloseAttPosTable1
 
const uint8_monsterCloseAttPosTable2
 
const int8_monsterCloseAttUnkTable
 
const uint8_monsterCloseAttChkTable1
 
const uint8_monsterCloseAttChkTable2
 
const uint8_monsterCloseAttDstTable1
 
const uint8_monsterCloseAttDstTable2
 
const uint8_monsterProximityTable
 
const uint8_findBlockMonstersTable
 
const char *const * _monsterDustStrings
 
const uint8_enemyMageSpellList
 
const uint8_enemyMageSfx
 
const uint8_beholderSpellList
 
const uint8_beholderSfx
 
const char *const * _monsterSpecAttStrings
 
const int8_monsterFrmOffsTable1
 
const int8_monsterFrmOffsTable2
 
const uint16_encodeMonsterShpTable
 
const uint8 _teleporterWallId
 
const int16_wallOfForceDsX
 
const uint8_wallOfForceDsY
 
const uint8_wallOfForceDsNumW
 
const uint8_wallOfForceDsNumH
 
const uint8_wallOfForceShpId
 
const int8_monsterDirChangeTable
 
int16 _doorType [2]
 
int16 _noDoorSwitch [2]
 
EoBRect8_levelDecorationRects
 
SpriteDecoration_doorSwitches
 
int8 _currentSub
 
Common::String _curGfxFile
 
Common::String _curBlockFile
 
uint32 _drawSceneTimer
 
uint32 _flashShapeTimer
 
uint32 _envAudioTimer
 
uint16 _teleporterPulse
 
Common::Array< const int16 * > _dscWallMapping
 
const int16_dscShapeCoords
 
const uint8_dscItemPosIndex
 
const int16_dscItemShpX
 
const uint8_dscItemScaleIndex
 
const uint8_dscItemTileIndex
 
const uint8_dscItemShapeMap
 
const uint8_dscDoorScaleMult1
 
const uint8_dscDoorScaleMult2
 
const uint8_dscDoorScaleMult3
 
const uint8_dscDoorY1
 
const uint8_dscDoorXE
 
uint8_greenFadingTable
 
uint8_blueFadingTable
 
uint8_lightBlueFadingTable
 
uint8_blackFadingTable
 
uint8_greyFadingTable
 
const uint8_wllFlagPreset
 
int _wllFlagPresetSize
 
const uint8_teleporterShapeCoords
 
const int8_portalSeq
 
EoBInfProcessor_inf
 
int _stepCounter
 
int _stepsUntilScriptCall
 
ScriptTimer _scriptTimers [5]
 
int _scriptTimersCount
 
uint8 _scriptTimersMode
 
int _buttonList1Size
 
int _buttonList2Size
 
int _buttonList3Size
 
int _buttonList4Size
 
int _buttonList5Size
 
int _buttonList6Size
 
int _buttonList7Size
 
int _buttonList8Size
 
EoBGuiButtonDef_buttonDefs
 
const char *const * _characterGuiStringsHp
 
const char *const * _characterGuiStringsWp
 
const char *const * _characterGuiStringsWr
 
const char *const * _characterGuiStringsSt
 
const char *const * _characterGuiStringsIn
 
const char *const * _characterStatusStrings7
 
const char *const * _characterStatusStrings8
 
const char *const * _characterStatusStrings9
 
const char *const * _characterStatusStrings12
 
const char *const * _characterStatusStrings13
 
const uint16_inventorySlotsX
 
const uint8_inventorySlotsY
 
const uint8 ** _compassShapes
 
uint8 _charExchangeSwap
 
bool _configHpBarGraphs
 
bool _configMouseBtSwap
 
Graphics::Surface _thumbNail
 
char _dialogueLastBitmap [13]
 
int _moveCounter
 
const char *const * _chargenStatStrings
 
const char *const * _chargenRaceSexStrings
 
const char *const * _chargenClassStrings
 
const char *const * _chargenAlignmentStrings
 
const char *const * _pryDoorStrings
 
const char *const * _warningStrings
 
const char *const * _ripItemStrings
 
const char *const * _cursedString
 
const char *const * _enchantedString
 
const char *const * _magicObjectStrings
 
const char *const * _magicObjectString5
 
const char *const * _patternSuffix
 
const char *const * _patternGrFix1
 
const char *const * _patternGrFix2
 
const char *const * _validateArmorString
 
const char *const * _validateCursedString
 
const char *const * _validateNoDropString
 
const char *const * _potionStrings
 
const char *const * _wandStrings
 
const char *const * _itemMisuseStrings
 
const char *const * _suffixStringsRings
 
const char *const * _suffixStringsPotions
 
const char *const * _suffixStringsWands
 
const char *const * _takenStrings
 
const char *const * _potionEffectStrings
 
const char *const * _yesNoStrings
 
const char *const * _npcMaxStrings
 
const char *const * _okStrings
 
const char *const * _npcJoinStrings
 
const char *const * _cancelStrings
 
const char *const * _abortStrings
 
const uint8_cgaMappingDefault
 
const uint8_cgaMappingAlt
 
const uint8_cgaMappingInv
 
const uint8_cgaMappingItemsL
 
const uint8_cgaMappingItemsS
 
const uint8_cgaMappingThrown
 
const uint8_cgaMappingIcons
 
const uint8_cgaMappingDeco
 
const uint8_cgaMappingLevel [5]
 
const uint8_cgaLevelMappingIndex
 
bool _enableHiResDithering
 
const char *const * _saveLoadStrings
 
const uint8_mnDef
 
const char *const * _mnWord
 
const char *const * _mnPrompt
 
int _mnNumWord
 
int _rrCount
 
const char * _rrNames [10]
 
int8 _rrId [10]
 
bool _allowSkip
 
bool _allowImport
 
Screen_EoB_screen
 
GUI_EoB_gui
 
int _dstMonsterIndex
 
bool _preventMonsterFlash
 
int16 _foundMonstersArray [5]
 
int8 _monsterBlockPosArray [6]
 
const uint8_monsterAcHitChanceTable1
 
const uint8_monsterAcHitChanceTable2
 
int8 _openBookSpellLevel
 
int8 _openBookSpellSelectedItem
 
int8 _openBookSpellListOffset
 
uint8 _openBookChar
 
uint8 _openBookType
 
uint8 _openBookCharBackup
 
uint8 _openBookTypeBackup
 
uint8 _openBookCasterLevel
 
const char *const * _openBookSpellList
 
int8_openBookAvailableSpells
 
uint8 _activeSpellCharId
 
uint8 _activeSpellCharacterPos
 
int _activeSpell
 
int _characterSpellTarget
 
bool _returnAfterSpellCallback
 
EoBSpell_spells
 
int _numSpells
 
WallOfForce_wallsOfForce
 
const char *const * _bookNumbers
 
const char *const * _mageSpellList
 
int _mageSpellListSize
 
int _clericSpellOffset
 
const char *const * _clericSpellList
 
const char *const * _spellNames
 
const char *const * _magicStrings1
 
const char *const * _magicStrings2
 
const char *const * _magicStrings3
 
const char *const * _magicStrings4
 
const char *const * _magicStrings6
 
const char *const * _magicStrings7
 
const char *const * _magicStrings8
 
const char *const * _magicStrings9
 
uint8_spellAnimBuffer
 
const uint8_sparkEffectDefSteps
 
const uint8_sparkEffectDefSubSteps
 
const uint8_sparkEffectDefShift
 
const uint8_sparkEffectDefAdd
 
const uint8_sparkEffectDefX
 
const uint8_sparkEffectDefY
 
const uint32_sparkEffectOfFlags1
 
const uint32_sparkEffectOfFlags2
 
const uint8_sparkEffectOfShift
 
const uint8_sparkEffectOfX
 
const uint8_sparkEffectOfY
 
const uint8_magicFlightObjectProperties
 
const uint8_turnUndeadEffect
 
const uint8_burningHandsDest
 
const int8_coneOfColdDest1
 
const int8_coneOfColdDest2
 
const int8_coneOfColdDest3
 
const int8_coneOfColdDest4
 
const uint8_coneOfColdGfxTbl
 
int _coneOfColdGfxTblSize
 
EoBMenuDef_menuDefs
 
const EoBMenuButtonDef_menuButtonDefs
 
bool _configMouse
 
bool _config2431
 
const char *const * _menuStringsMain
 
const char *const * _menuStringsSaveLoad
 
const char *const * _menuStringsOnOff
 
const char *const * _menuStringsSpells
 
const char *const * _menuStringsRest
 
const char *const * _menuStringsDrop
 
const char *const * _menuStringsExit
 
const char *const * _menuStringsStarve
 
const char *const * _menuStringsScribe
 
const char *const * _menuStringsDrop2
 
const char *const * _menuStringsHead
 
const char *const * _menuStringsPoison
 
const char *const * _menuStringsMgc
 
const char *const * _menuStringsPrefs
 
const char *const * _menuStringsRest2
 
const char *const * _menuStringsRest3
 
const char *const * _menuStringsRest4
 
const char *const * _menuStringsDefeat
 
const char * _errorSlotEmptyString
 
const char * _errorSlotNoNameString
 
const char * _menuOkString
 
const char *const * _2431Strings
 
const char *const * _katakanaLines
 
const char *const * _katakanaSelectStrings
 
const char *const * _menuStringsTransfer
 
const char *const * _transferStringsScummVM
 
const char *const * _menuStringsSpec
 
const char *const * _menuStringsSpellNo
 
const char *const * _menuYesNoStrings
 
const char *const * _saveNamePatterns
 
const uint8_spellLevelsMage
 
int _spellLevelsMageSize
 
const uint8_spellLevelsCleric
 
int _spellLevelsClericSize
 
const uint8_numSpellsCleric
 
const uint8_numSpellsWisAdj
 
const uint8_numSpellsPal
 
const uint8_numSpellsMage
 
const char ** _amigaSoundMap
 
const char *const * _amigaLevelSoundList1
 
const char *const * _amigaLevelSoundList2
 
int _amigaCurSoundFile
 
- Protected Attributes inherited from Kyra::KyraRpgEngine
const uint8 ** _itemIconShapes
 
const uint8 ** _amigaBlueItemIconShapes
 
int _updateCharNum
 
int _updatePortraitSpeechAnimDuration
 
bool _fadeText
 
int _resetPortraitAfterSpeechAnim
 
int _needSceneRestore
 
int _itemInHand
 
uint8 ** _monsterPalettes
 
uint8 ** _monsterShapes
 
int16 _shpDmX1
 
int16 _shpDmX2
 
int _monsterStepCounter
 
int _monsterStepMode
 
VcnLineDrawingMethods_vcnDrawLine
 
uint8_wllVmpMap
 
int8_wllShapeMap
 
uint8_specialWallTypes
 
uint8_wllWallFlags
 
int _sceneXoffset
 
int _sceneShpDim
 
LevelBlockProperty_levelBlockProperties
 
LevelBlockProperty_visibleBlocks [18]
 
LevelDecorationProperty_levelDecorationData
 
uint16 _levelDecorationDataSize
 
LevelDecorationProperty_levelDecorationProperties
 
uint8 ** _levelDecorationShapes
 
uint16 _decorationCount
 
int16 _mappedDecorationsCount
 
uint16_vmpPtr
 
uint8_vcnBlocks
 
uint8_vcfBlocks
 
uint8_vcnTransitionMask
 
uint8_vcnMaskTbl
 
uint8_vcnShift
 
uint8 _vcnShiftVal
 
uint8_vcnColTable
 
uint8 _vcnSrcBitsPerPixel
 
uint8 _vcnBpp
 
uint16_blockDrawingBuffer
 
uint8_sceneWindowBuffer
 
uint8 _blockBrightness
 
uint8 _wllVcnOffset
 
uint8 _wllVcnOffset2
 
uint8 _wllVcnRmdOffset
 
uint8 ** _doorShapes
 
uint8 _currentLevel
 
uint16 _currentBlock
 
uint16 _currentDirection
 
int _sceneDefaultUpdate
 
bool _sceneUpdateRequired
 
int16 _visibleBlockIndex [18]
 
int16_lvlShapeLeftRight
 
int16_lvlShapeTop
 
int16_lvlShapeBottom
 
char _lastBlockDataFile [13]
 
uint32 _hasTempDataFlags
 
int16 _sceneDrawVarDown
 
int16 _sceneDrawVarRight
 
int16 _sceneDrawVarLeft
 
int _wllProcessFlag
 
OpenDoorState _openDoorState [3]
 
int _sceneDrawPage1
 
int _sceneDrawPage2
 
const int8_dscShapeIndex
 
const uint8_dscDimMap
 
const int8_dscDim1
 
const int8_dscDim2
 
const int16_dscShapeX
 
const uint8_dscDoorScaleOffs
 
const uint8_dscBlockMap
 
const int8_dscBlockIndex
 
const uint8_dscTileIndex
 
const uint8_dscDoorShpIndex
 
int _dscDoorShpIndexSize
 
const uint8_dscDoorY2
 
const uint8_dscDoorFrameY1
 
const uint8_dscDoorFrameY2
 
const uint8_dscDoorFrameIndex1
 
const uint8_dscDoorFrameIndex2
 
int _clickedShapeXOffs
 
int _clickedShapeYOffs
 
Button_activeButtons
 
Button _activeButtonData [70]
 
Common::Array< Button::Callback_buttonCallbacks
 
uint8 _mouseClick
 
bool _preserveEvents
 
bool _buttonListChanged
 
int _updateFlags
 
int _clickedSpecialFlag
 
int _compassDirection
 
TextDisplayer_rpg_txt
 
bool _dialogueField
 
bool _dialogueFieldAmiga
 
const char * _dialogueButtonString [9]
 
const uint16_dialogueButtonPosX
 
const uint8_dialogueButtonPosY
 
int16 _dialogueButtonYoffs
 
uint16 _dialogueButtonWidth
 
int _dialogueNumButtons
 
int _dialogueHighlightedButton
 
int _currentControlMode
 
int _specialSceneFlag
 
uint8 _dialogueButtonLabelColor1
 
uint8 _dialogueButtonLabelColor2
 
const char *const * _moreStrings
 
LevelTempData_lvlTempData [29]
 
const int _numFlyingObjects
 
uint32 _flyingObjectStructSize
 
void_flyingObjectsPtr
 
int _environmentSfx
 
int _environmentSfxVol
 
int _envSfxDistThreshold
 
uint32 _activeVoiceFileTotalTime
 
- Protected Attributes inherited from Kyra::KyraEngine_v1
Resource_res
 
Sound_sound
 
TextDisplayer_text
 
StaticResource_staticres
 
TimerManager_timer
 
EMCInterpreter_emc
 
Debugger_debugger
 
int _mouseX
 
int _mouseY
 
Common::List< Event_eventList
 
KeyMap _keyMap
 
uint8 _configWalkspeed
 
int _configMusic
 
bool _configSounds
 
uint8 _configVoice
 
Common::RenderMode _configRenderMode
 
uint16 _tickLength
 
uint16 _gameSpeed
 
int8 _deathHandler
 
GameFlags _flags
 
Common::Array< const Opcode * > _opcodes
 
int _mouseState
 
uint8 _flagsTable [100]
 
Audio::SoundHandle _speechHandle
 
int _curMusicTheme
 
int _curSfxFile
 
int16 _lastMusicCommand
 
const int8_trackMap
 
int _trackMapSize
 
int _gameToLoad
 
uint32 _lastAutosave
 
bool _isSaveAllowed
 
Common::String _savegameFilename
 
- Protected Attributes inherited from Engine
Common::TimerManager_timer
 
Common::EventManager_eventMan
 
Common::SaveFileManager_saveFileMan
 
GUI::Dialog_mainMenuDialog
 
const Common::String _targetName
 

Static Protected Attributes

static const uint8 _itemsOverlayCGA []
 
static const uint8 _teleporterShapeDefs []
 
static const uint8 _wallOfForceShapeDefs []
 
static const int8 _characterClassType []
 
static const uint8 _hpIncrPerLevel [] = { 10, 4, 8, 6, 10, 10, 9, 10, 9, 10, 9, 9, 3, 1, 2, 2, 3, 3 }
 
static const uint8 _numLevelsPerClass [] = { 1, 1, 1, 1, 1, 1, 2, 2, 2, 3, 2, 2, 3, 2, 2 }
 
static const int16 _hpConstModifiers [] = { -1, -3, -2, -2, -1, -1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 5, 6, 6, 6, 7, 7 }
 
static const uint8 _charClassModifier []
 
static const uint8 _clock2Timers []
 
static const uint8 _numClock2Timers = ARRAYSIZE(EoBCoreEngine::_clock2Timers)
 
static const uint8 _buttonList1 []
 
static const uint8 _buttonList2 []
 
static const uint8 _buttonList3 []
 
static const uint8 _buttonList4 []
 
static const uint8 _buttonList5 []
 
static const uint8 _buttonList6 []
 
static const uint8 _buttonList7 []
 
static const uint8 _buttonList8 []
 
static const char *const kKeymapName = "eob"
 
- Static Protected Attributes inherited from Kyra::KyraRpgEngine
static const uint8 _dropItemDirIndex [] = { 0, 1, 2, 3, 1, 3, 0, 2, 3, 2, 1, 0, 2, 0, 3, 1 }
 
- Static Protected Attributes inherited from Kyra::KyraEngine_v1
static const int8 _addXPosTable []
 
static const int8 _addYPosTable []
 
static const int8 _charAddXPosTable []
 
static const int8 _charAddYPosTable []
 

Friends

class TextDisplayer_rpg
 
class GUI_EoB
 
class Debugger_EoB
 
class EoBInfProcessor
 
class DarkmoonSequenceHelper
 
class CharacterGenerator
 
class TransferPartyWiz
 

Additional Inherited Members

- Public Types inherited from Kyra::KyraEngine_v1
enum  kVolumeEntry { kVolumeMusic = 0, kVolumeSfx = 1, kVolumeSpeech = 2 }
 
- Public Types inherited from Engine
enum  EngineFeature {
  kSupportsSubtitleOptions, kSupportsRTL, kSupportsLoadingDuringRuntime, kSupportsSavingDuringRuntime,
  kSupportsJoystick
}
 A feature in this context means an ability of the engine which can be either available or not. More...
 
- 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 bool warnUserAboutUnsupportedGame ()
 Display a warning to the user that the game is not fully supported. More...
 
- Public Attributes inherited from Kyra::KyraEngine_v1
Common::RandomSource _rnd
 
- Public Attributes inherited from Engine
OSystem_system
 
Audio::Mixer_mixer
 
- Static Protected Member Functions inherited from Kyra::KyraEngine_v1
static Common::String getSavegameFilename (const Common::String &target, int num)
 
static WARN_UNUSED_RESULT ReadSaveHeaderError readSaveHeader (Common::SeekableReadStream *file, SaveHeader &header, bool skipThumbnail=true)
 

Detailed Description

Definition at line 242 of file eobcommon.h.

Member Typedef Documentation

◆ SpellEndCallback

typedef bool(EoBCoreEngine::* Kyra::EoBCoreEngine::SpellEndCallback) (void *obj)
protected

Definition at line 1069 of file eobcommon.h.

◆ SpellStartCallback

typedef void(EoBCoreEngine::* Kyra::EoBCoreEngine::SpellStartCallback) ()
protected

Definition at line 1068 of file eobcommon.h.

Constructor & Destructor Documentation

◆ EoBCoreEngine()

Kyra::EoBCoreEngine::EoBCoreEngine ( OSystem system,
const GameFlags flags 
)

Definition at line 44 of file eobcommon.cpp.

◆ ~EoBCoreEngine()

Kyra::EoBCoreEngine::~EoBCoreEngine ( )
virtual

Definition at line 251 of file eobcommon.cpp.

Member Function Documentation

◆ addLevelItems()

void Kyra::EoBCoreEngine::addLevelItems ( )
protectedvirtual

Implements Kyra::KyraRpgEngine.

Definition at line 304 of file scene_eob.cpp.

◆ advanceTimers()

void Kyra::EoBCoreEngine::advanceTimers ( uint32  millis)
protected

Definition at line 189 of file timer_eob.cpp.

◆ assignWallsAndDecorations()

void Kyra::EoBCoreEngine::assignWallsAndDecorations ( int  wallIndex,
int  vmpIndex,
int  decDataIndex,
int  specialType,
int  flags 
)
protected

Definition at line 465 of file scene_eob.cpp.

◆ blockHasMonsters()

bool Kyra::EoBCoreEngine::blockHasMonsters ( uint16  block)
protected

Definition at line 251 of file sprites_eob.cpp.

◆ calcAndInflictCharacterDamage()

void Kyra::EoBCoreEngine::calcAndInflictCharacterDamage ( int  charIndex,
int  times,
int  itemOrPips,
int  useStrModifierOrBase,
int  flags,
int  savingThrowType,
int  savingThrowEffect 
)
protected

Definition at line 2223 of file eobcommon.cpp.

◆ calcAndInflictMonsterDamage()

void Kyra::EoBCoreEngine::calcAndInflictMonsterDamage ( EoBMonsterInPlay m,
int  times,
int  pips,
int  offs,
int  flags,
int  savingThrowType,
int  savingThrowEffect 
)
protected

Definition at line 2217 of file eobcommon.cpp.

◆ calcCharacterDamage()

int Kyra::EoBCoreEngine::calcCharacterDamage ( int  charIndex,
int  times,
int  itemOrPips,
int  useStrModifierOrBase,
int  flags,
int  savingThrowType,
int  damageType 
)
protected

Definition at line 2229 of file eobcommon.cpp.

◆ calcDamageCheckItemType()

bool Kyra::EoBCoreEngine::calcDamageCheckItemType ( int  itemType)
protected

Definition at line 2586 of file eobcommon.cpp.

◆ calcDamageModifers()

int Kyra::EoBCoreEngine::calcDamageModifers ( int  charIndex,
EoBMonsterInPlay m,
int  item,
int  itemType,
int  useStrModifier 
)
protected

Definition at line 2542 of file eobcommon.cpp.

◆ calcMonsterDamage()

int Kyra::EoBCoreEngine::calcMonsterDamage ( EoBMonsterInPlay m,
int  times,
int  pips,
int  offs,
int  flags,
int  savingThrowType,
int  savingThrowEffect 
)
protected

Definition at line 2493 of file eobcommon.cpp.

◆ calcNewBlockPositionAndTestPassability()

int Kyra::EoBCoreEngine::calcNewBlockPositionAndTestPassability ( uint16  curBlock,
uint16  direction 
)
protected

Definition at line 685 of file scene_eob.cpp.

◆ castOnWhomDialogue()

void Kyra::EoBCoreEngine::castOnWhomDialogue ( )
protected

Definition at line 300 of file magic_eob.cpp.

◆ castSpell()

void Kyra::EoBCoreEngine::castSpell ( int  spell,
int  weaponSlot 
)
protected

Definition at line 175 of file magic_eob.cpp.

◆ causeWounds()

void Kyra::EoBCoreEngine::causeWounds ( int  dcTimes,
int  dcPips,
int  dcOffs 
)
protected

Definition at line 646 of file magic_eob.cpp.

◆ characterAttackHitTest()

bool Kyra::EoBCoreEngine::characterAttackHitTest ( int  charIndex,
int  monsterIndex,
int  item,
int  attackType 
)
protected

Definition at line 2298 of file eobcommon.cpp.

◆ characterLevelGain()

virtual void Kyra::EoBCoreEngine::characterLevelGain ( int  charIndex)
inlineprotectedvirtual

Reimplemented in Kyra::DarkMoonEngine.

Definition at line 852 of file eobcommon.h.

◆ charDeathSavingThrow()

int Kyra::EoBCoreEngine::charDeathSavingThrow ( int  charIndex,
int  div 
)
protected

Definition at line 772 of file magic_eob.cpp.

◆ charSelectDialogue()

virtual int Kyra::EoBCoreEngine::charSelectDialogue ( )
inlineprotectedvirtual

Reimplemented in Kyra::DarkMoonEngine.

Definition at line 851 of file eobcommon.h.

◆ checkFlyingObjects()

void Kyra::EoBCoreEngine::checkFlyingObjects ( )
protected

Definition at line 712 of file items_eob.cpp.

◆ checkInventoryForItem()

int Kyra::EoBCoreEngine::checkInventoryForItem ( int  character,
int16  itemType,
int16  itemValue 
)
protected

Definition at line 1312 of file eobcommon.cpp.

◆ checkInventoryForRings()

bool Kyra::EoBCoreEngine::checkInventoryForRings ( int  charIndex,
int  itemValue 
)
protected

Definition at line 499 of file items_eob.cpp.

◆ checkPartyStatus()

bool Kyra::EoBCoreEngine::checkPartyStatus ( bool  handleDeath)
protected

Definition at line 701 of file eobcommon.cpp.

◆ checkPartyStatusExtra()

virtual bool Kyra::EoBCoreEngine::checkPartyStatusExtra ( )
protectedpure virtual

Implemented in Kyra::DarkMoonEngine, and Kyra::EoBEngine.

◆ checkPassword()

bool Kyra::EoBCoreEngine::checkPassword ( )
protected

Definition at line 1990 of file eobcommon.cpp.

◆ checkScriptFlags()

bool Kyra::EoBCoreEngine::checkScriptFlags ( uint32  flags)
protected

Definition at line 47 of file script_eob.cpp.

◆ clearScriptFlags()

void Kyra::EoBCoreEngine::clearScriptFlags ( uint32  flags)
protected

Definition at line 43 of file script_eob.cpp.

◆ clickedAbortCharSwitch()

int Kyra::EoBCoreEngine::clickedAbortCharSwitch ( Button button)
protected

Definition at line 1188 of file gui_eob.cpp.

◆ clickedCamp()

int Kyra::EoBCoreEngine::clickedCamp ( Button button)
protected

Definition at line 798 of file gui_eob.cpp.

◆ clickedCastSpellOnCharacter()

int Kyra::EoBCoreEngine::clickedCastSpellOnCharacter ( Button button)
protected

Definition at line 1075 of file gui_eob.cpp.

◆ clickedCharNameLabelRight()

int Kyra::EoBCoreEngine::clickedCharNameLabelRight ( Button button)
protected

Definition at line 909 of file gui_eob.cpp.

◆ clickedCharPortrait2()

int Kyra::EoBCoreEngine::clickedCharPortrait2 ( Button button)
protected

Definition at line 872 of file gui_eob.cpp.

◆ clickedCharPortraitDefault()

int Kyra::EoBCoreEngine::clickedCharPortraitDefault ( Button button)
protected

Definition at line 790 of file gui_eob.cpp.

◆ clickedDoorNoPry()

int Kyra::EoBCoreEngine::clickedDoorNoPry ( uint16  block,
uint16  direction 
)
protected

Definition at line 824 of file scene_eob.cpp.

◆ clickedDoorPry()

int Kyra::EoBCoreEngine::clickedDoorPry ( uint16  block,
uint16  direction 
)
protected

Definition at line 786 of file scene_eob.cpp.

◆ clickedDoorSwitch()

int Kyra::EoBCoreEngine::clickedDoorSwitch ( uint16  block,
uint16  direction 
)
protectedvirtual

Implements Kyra::KyraRpgEngine.

Definition at line 738 of file scene_eob.cpp.

◆ clickedDownArrow()

int Kyra::EoBCoreEngine::clickedDownArrow ( Button button)
protected

Definition at line 1133 of file gui_eob.cpp.

◆ clickedEatItem()

int Kyra::EoBCoreEngine::clickedEatItem ( Button button)
protected

Definition at line 944 of file gui_eob.cpp.

◆ clickedInventoryNextChar()

int Kyra::EoBCoreEngine::clickedInventoryNextChar ( Button button)
protected

Definition at line 961 of file gui_eob.cpp.

◆ clickedInventoryNextPage()

int Kyra::EoBCoreEngine::clickedInventoryNextPage ( Button button)
protected

Definition at line 1094 of file gui_eob.cpp.

◆ clickedInventoryPrevChar()

int Kyra::EoBCoreEngine::clickedInventoryPrevChar ( Button button)
protected

Definition at line 949 of file gui_eob.cpp.

◆ clickedInventorySlot()

int Kyra::EoBCoreEngine::clickedInventorySlot ( Button button)
protected

Definition at line 939 of file gui_eob.cpp.

◆ clickedLeftArrow()

int Kyra::EoBCoreEngine::clickedLeftArrow ( Button button)
protected

Definition at line 1146 of file gui_eob.cpp.

◆ clickedNiche()

int Kyra::EoBCoreEngine::clickedNiche ( uint16  block,
uint16  direction 
)
protectedvirtual

Implements Kyra::KyraRpgEngine.

Definition at line 760 of file scene_eob.cpp.

◆ clickedPortraitRestore()

int Kyra::EoBCoreEngine::clickedPortraitRestore ( Button button)
protected

Definition at line 1107 of file gui_eob.cpp.

◆ clickedRightArrow()

int Kyra::EoBCoreEngine::clickedRightArrow ( Button button)
protected

Definition at line 1159 of file gui_eob.cpp.

◆ clickedSceneDropPickupItem()

int Kyra::EoBCoreEngine::clickedSceneDropPickupItem ( Button button)
protected

Definition at line 846 of file gui_eob.cpp.

◆ clickedSceneSpecial()

int Kyra::EoBCoreEngine::clickedSceneSpecial ( Button button)
protected

Definition at line 1209 of file gui_eob.cpp.

◆ clickedSceneThrowItem()

int Kyra::EoBCoreEngine::clickedSceneThrowItem ( Button button)
protected

Definition at line 1197 of file gui_eob.cpp.

◆ clickedSpellbookAbort()

int Kyra::EoBCoreEngine::clickedSpellbookAbort ( Button button)
protected

Definition at line 1214 of file gui_eob.cpp.

◆ clickedSpellbookList()

int Kyra::EoBCoreEngine::clickedSpellbookList ( Button button)
protected

Definition at line 999 of file gui_eob.cpp.

◆ clickedSpellbookScroll()

int Kyra::EoBCoreEngine::clickedSpellbookScroll ( Button button)
protected

Definition at line 1225 of file gui_eob.cpp.

◆ clickedSpellbookTab()

int Kyra::EoBCoreEngine::clickedSpellbookTab ( Button button)
protected

Definition at line 981 of file gui_eob.cpp.

◆ clickedTurnLeftArrow()

int Kyra::EoBCoreEngine::clickedTurnLeftArrow ( Button button)
protected

Definition at line 1172 of file gui_eob.cpp.

◆ clickedTurnRightArrow()

int Kyra::EoBCoreEngine::clickedTurnRightArrow ( Button button)
protected

Definition at line 1180 of file gui_eob.cpp.

◆ clickedUnk()

int Kyra::EoBCoreEngine::clickedUnk ( Button button)
protected

Definition at line 1241 of file gui_eob.cpp.

◆ clickedUpArrow()

int Kyra::EoBCoreEngine::clickedUpArrow ( Button button)
protected

Definition at line 1120 of file gui_eob.cpp.

◆ clickedWeaponSlot()

int Kyra::EoBCoreEngine::clickedWeaponSlot ( Button button)
protected

Definition at line 889 of file gui_eob.cpp.

◆ closeDistanceAttack()

int Kyra::EoBCoreEngine::closeDistanceAttack ( int  charIndex,
Item  item 
)
protected

Definition at line 2089 of file eobcommon.cpp.

◆ closeDoor()

void Kyra::EoBCoreEngine::closeDoor ( int  block)
protected

Definition at line 890 of file scene_eob.cpp.

◆ convertAsciiToSjis()

Common::String Kyra::EoBCoreEngine::convertAsciiToSjis ( Common::String  str)
protected

Definition at line 2024 of file eobcommon.cpp.

◆ countCharactersWithSpecificItems()

int Kyra::EoBCoreEngine::countCharactersWithSpecificItems ( int16  itemType,
int16  itemValue 
)
protected

Definition at line 1301 of file eobcommon.cpp.

◆ countQueuedItems()

int Kyra::EoBCoreEngine::countQueuedItems ( Item  itemQueue,
int16  id,
int16  type,
int  count,
int  includeFlyingItems 
)
protected

Definition at line 303 of file items_eob.cpp.

◆ countResurrectionCandidates()

int Kyra::EoBCoreEngine::countResurrectionCandidates ( )
protected

Definition at line 1880 of file eobcommon.cpp.

◆ countSpecificMonsters()

int Kyra::EoBCoreEngine::countSpecificMonsters ( int  type)
protected

Definition at line 197 of file sprites_eob.cpp.

◆ createInventoryItem()

void Kyra::EoBCoreEngine::createInventoryItem ( EoBCharacter c,
Item  itemIndex,
int16  itemValue,
int  preferedInventorySlot 
)
protected

Definition at line 134 of file items_eob.cpp.

◆ createItemOnCurrentBlock()

Item Kyra::EoBCoreEngine::createItemOnCurrentBlock ( Item  itemIndex)
protected

Definition at line 108 of file items_eob.cpp.

◆ createMagicWeaponItem()

Item Kyra::EoBCoreEngine::createMagicWeaponItem ( int  flags,
int  icon,
int  value,
int  type 
)
protected

Definition at line 690 of file magic_eob.cpp.

◆ createMagicWeaponType()

int Kyra::EoBCoreEngine::createMagicWeaponType ( int  invFlags,
int  handFlags,
int  armorClass,
int  allowedClasses,
int  dmgNum,
int  dmgPips,
int  dmgInc,
int  extraProps 
)
protected

Definition at line 666 of file magic_eob.cpp.

◆ delay()

void Kyra::EoBCoreEngine::delay ( uint32  millis,
bool  doUpdate = false,
bool  isMainLoop = false 
)
protectedvirtual

Implements Kyra::KyraRpgEngine.

Definition at line 1821 of file eobcommon.cpp.

◆ deleteBlockItem()

void Kyra::EoBCoreEngine::deleteBlockItem ( uint16  block,
int  type 
)
protected

Definition at line 178 of file items_eob.cpp.

◆ deleteCharEventTimer()

void Kyra::EoBCoreEngine::deleteCharEventTimer ( int  charIndex,
int  evnt 
)
protected

Definition at line 154 of file timer_eob.cpp.

◆ deleteInventoryItem()

int Kyra::EoBCoreEngine::deleteInventoryItem ( int  charIndex,
int  slot 
)
protected

Definition at line 159 of file items_eob.cpp.

◆ deletePartyItems()

bool Kyra::EoBCoreEngine::deletePartyItems ( int16  itemType,
int16  itemValue 
)
protected

Definition at line 262 of file items_eob.cpp.

◆ destroyWallOfForce()

void Kyra::EoBCoreEngine::destroyWallOfForce ( int  index)
protected

Definition at line 729 of file magic_eob.cpp.

◆ disableSysTimer()

void Kyra::EoBCoreEngine::disableSysTimer ( int  sysTimer)
protectedvirtual

Reimplemented from Kyra::KyraRpgEngine.

Definition at line 96 of file timer_eob.cpp.

◆ displayParchment()

void Kyra::EoBCoreEngine::displayParchment ( int  id)
protected

Definition at line 1830 of file eobcommon.cpp.

◆ drawBlockItems()

void Kyra::EoBCoreEngine::drawBlockItems ( int  index)
protected

Definition at line 360 of file sprites_eob.cpp.

◆ drawBlockObject()

void Kyra::EoBCoreEngine::drawBlockObject ( int  flipped,
int  page,
const uint8 shape,
int  x,
int  y,
int  sd,
uint8 ovl = 0 
)
protected

Definition at line 306 of file sprites_eob.cpp.

◆ drawDecorations()

void Kyra::EoBCoreEngine::drawDecorations ( int  index)
protectedvirtual

Implements Kyra::KyraRpgEngine.

Definition at line 634 of file scene_eob.cpp.

◆ drawDoor()

void Kyra::EoBCoreEngine::drawDoor ( int  index)
protected

Definition at line 425 of file sprites_eob.cpp.

◆ drawDoorIntern()

virtual void Kyra::EoBCoreEngine::drawDoorIntern ( int  type,
int  index,
int  x,
int  y,
int  w,
int  wall,
int  mDim,
int16  y1,
int16  y2 
)
protectedpure virtual

Implemented in Kyra::DarkMoonEngine, and Kyra::EoBEngine.

◆ drawFlyingObjects()

void Kyra::EoBCoreEngine::drawFlyingObjects ( int  index)
protected

Definition at line 569 of file sprites_eob.cpp.

◆ drawItemIconShape()

void Kyra::EoBCoreEngine::drawItemIconShape ( int  pageNum,
Item  itemId,
int  x,
int  y 
)
protected

Definition at line 470 of file items_eob.cpp.

◆ drawLightningColumn()

virtual void Kyra::EoBCoreEngine::drawLightningColumn ( )
inlineprotectedvirtual

Reimplemented in Kyra::DarkMoonEngine.

Definition at line 850 of file eobcommon.h.

◆ drawMonsters()

void Kyra::EoBCoreEngine::drawMonsters ( int  index)
protected

Definition at line 448 of file sprites_eob.cpp.

◆ drawMonsterShape()

void Kyra::EoBCoreEngine::drawMonsterShape ( const uint8 shape,
int  x,
int  y,
int  flipped,
int  flags,
int  palIndex 
)
protected

Definition at line 314 of file sprites_eob.cpp.

◆ drawNpcScene()

virtual void Kyra::EoBCoreEngine::drawNpcScene ( int  npcIndex)
protectedpure virtual

Implemented in Kyra::DarkMoonEngine, and Kyra::EoBEngine.

◆ drawScene()

void Kyra::EoBCoreEngine::drawScene ( int  refresh)
protectedvirtual

Implements Kyra::KyraRpgEngine.

Definition at line 544 of file scene_eob.cpp.

◆ drawSceneShapes()

void Kyra::EoBCoreEngine::drawSceneShapes ( int  start = 0)
protectedvirtual

Implements Kyra::KyraRpgEngine.

Definition at line 592 of file scene_eob.cpp.

◆ drawSequenceBitmap()

void Kyra::EoBCoreEngine::drawSequenceBitmap ( const char *  file,
int  destRect,
int  x1,
int  y1,
int  flags 
)
protected

Definition at line 1640 of file eobcommon.cpp.

◆ drawTeleporter()

void Kyra::EoBCoreEngine::drawTeleporter ( int  index)
protected

Definition at line 656 of file sprites_eob.cpp.

◆ drawWallOfForce()

void Kyra::EoBCoreEngine::drawWallOfForce ( int  index)
protected

Definition at line 548 of file sprites_eob.cpp.

◆ dropCharacter()

void Kyra::EoBCoreEngine::dropCharacter ( int  charIndex)
protected

Definition at line 1450 of file eobcommon.cpp.

◆ duplicateItem()

Kyra::Item Kyra::EoBCoreEngine::duplicateItem ( Item  itemIndex)
protected

Definition at line 85 of file items_eob.cpp.

◆ eatItemInHand()

void Kyra::EoBCoreEngine::eatItemInHand ( int  charIndex)
protected

Definition at line 508 of file items_eob.cpp.

◆ enableSysTimer()

void Kyra::EoBCoreEngine::enableSysTimer ( int  sysTimer)
protectedvirtual

Reimplemented from Kyra::KyraRpgEngine.

Definition at line 58 of file timer_eob.cpp.

◆ endObjectFlight()

void Kyra::EoBCoreEngine::endObjectFlight ( EoBFlyingObject fo)
protected

Definition at line 703 of file items_eob.cpp.

◆ exchangeCharacters()

void Kyra::EoBCoreEngine::exchangeCharacters ( int  charIndex1,
int  charIndex2 
)
protected

Definition at line 1487 of file eobcommon.cpp.

◆ explodeMonster()

void Kyra::EoBCoreEngine::explodeMonster ( EoBMonsterInPlay m)
protected

Definition at line 2649 of file eobcommon.cpp.

◆ explodeObject()

void Kyra::EoBCoreEngine::explodeObject ( EoBFlyingObject fo,
int  block,
Item  item 
)
protected

Definition at line 637 of file items_eob.cpp.

◆ findBlockMonsters()

const int16 * Kyra::EoBCoreEngine::findBlockMonsters ( uint16  block,
int  pos,
int  dir,
int  blockDamage,
int  singleTargetCheckAdjacent 
)
protected

Definition at line 259 of file sprites_eob.cpp.

◆ findFirstCharacterSpellTarget()

int Kyra::EoBCoreEngine::findFirstCharacterSpellTarget ( )
protected

Definition at line 751 of file magic_eob.cpp.

◆ findFreeMonsterPos()

int Kyra::EoBCoreEngine::findFreeMonsterPos ( int  block,
int  size 
)
protected

Definition at line 847 of file sprites_eob.cpp.

◆ findNextCharacterSpellTarget()

int Kyra::EoBCoreEngine::findNextCharacterSpellTarget ( int  curCharIndex)
protected

Definition at line 762 of file magic_eob.cpp.

◆ findSingleSpellTarget()

int Kyra::EoBCoreEngine::findSingleSpellTarget ( int  dist)
protected

Definition at line 735 of file magic_eob.cpp.

◆ flashMonsterShape()

void Kyra::EoBCoreEngine::flashMonsterShape ( EoBMonsterInPlay m)
protected

Definition at line 327 of file sprites_eob.cpp.

◆ flyingObjectMonsterHit()

bool Kyra::EoBCoreEngine::flyingObjectMonsterHit ( EoBFlyingObject fo,
int  monsterIndex 
)
protected

Definition at line 2358 of file eobcommon.cpp.

◆ flyingObjectPartyHit()

bool Kyra::EoBCoreEngine::flyingObjectPartyHit ( EoBFlyingObject fo)
protected

Definition at line 2367 of file eobcommon.cpp.

◆ generateCharacterHitpointsByLevel()

int Kyra::EoBCoreEngine::generateCharacterHitpointsByLevel ( int  charIndex,
int  levelIndex 
)
protected

Definition at line 1046 of file eobcommon.cpp.

◆ generateMonsterPalettes()

virtual void Kyra::EoBCoreEngine::generateMonsterPalettes ( const char *  file,
int16  monsterIndex 
)
inlineprotectedvirtual

Reimplemented in Kyra::DarkMoonEngine.

Definition at line 492 of file eobcommon.h.

◆ generateMonsterTempData()

void * Kyra::EoBCoreEngine::generateMonsterTempData ( LevelTempData tmp)
protectedvirtual

Implements Kyra::KyraRpgEngine.

Definition at line 1394 of file saveload_eob.cpp.

◆ generateWallOfForceTempData()

void * Kyra::EoBCoreEngine::generateWallOfForceTempData ( LevelTempData tmp)
protectedvirtual

Reimplemented from Kyra::KyraRpgEngine.

Definition at line 1409 of file saveload_eob.cpp.

◆ getBlockFileData() [1/2]

const uint8 * Kyra::EoBCoreEngine::getBlockFileData ( int  levelIndex = 0)
protectedvirtual

Implements Kyra::KyraRpgEngine.

Definition at line 395 of file scene_eob.cpp.

◆ getBlockFileData() [2/2]

const uint8 * Kyra::EoBCoreEngine::getBlockFileData ( const char *  mazFile)
protected

Definition at line 422 of file scene_eob.cpp.

◆ getBlockFileName()

Common::String Kyra::EoBCoreEngine::getBlockFileName ( int  levelIndex,
int  sub 
)
protected

Definition at line 402 of file scene_eob.cpp.

◆ getCharacterClassType()

int Kyra::EoBCoreEngine::getCharacterClassType ( int  cclass,
int  levelIndex 
)
protected

Definition at line 1083 of file eobcommon.cpp.

◆ getCharacterLevelIndex()

int Kyra::EoBCoreEngine::getCharacterLevelIndex ( int  type,
int  cClass 
)
protected

Definition at line 1288 of file eobcommon.cpp.

◆ getCharStrength()

Common::String Kyra::EoBCoreEngine::getCharStrength ( int  str,
int  strExt 
)
protected

Definition at line 1105 of file eobcommon.cpp.

◆ getClassAndConstHitpointsModifier()

int Kyra::EoBCoreEngine::getClassAndConstHitpointsModifier ( int  cclass,
int  constitution 
)
protected

Definition at line 1074 of file eobcommon.cpp.

◆ getClericPaladinLevel()

int Kyra::EoBCoreEngine::getClericPaladinLevel ( int  index)
protected

Definition at line 1257 of file eobcommon.cpp.

◆ getClock2Timer()

uint8 Kyra::EoBCoreEngine::getClock2Timer ( int  index)
inlineprotectedvirtual

Implements Kyra::KyraRpgEngine.

Definition at line 356 of file eobcommon.h.

◆ getClosestMonster()

int Kyra::EoBCoreEngine::getClosestMonster ( int  charIndex,
int  block 
)
protected

Definition at line 238 of file sprites_eob.cpp.

◆ getDexHitChanceModifier()

int Kyra::EoBCoreEngine::getDexHitChanceModifier ( int  charIndex)
protected

Definition at line 2637 of file eobcommon.cpp.

◆ getDexterityArmorClassModifier()

int Kyra::EoBCoreEngine::getDexterityArmorClassModifier ( int  dexterity)
protected

Definition at line 1041 of file eobcommon.cpp.

◆ getMageLevel()

int Kyra::EoBCoreEngine::getMageLevel ( int  index)
protected

Definition at line 1277 of file eobcommon.cpp.

◆ getMagicWeaponSlot()

int Kyra::EoBCoreEngine::getMagicWeaponSlot ( int  charIndex)
protected

Definition at line 642 of file magic_eob.cpp.

◆ getModifiedHpLimits()

int Kyra::EoBCoreEngine::getModifiedHpLimits ( int  hpModifier,
int  constModifier,
int  level,
bool  mode 
)
protected

Definition at line 1087 of file eobcommon.cpp.

◆ getMonsterAcHitChanceModifier()

int Kyra::EoBCoreEngine::getMonsterAcHitChanceModifier ( int  charIndex,
int  monsterAc 
)
protected

Definition at line 2642 of file eobcommon.cpp.

◆ getMonstersOnBlockPositions()

const int8 * Kyra::EoBCoreEngine::getMonstersOnBlockPositions ( uint16  block)
protected

Definition at line 227 of file sprites_eob.cpp.

◆ getNextMonsterDirection()

int Kyra::EoBCoreEngine::getNextMonsterDirection ( int  curBlock,
int  destBlock 
)
protected

Definition at line 788 of file sprites_eob.cpp.

◆ getNextMonsterPos()

int Kyra::EoBCoreEngine::getNextMonsterPos ( EoBMonsterInPlay m,
int  block 
)
protected

Definition at line 815 of file sprites_eob.cpp.

◆ getNextValidCharIndex()

int Kyra::EoBCoreEngine::getNextValidCharIndex ( int  curCharIndex,
int  searchStep 
)
protected

Definition at line 1148 of file eobcommon.cpp.

◆ getNumClock2Timers()

uint8 Kyra::EoBCoreEngine::getNumClock2Timers ( )
inlineprotectedvirtual

Implements Kyra::KyraRpgEngine.

Definition at line 357 of file eobcommon.h.

◆ getQueuedItem()

int Kyra::EoBCoreEngine::getQueuedItem ( Item items,
int  pos,
int  id 
)
protected

Definition at line 334 of file items_eob.cpp.

◆ getRequiredExperience()

uint32 Kyra::EoBCoreEngine::getRequiredExperience ( int  cClass,
int  levelIndex,
int  level 
)
protected

Definition at line 1531 of file eobcommon.cpp.

◆ getSaveThrowModifier()

int Kyra::EoBCoreEngine::getSaveThrowModifier ( int  hpModifier,
int  level,
int  type 
)
protected

Definition at line 2576 of file eobcommon.cpp.

◆ getStrDamageModifier()

int Kyra::EoBCoreEngine::getStrDamageModifier ( int  charIndex)
protected

Definition at line 2621 of file eobcommon.cpp.

◆ getStrHitChanceModifier()

int Kyra::EoBCoreEngine::getStrHitChanceModifier ( int  charIndex)
protected

Definition at line 2605 of file eobcommon.cpp.

◆ go()

Common::Error Kyra::EoBCoreEngine::go ( )
protectedvirtual

Implements Kyra::KyraRpgEngine.

Definition at line 559 of file eobcommon.cpp.

◆ gui()

GUI* Kyra::EoBCoreEngine::gui ( ) const
inlinevirtual

Implements Kyra::KyraRpgEngine.

Definition at line 257 of file eobcommon.h.

◆ gui_drawAllCharPortraitsWithStats()

void Kyra::EoBCoreEngine::gui_drawAllCharPortraitsWithStats ( )
protected

Definition at line 82 of file gui_eob.cpp.

◆ gui_drawCharPortraitStatusFrame()

void Kyra::EoBCoreEngine::gui_drawCharPortraitStatusFrame ( int  index)
protected

Definition at line 432 of file gui_eob.cpp.

◆ gui_drawCharPortraitWithStats()

void Kyra::EoBCoreEngine::gui_drawCharPortraitWithStats ( int  index)
protected

Definition at line 87 of file gui_eob.cpp.

◆ gui_drawCompass()

void Kyra::EoBCoreEngine::gui_drawCompass ( bool  force)
protected

Definition at line 540 of file gui_eob.cpp.

◆ gui_drawDialogueBox()

void Kyra::EoBCoreEngine::gui_drawDialogueBox ( )
protected

Definition at line 554 of file gui_eob.cpp.

◆ gui_drawFaceShape()

void Kyra::EoBCoreEngine::gui_drawFaceShape ( int  index)
protected

Definition at line 222 of file gui_eob.cpp.

◆ gui_drawFoodStatusGraph()

void Kyra::EoBCoreEngine::gui_drawFoodStatusGraph ( int  index)
protected

Definition at line 409 of file gui_eob.cpp.

◆ gui_drawHitpoints()

void Kyra::EoBCoreEngine::gui_drawHitpoints ( int  index)
protected

Definition at line 354 of file gui_eob.cpp.

◆ gui_drawHorizontalBarGraph()

void Kyra::EoBCoreEngine::gui_drawHorizontalBarGraph ( int  x,
int  y,
int  w,
int  h,
int32  curVal,
int32  maxVal,
int  col1,
int  col2 
)
protectedvirtual

Reimplemented from Kyra::KyraRpgEngine.

Definition at line 427 of file gui_eob.cpp.

◆ gui_drawInventoryItem()

void Kyra::EoBCoreEngine::gui_drawInventoryItem ( int  slot,
int  redraw,
int  pageNum 
)
protected

Definition at line 498 of file gui_eob.cpp.

◆ gui_drawPlayField()

void Kyra::EoBCoreEngine::gui_drawPlayField ( bool  refresh)
protected

Definition at line 49 of file gui_eob.cpp.

◆ gui_drawSpellbook()

void Kyra::EoBCoreEngine::gui_drawSpellbook ( )
protected

Definition at line 561 of file gui_eob.cpp.

◆ gui_drawSpellbookScrollArrow()

void Kyra::EoBCoreEngine::gui_drawSpellbookScrollArrow ( int  x,
int  y,
int  direction 
)
protected

Definition at line 667 of file gui_eob.cpp.

◆ gui_drawWeaponSlot()

void Kyra::EoBCoreEngine::gui_drawWeaponSlot ( int  charIndex,
int  slot 
)
protected

Definition at line 283 of file gui_eob.cpp.

◆ gui_drawWeaponSlotStatus()

void Kyra::EoBCoreEngine::gui_drawWeaponSlotStatus ( int  x,
int  y,
int  status 
)
protected

Definition at line 312 of file gui_eob.cpp.

◆ gui_getButton()

Button * Kyra::EoBCoreEngine::gui_getButton ( Button buttonList,
int  index 
)
protected

Definition at line 39 of file gui_eob.cpp.

◆ gui_initButton()

void Kyra::EoBCoreEngine::gui_initButton ( int  index,
int  x = -1,
int  y = -1,
int  val = -1 
)
protectedvirtual

Implements Kyra::KyraRpgEngine.

Definition at line 733 of file gui_eob.cpp.

◆ gui_processCharPortraitClick()

void Kyra::EoBCoreEngine::gui_processCharPortraitClick ( int  index)
protected

Definition at line 1245 of file gui_eob.cpp.

◆ gui_processInventorySlotClick()

void Kyra::EoBCoreEngine::gui_processInventorySlotClick ( int  slot)
protected

Definition at line 1380 of file gui_eob.cpp.

◆ gui_processWeaponSlotClickLeft()

void Kyra::EoBCoreEngine::gui_processWeaponSlotClickLeft ( int  charIndex,
int  slotIndex 
)
protected

Definition at line 1256 of file gui_eob.cpp.

◆ gui_processWeaponSlotClickRight()

void Kyra::EoBCoreEngine::gui_processWeaponSlotClickRight ( int  charIndex,
int  slotIndex 
)
protected

Definition at line 1274 of file gui_eob.cpp.

◆ gui_restorePlayField()

void Kyra::EoBCoreEngine::gui_restorePlayField ( )
protected

Definition at line 75 of file gui_eob.cpp.

◆ gui_setCastOnWhomButtons()

void Kyra::EoBCoreEngine::gui_setCastOnWhomButtons ( )
protected

Definition at line 728 of file gui_eob.cpp.

◆ gui_setInventoryButtons()

void Kyra::EoBCoreEngine::gui_setInventoryButtons ( )
protected

Definition at line 713 of file gui_eob.cpp.

◆ gui_setPlayFieldButtons()

void Kyra::EoBCoreEngine::gui_setPlayFieldButtons ( )
protected

Definition at line 708 of file gui_eob.cpp.

◆ gui_setStatsListButtons()

void Kyra::EoBCoreEngine::gui_setStatsListButtons ( )
protected

Definition at line 718 of file gui_eob.cpp.

◆ gui_setSwapCharacterButtons()

void Kyra::EoBCoreEngine::gui_setSwapCharacterButtons ( )
protected

Definition at line 723 of file gui_eob.cpp.

◆ gui_toggleButtons()

void Kyra::EoBCoreEngine::gui_toggleButtons ( )
protected

Definition at line 699 of file gui_eob.cpp.

◆ gui_updateControls()

void Kyra::EoBCoreEngine::gui_updateControls ( )
protected

Definition at line 691 of file gui_eob.cpp.

◆ gui_updateSlotAfterScrollUse()

void Kyra::EoBCoreEngine::gui_updateSlotAfterScrollUse ( )
protected

Definition at line 681 of file gui_eob.cpp.

◆ identifyQueuedItems()

void Kyra::EoBCoreEngine::identifyQueuedItems ( Item  itemQueue)
protected

Definition at line 458 of file items_eob.cpp.

◆ importOriginalSaveFile()

bool Kyra::EoBCoreEngine::importOriginalSaveFile ( int  destSlot,
const char *  sourceFile = 0 
)
protected

Definition at line 543 of file saveload_eob.cpp.

◆ increaseCharacterExperience()

void Kyra::EoBCoreEngine::increaseCharacterExperience ( int  charIndex,
int32  points 
)
protected

Definition at line 1513 of file eobcommon.cpp.

◆ increaseCharacterLevel()

void Kyra::EoBCoreEngine::increaseCharacterLevel ( int  charIndex,
int  levelIndex 
)
protected

Definition at line 1540 of file eobcommon.cpp.

◆ increasePartyExperience()

void Kyra::EoBCoreEngine::increasePartyExperience ( int16  points)
protected

Definition at line 1494 of file eobcommon.cpp.

◆ inflictCharacterDamage()

void Kyra::EoBCoreEngine::inflictCharacterDamage ( int  charIndex,
int  damage 
)
protected

Definition at line 2258 of file eobcommon.cpp.

◆ inflictMonsterDamage()

void Kyra::EoBCoreEngine::inflictMonsterDamage ( EoBMonsterInPlay m,
int  damage,
bool  giveExperience 
)
protected

Definition at line 2194 of file eobcommon.cpp.

◆ init()

Common::Error Kyra::EoBCoreEngine::init ( void  )
protectedvirtual

Reimplemented from Kyra::KyraRpgEngine.

Reimplemented in Kyra::DarkMoonEngine, and Kyra::EoBEngine.

Definition at line 385 of file eobcommon.cpp.

◆ initButtonData()

void Kyra::EoBCoreEngine::initButtonData ( )
protected

Definition at line 563 of file staticres_eob.cpp.

◆ initDialogueSequence()

void Kyra::EoBCoreEngine::initDialogueSequence ( )
protected

Definition at line 1593 of file eobcommon.cpp.

◆ initKeymap()

void Kyra::EoBCoreEngine::initKeymap ( )
virtual

Reimplemented from Engine.

Definition at line 341 of file eobcommon.cpp.

◆ initLevelData()

Common::String Kyra::EoBCoreEngine::initLevelData ( int  sub)
protected

Definition at line 145 of file scene_eob.cpp.

◆ initMenus()

void Kyra::EoBCoreEngine::initMenus ( )
protected

Definition at line 735 of file staticres_eob.cpp.

◆ initMonster()

void Kyra::EoBCoreEngine::initMonster ( int  index,
int  unit,
uint16  block,
int  pos,
int  dir,
int  type,
int  shpIndex,
int  mode,
int  i,
int  randItem,
int  fixedItem 
)
protected

Definition at line 121 of file sprites_eob.cpp.

◆ initNpc()

void Kyra::EoBCoreEngine::initNpc ( int  npcIndex)
protected

Definition at line 1376 of file eobcommon.cpp.

◆ initScriptTimers()

const uint8 * Kyra::EoBCoreEngine::initScriptTimers ( const uint8 pos)
protected

Definition at line 51 of file script_eob.cpp.

◆ initSpells()

void Kyra::EoBCoreEngine::initSpells ( )
protectedvirtual

Reimplemented in Kyra::DarkMoonEngine, and Kyra::EoBEngine.

Definition at line 825 of file staticres_eob.cpp.

◆ initStaticResource()

void Kyra::EoBCoreEngine::initStaticResource ( )
protected

Definition at line 273 of file staticres_eob.cpp.

◆ isMagicEffectItem()

bool Kyra::EoBCoreEngine::isMagicEffectItem ( Item  itemIndex)
protected

Definition at line 495 of file items_eob.cpp.

◆ isMonsterOnPos()

bool Kyra::EoBCoreEngine::isMonsterOnPos ( EoBMonsterInPlay m,
uint16  block,
int  pos,
int  checkPos4 
)
protected

Definition at line 255 of file sprites_eob.cpp.

◆ itemUsableByCharacter()

int Kyra::EoBCoreEngine::itemUsableByCharacter ( int  charIndex,
Item  item 
)
protected

Definition at line 296 of file items_eob.cpp.

◆ killMonster()

void Kyra::EoBCoreEngine::killMonster ( EoBMonsterInPlay m,
bool  giveExperience 
)
protected

Definition at line 174 of file sprites_eob.cpp.

◆ killMonsterExtra()

virtual bool Kyra::EoBCoreEngine::killMonsterExtra ( EoBMonsterInPlay m)
protectedpure virtual

Implemented in Kyra::DarkMoonEngine, and Kyra::EoBEngine.

◆ launchMagicObject()

void Kyra::EoBCoreEngine::launchMagicObject ( int  charIndex,
int  type,
uint16  startBlock,
int  startPos,
int  dir 
)
protected

Definition at line 559 of file items_eob.cpp.

◆ launchObject()

bool Kyra::EoBCoreEngine::launchObject ( int  charIndex,
Item  item,
uint16  startBlock,
int  startPos,
int  dir,
int  type 
)
protected

Definition at line 529 of file items_eob.cpp.

◆ loadActiveMonsterData()

const uint8 * Kyra::EoBCoreEngine::loadActiveMonsterData ( const uint8 data,
int  level 
)
protected

Definition at line 91 of file sprites_eob.cpp.

◆ loadBlockProperties()

void Kyra::EoBCoreEngine::loadBlockProperties ( const char *  mazFile)
protectedvirtual

Implements Kyra::KyraRpgEngine.

Definition at line 380 of file scene_eob.cpp.

◆ loadDecorations()

void Kyra::EoBCoreEngine::loadDecorations ( const char *  cpsFile,
const char *  decFile 
)
protected

Definition at line 427 of file scene_eob.cpp.

◆ loadDoorShapes() [1/2]

virtual void Kyra::EoBCoreEngine::loadDoorShapes ( int  doorType1,
int  shapeId1,
int  doorType2,
int  shapeId2 
)
protectedpure virtual

Implemented in Kyra::DarkMoonEngine, and Kyra::EoBEngine.

◆ loadDoorShapes() [2/2]

virtual const uint8* Kyra::EoBCoreEngine::loadDoorShapes ( const char *  filename,
int  doorIndex,
const uint8 shapeDefs 
)
protectedpure virtual

Implemented in Kyra::DarkMoonEngine, and Kyra::EoBEngine.

◆ loadGameState()

Common::Error Kyra::EoBCoreEngine::loadGameState ( int  slot)
protectedvirtual

Load a game state.

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

Implements Kyra::KyraRpgEngine.

Definition at line 38 of file saveload_eob.cpp.

◆ loadItemDefs()

void Kyra::EoBCoreEngine::loadItemDefs ( )
protected

Definition at line 31 of file items_eob.cpp.

◆ loadItemsAndDecorationsShapes()

void Kyra::EoBCoreEngine::loadItemsAndDecorationsShapes ( )
protected

Definition at line 727 of file eobcommon.cpp.

◆ loadLevel()

void Kyra::EoBCoreEngine::loadLevel ( int  level,
int  sub 
)
protected

Definition at line 35 of file scene_eob.cpp.

◆ loadMonsterDecoration()

virtual void Kyra::EoBCoreEngine::loadMonsterDecoration ( Common::SeekableReadStream stream,
int16  monsterIndex 
)
inlineprotectedvirtual

Reimplemented in Kyra::DarkMoonEngine.

Definition at line 493 of file eobcommon.h.

◆ loadMonsterProperties()

virtual const uint8* Kyra::EoBCoreEngine::loadMonsterProperties ( const uint8 data)
inlineprotectedvirtual

Reimplemented in Kyra::DarkMoonEngine.

Definition at line 494 of file eobcommon.h.

◆ loadMonsterShapes()

void Kyra::EoBCoreEngine::loadMonsterShapes ( const char *  filename,
int  monsterIndex,
bool  hasDecorations,
int  encodeTableIndex 
)
protected

Definition at line 35 of file sprites_eob.cpp.

◆ loadTownsShape()

uint8 * Kyra::EoBCoreEngine::loadTownsShape ( Common::SeekableReadStream stream)
protected

Definition at line 82 of file sprites_eob.cpp.

◆ loadVcnData()

void Kyra::EoBCoreEngine::loadVcnData ( const char *  file,
const uint8 cgaMapping 
)
protected

Definition at line 315 of file scene_eob.cpp.

◆ magicObjectDamageHit()

bool Kyra::EoBCoreEngine::magicObjectDamageHit ( EoBFlyingObject fo,
int  dcTimes,
int  dcPips,
int  dcOffs,
int  level 
)
protected

Definition at line 495 of file magic_eob.cpp.

◆ magicObjectStatusHit()

bool Kyra::EoBCoreEngine::magicObjectStatusHit ( EoBMonsterInPlay m,
int  type,
bool  tryEvade,
int  mod 
)
protected

Definition at line 570 of file magic_eob.cpp.

◆ mainMenu()

virtual int Kyra::EoBCoreEngine::mainMenu ( )
protectedpure virtual

Implemented in Kyra::DarkMoonEngine, and Kyra::EoBEngine.

◆ modifyCharacterHitpoints()

void Kyra::EoBCoreEngine::modifyCharacterHitpoints ( int  character,
int16  points 
)
protected

Definition at line 1328 of file eobcommon.cpp.

◆ monsterAttackHitTest()

bool Kyra::EoBCoreEngine::monsterAttackHitTest ( EoBMonsterInPlay m,
int  charIndex 
)
protected

Definition at line 2338 of file eobcommon.cpp.

◆ monsterCloseAttack()

void Kyra::EoBCoreEngine::monsterCloseAttack ( EoBMonsterInPlay m)
protected

Definition at line 2392 of file eobcommon.cpp.

◆ monsterSpellCast()

void Kyra::EoBCoreEngine::monsterSpellCast ( EoBMonsterInPlay m,
int  type 
)
protected

Definition at line 2459 of file eobcommon.cpp.

◆ moveParty()

void Kyra::EoBCoreEngine::moveParty ( uint16  block)
protected

Definition at line 713 of file scene_eob.cpp.

◆ neutralizePoison()

void Kyra::EoBCoreEngine::neutralizePoison ( int  character)
protected

Definition at line 1341 of file eobcommon.cpp.

◆ notifyBlockNotPassable()

void Kyra::EoBCoreEngine::notifyBlockNotPassable ( )
protected

Definition at line 707 of file scene_eob.cpp.

◆ npcJoinDialogue()

int Kyra::EoBCoreEngine::npcJoinDialogue ( int  npcIndex,
int  queryJoinTextId,
int  confirmJoinTextId,
int  noJoinTextId 
)
protected

Definition at line 1402 of file eobcommon.cpp.

◆ npcSequence()

void Kyra::EoBCoreEngine::npcSequence ( int  npcIndex)
protected

Definition at line 1348 of file eobcommon.cpp.

◆ openDoor()

void Kyra::EoBCoreEngine::openDoor ( int  block)
protected

Definition at line 886 of file scene_eob.cpp.

◆ placeMonster()

void Kyra::EoBCoreEngine::placeMonster ( EoBMonsterInPlay m,
uint16  block,
int  dir 
)
protected

Definition at line 152 of file sprites_eob.cpp.

◆ prepareForNewPartyMember()

int Kyra::EoBCoreEngine::prepareForNewPartyMember ( int16  itemType,
int16  itemValue 
)
protected

Definition at line 1425 of file eobcommon.cpp.

◆ printFullItemName()

void Kyra::EoBCoreEngine::printFullItemName ( Item  item)
protected

Definition at line 366 of file items_eob.cpp.

◆ printNoEffectWarning()

void Kyra::EoBCoreEngine::printNoEffectWarning ( )
protected

Definition at line 789 of file magic_eob.cpp.

◆ printWarning()

void Kyra::EoBCoreEngine::printWarning ( const char *  str)
protected

Definition at line 784 of file magic_eob.cpp.

◆ projectileWeaponAttack()

int Kyra::EoBCoreEngine::projectileWeaponAttack ( int  charIndex,
Item  item 
)
protected

Definition at line 2151 of file eobcommon.cpp.

◆ readLevelFileData()

void Kyra::EoBCoreEngine::readLevelFileData ( int  level)
protected

Definition at line 112 of file scene_eob.cpp.

◆ readOriginalSaveFile()

Common::String Kyra::EoBCoreEngine::readOriginalSaveFile ( Common::String file)
protected

Definition at line 642 of file saveload_eob.cpp.

◆ readSettings()

void Kyra::EoBCoreEngine::readSettings ( )
protectedvirtual

Reimplemented from Kyra::KyraEngine_v1.

Definition at line 628 of file eobcommon.cpp.

◆ recalcArmorClass()

void Kyra::EoBCoreEngine::recalcArmorClass ( int  index)
protected

Definition at line 1160 of file eobcommon.cpp.

◆ registerDefaultSettings()

void Kyra::EoBCoreEngine::registerDefaultSettings ( )
protectedvirtual

Reimplemented from Kyra::KyraEngine_v1.

Definition at line 621 of file eobcommon.cpp.

◆ releaseDecorations()

void Kyra::EoBCoreEngine::releaseDecorations ( )
protected

Definition at line 511 of file scene_eob.cpp.

◆ releaseDoorShapes()

void Kyra::EoBCoreEngine::releaseDoorShapes ( )
protected

Definition at line 521 of file scene_eob.cpp.

◆ releaseItemsAndDecorationsShapes()

void Kyra::EoBCoreEngine::releaseItemsAndDecorationsShapes ( )
protected

Definition at line 879 of file eobcommon.cpp.

◆ releaseMonsterShapes()

void Kyra::EoBCoreEngine::releaseMonsterShapes ( int  first,
int  num 
)
protected

Definition at line 73 of file sprites_eob.cpp.

◆ releaseMonsterTempData()

void Kyra::EoBCoreEngine::releaseMonsterTempData ( LevelTempData tmp)
protectedvirtual

Implements Kyra::KyraRpgEngine.

Definition at line 1404 of file saveload_eob.cpp.

◆ releaseWallOfForceTempData()

void Kyra::EoBCoreEngine::releaseWallOfForceTempData ( LevelTempData tmp)
protectedvirtual

Reimplemented from Kyra::KyraRpgEngine.

Definition at line 1425 of file saveload_eob.cpp.

◆ reloadWeaponSlot()

void Kyra::EoBCoreEngine::reloadWeaponSlot ( int  charIndex,
int  slotIndex,
int  itemType,
int  arrowOrDagger 
)
protected

Definition at line 725 of file items_eob.cpp.

◆ removeAllCharacterEffects()

void Kyra::EoBCoreEngine::removeAllCharacterEffects ( int  charIndex)
protected

Definition at line 278 of file magic_eob.cpp.

◆ removeCharacterEffect()

void Kyra::EoBCoreEngine::removeCharacterEffect ( int  spell,
int  charIndex,
int  showWarning 
)
protected

Definition at line 234 of file magic_eob.cpp.

◆ removeCharacterFromParty()

void Kyra::EoBCoreEngine::removeCharacterFromParty ( int  charIndex)
protected

Definition at line 1464 of file eobcommon.cpp.

◆ removeMagicWeaponItem()

void Kyra::EoBCoreEngine::removeMagicWeaponItem ( Item  item)
protected

Definition at line 713 of file magic_eob.cpp.

◆ replaceMonster()

virtual void Kyra::EoBCoreEngine::replaceMonster ( int  b,
uint16  block,
int  pos,
int  dir,
int  type,
int  shpIndex,
int  mode,
int  h2,
int  randItem,
int  fixedItem 
)
protectedpure virtual

Implemented in Kyra::DarkMoonEngine, and Kyra::EoBEngine.

◆ restoreAfterDialogueSequence()

void Kyra::EoBCoreEngine::restoreAfterDialogueSequence ( )
protected

Definition at line 1624 of file eobcommon.cpp.

◆ restoreMonsterTempData()

void Kyra::EoBCoreEngine::restoreMonsterTempData ( LevelTempData tmp)
protectedvirtual

Implements Kyra::KyraRpgEngine.

Definition at line 1400 of file saveload_eob.cpp.

◆ restoreWallOfForceTempData()

void Kyra::EoBCoreEngine::restoreWallOfForceTempData ( LevelTempData tmp)
protectedvirtual

Reimplemented from Kyra::KyraRpgEngine.

Definition at line 1418 of file saveload_eob.cpp.

◆ restParty_checkHealSpells()

bool Kyra::EoBCoreEngine::restParty_checkHealSpells ( int  charIndex)
protected

Definition at line 1779 of file eobcommon.cpp.

◆ restParty_checkSpellsToLearn()

bool Kyra::EoBCoreEngine::restParty_checkSpellsToLearn ( )
protected

Definition at line 1794 of file eobcommon.cpp.

◆ restParty_displayWarning()

void Kyra::EoBCoreEngine::restParty_displayWarning ( const char *  str)
protected

Definition at line 1713 of file eobcommon.cpp.

◆ restParty_extraAbortCondition()

bool Kyra::EoBCoreEngine::restParty_extraAbortCondition ( )
protectedvirtual

Reimplemented in Kyra::DarkMoonEngine.

Definition at line 1817 of file eobcommon.cpp.

◆ restParty_getCharacterWithLowestHp()

int Kyra::EoBCoreEngine::restParty_getCharacterWithLowestHp ( )
protected

Definition at line 1761 of file eobcommon.cpp.

◆ restParty_npc()

virtual void Kyra::EoBCoreEngine::restParty_npc ( )
inlineprotectedvirtual

Reimplemented in Kyra::DarkMoonEngine.

Definition at line 833 of file eobcommon.h.

◆ restParty_updateMonsters()

bool Kyra::EoBCoreEngine::restParty_updateMonsters ( )
protected

Definition at line 1725 of file eobcommon.cpp.

◆ resurrectionSelectDialogue()

virtual int Kyra::EoBCoreEngine::resurrectionSelectDialogue ( )
protectedpure virtual

Implemented in Kyra::DarkMoonEngine, and Kyra::EoBEngine.

◆ runDialogue()

int Kyra::EoBCoreEngine::runDialogue ( int  dialogueTextId,
int  numStr,
  ... 
)
protected

Definition at line 1692 of file eobcommon.cpp.

◆ runLevelScript()

void Kyra::EoBCoreEngine::runLevelScript ( int  block,
int  flags 
)
protectedvirtual

Implements Kyra::KyraRpgEngine.

Definition at line 35 of file script_eob.cpp.

◆ runLoop()

void Kyra::EoBCoreEngine::runLoop ( )
protected

Definition at line 666 of file eobcommon.cpp.

◆ runNpcDialogue()

virtual void Kyra::EoBCoreEngine::runNpcDialogue ( int  npcIndex)
protectedpure virtual

Implemented in Kyra::DarkMoonEngine, and Kyra::EoBEngine.

◆ saveAsOriginalSaveFile()

bool Kyra::EoBCoreEngine::saveAsOriginalSaveFile ( int  slot = -1)
protected

Definition at line 1050 of file saveload_eob.cpp.

◆ saveGameStateIntern()

Common::Error Kyra::EoBCoreEngine::saveGameStateIntern ( int  slot,
const char *  saveName,
const Graphics::Surface thumbnail 
)
protectedvirtual

Implements Kyra::KyraRpgEngine.

Definition at