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)
 
 ~EoBCoreEngine () override
 
Screenscreen () override
 
GUIgui () const override
 
- Public Member Functions inherited from Kyra::KyraRpgEngine
 KyraRpgEngine (OSystem *system, const GameFlags &flags)
 
 ~KyraRpgEngine () override
 
- Public Member Functions inherited from Kyra::KyraEngine_v1
 KyraEngine_v1 (OSystem *system, const GameFlags &flags)
 
 ~KyraEngine_v1 () override
 
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)
 
void syncSoundSettings () override
 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
 Engine (OSystem *syst)
 
virtual ~Engine ()
 
virtual void initializePath (const Common::FSNode &gamePath)
 Init SearchMan according to the game path. More...
 
virtual void errorString (const char *buf_input, char *buf_output, int buf_output_size)
 Prepare an error string, which is printed by the error() function. More...
 
virtual GUI::DebuggergetDebugger ()
 Return the engine's debugger instance, if any. More...
 
void setDebugger (GUI::Debugger *debugger)
 Sets the engine's debugger. More...
 
GUI::DebuggergetOrCreateDebugger ()
 Return the engine's debugger instance, or create one if none is present. More...
 
virtual void flipMute ()
 Flip mute all sound option. More...
 
virtual Common::String getSaveStateName (int slot) const
 Generates the savegame filename. More...
 
virtual Common::Error loadGameStream (Common::SeekableReadStream *stream)
 Load a game state. More...
 
void setGameToLoadSlot (int slot)
 Sets the game slot for a savegame to be loaded after global main menu execution. More...
 
virtual Common::Error saveGameStream (Common::WriteStream *stream, bool isAutosave=false)
 Save a game state. More...
 
bool saveGameDialog ()
 Shows the ScummVM save dialog, allowing users to save their game. More...
 
bool loadGameDialog ()
 Shows the ScummVM Restore dialog, allowing users to load a game. More...
 
void pauseEngine (bool pause)
 Pause or resume the engine. More...
 
bool isPaused () const
 Return whether the engine is currently paused or not. More...
 
void openMainMenuDialog ()
 Run the Global Main Menu Dialog. More...
 
uint32 getTotalPlayTime () const
 Get the total play time. More...
 
void setTotalPlayTime (uint32 time=0)
 Set the game time counter to the specified time. More...
 
Common::TimerManagergetTimerManager ()
 
Common::EventManagergetEventManager ()
 
Common::SaveFileManagergetSaveFileManager ()
 
void checkCD ()
 On some systems, check if the game appears to be run from CD. More...
 
void handleAutoSave ()
 Checks for whether it's time to do an autosave, and if so, does it. More...
 
void saveAutosaveIfEnabled ()
 Does an autosave immediately if autosaves are turned on. More...
 
virtual bool canSaveAutosaveCurrently ()
 Indicates whether an autosave can currently be saved. More...
 
bool shouldPerformAutoSave (int lastSaveTime)
 

Static Public Member Functions

static Common::Array< Common::Keymap * > initKeymaps (const Common::String &ameId)
 
- Static Public Member Functions inherited from Engine
static void quitGame ()
 Request the engine to quit. More...
 
static bool shouldQuit ()
 Return whether the ENGINE should quit respectively should return to the launcher. More...
 
static MetaEnginegetMetaEngine ()
 
static bool warnUserAboutUnsupportedGame ()
 Display a warning to the user that the game is not fully supported. More...
 

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

Common::Error init () override
 
Common::Error go () override
 
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 () override
 
void readSettings () override
 
void writeSettings () override
 
virtual void startupNew ()
 
virtual void startupLoad ()=0
 
void runLoop ()
 
void update () override
 
bool checkPartyStatus (bool handleDeath)
 
bool startCharacterGeneration ()
 
bool startPartyTransfer ()
 
void setupTimers () override
 
void enableSysTimer (int sysTimer) override
 
void disableSysTimer (int sysTimer) override
 
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) override
 
uint8 getNumClock2Timers () override
 
void setHandItem (Item itemIndex) override
 
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 () override
 
void loadVcnData (const char *file, const uint8 *cgaMapping)
 
void loadBlockProperties (const char *mazFile) override
 
const uint8getBlockFileData (int levelIndex=0) override
 
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) override
 
void drawSceneShapes (int start=0) override
 
void drawDecorations (int index) override
 
int calcNewBlockPositionAndTestPassability (uint16 curBlock, uint16 direction)
 
void notifyBlockNotPassable ()
 
void moveParty (uint16 block)
 
int clickedDoorSwitch (uint16 block, uint16 direction) override
 
int clickedDoorPry (uint16 block, uint16 direction)
 
int clickedDoorNoPry (uint16 block, uint16 direction)
 
int clickedNiche (uint16 block, uint16 direction) override
 
int specialWallAction (int block, int direction)
 
void openDoor (int block)
 
void closeDoor (int block)
 
void runLevelScript (int block, int flags) override
 
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) override
 
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) override
 
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) override
 
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) override
 Load a game state. More...
 
Common::Error saveGameStateIntern (int slot, const char *saveName, const Graphics::Surface *thumbnail) override
 
bool importOriginalSaveFile (int destSlot, const char *sourceFile=0)
 
Common::String readOriginalSaveFile (Common::String &file)
 
bool saveAsOriginalSaveFile (int slot=-1)
 
void * generateMonsterTempData (LevelTempData *tmp) override
 
void restoreMonsterTempData (LevelTempData *tmp) override
 
void releaseMonsterTempData (LevelTempData *tmp) override
 
void * generateWallOfForceTempData (LevelTempData *tmp) override
 
void restoreWallOfForceTempData (LevelTempData *tmp) override
 
void releaseWallOfForceTempData (LevelTempData *tmp) override
 
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) override
 
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
Common::Error init () override
 
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_planar (uint8 *&dst, const uint8 *&src)
 
void vcnDraw_bw_planar (uint8 *&dst, const uint8 *&src)
 
void vcnDraw_fw_trans_planar (uint8 *&dst, const uint8 *&src)
 
void vcnDraw_bw_trans_planar (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) override
 
int rollDice (int times, int pips, int inc=0)
 
void generateTempData ()
 
virtual void restoreBlockTempData (int levelIndex)
 
void releaseTempData ()
 
void restoreFlyingObjectTempData (LevelTempData *tmp)
 
void * generateFlyingObjectTempData (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 ()
 
void setupOpcodeTable () override
 
void snd_playVoiceFile (int) override
 
void setWalkspeed (uint8) override
 
void removeHandItem () override
 
bool lineIsPassable (int, int) override
 
- Protected Member Functions inherited from Kyra::KyraEngine_v1
Common::Error run () override
 Init the engine and start its main loop. More...
 
bool hasFeature (EngineFeature f) const override
 Determine whether the engine supports the specified feature. More...
 
void pauseEngineIntern (bool pause) override
 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)
 
bool canLoadGameStateCurrently () override
 Indicates whether a game state can be loaded. More...
 
bool canSaveGameStateCurrently () override
 Indicates whether a game state can be saved. More...
 
virtual int getAutosaveSlot () const override
 Returns the slot that should be used for autosaves. More...
 
const char * getSavegameFilename (int num)
 
bool saveFileLoadable (int slot)
 
void loadGameStateCheck (int slot)
 
Common::Error saveGameState (int slot, const Common::String &desc, bool isAutosave=false) override
 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)
 

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
 
int _numItemNamesPC98
 
const char *const * _itemNamesPC98
 
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
 
Common::String _vcnFilePattern
 
Common::String _vmpFilePattern
 
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
 
const uint8_palette16c [10]
 
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
 
int _prefMenuPlatformOffset
 
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
 
Screen::FontId _buttonFont
 
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
 
int _mouseX
 
int _mouseY
 
Common::List< Event_eventList
 
KeyMap _keyMap
 
bool _asciiCodeEvents
 
bool _kbEventSkip
 
uint8 _configWalkspeed
 
int _configMusic
 
bool _configSounds
 
uint8 _configVoice
 
bool _configNullSound
 
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
 
bool _preventScriptSfx
 
int _gameToLoad
 
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 }
 A feature in this context means an ability of the engine which can be either available or not. 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 246 of file eobcommon.h.

Member Typedef Documentation

◆ SpellEndCallback

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

Definition at line 1080 of file eobcommon.h.

◆ SpellStartCallback

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

Definition at line 1079 of file eobcommon.h.

Constructor & Destructor Documentation

◆ EoBCoreEngine()

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

Definition at line 45 of file eobcommon.cpp.

◆ ~EoBCoreEngine()

Kyra::EoBCoreEngine::~EoBCoreEngine ( )
override

Definition at line 255 of file eobcommon.cpp.

Member Function Documentation

◆ addLevelItems()

void Kyra::EoBCoreEngine::addLevelItems ( )
overrideprotectedvirtual

Implements Kyra::KyraRpgEngine.

Definition at line 309 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 469 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 2236 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 2230 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 2242 of file eobcommon.cpp.

◆ calcDamageCheckItemType()

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

Definition at line 2599 of file eobcommon.cpp.

◆ calcDamageModifers()

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

Definition at line 2555 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 2506 of file eobcommon.cpp.

◆ calcNewBlockPositionAndTestPassability()

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

Definition at line 689 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 648 of file magic_eob.cpp.

◆ characterAttackHitTest()

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

Definition at line 2311 of file eobcommon.cpp.

◆ characterLevelGain()

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

Reimplemented in Kyra::DarkMoonEngine.

Definition at line 860 of file eobcommon.h.

◆ charDeathSavingThrow()

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

Definition at line 774 of file magic_eob.cpp.

◆ charSelectDialogue()

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

Reimplemented in Kyra::DarkMoonEngine.

Definition at line 859 of file eobcommon.h.

◆ checkFlyingObjects()

void Kyra::EoBCoreEngine::checkFlyingObjects ( )
protected

Definition at line 720 of file items_eob.cpp.

◆ checkInventoryForItem()

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

Definition at line 1325 of file eobcommon.cpp.

◆ checkInventoryForRings()

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

Definition at line 507 of file items_eob.cpp.

◆ checkPartyStatus()

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

Definition at line 714 of file eobcommon.cpp.

◆ checkPartyStatusExtra()

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

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

◆ checkPassword()

bool Kyra::EoBCoreEngine::checkPassword ( )
protected

Definition at line 2003 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 1229 of file gui_eob.cpp.

◆ clickedCamp()

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

Definition at line 838 of file gui_eob.cpp.

◆ clickedCastSpellOnCharacter()

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

Definition at line 1116 of file gui_eob.cpp.

◆ clickedCharNameLabelRight()

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

Definition at line 950 of file gui_eob.cpp.

◆ clickedCharPortrait2()

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

Definition at line 913 of file gui_eob.cpp.

◆ clickedCharPortraitDefault()

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

Definition at line 830 of file gui_eob.cpp.

◆ clickedDoorNoPry()

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

Definition at line 828 of file scene_eob.cpp.

◆ clickedDoorPry()

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

Definition at line 790 of file scene_eob.cpp.

◆ clickedDoorSwitch()

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

Implements Kyra::KyraRpgEngine.

Definition at line 742 of file scene_eob.cpp.

◆ clickedDownArrow()

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

Definition at line 1174 of file gui_eob.cpp.

◆ clickedEatItem()

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

Definition at line 985 of file gui_eob.cpp.

◆ clickedInventoryNextChar()

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

Definition at line 1002 of file gui_eob.cpp.

◆ clickedInventoryNextPage()

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

Definition at line 1135 of file gui_eob.cpp.

◆ clickedInventoryPrevChar()

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

Definition at line 990 of file gui_eob.cpp.

◆ clickedInventorySlot()

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

Definition at line 980 of file gui_eob.cpp.

◆ clickedLeftArrow()

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

Definition at line 1187 of file gui_eob.cpp.

◆ clickedNiche()

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

Implements Kyra::KyraRpgEngine.

Definition at line 764 of file scene_eob.cpp.

◆ clickedPortraitRestore()

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

Definition at line 1148 of file gui_eob.cpp.

◆ clickedRightArrow()

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

Definition at line 1200 of file gui_eob.cpp.

◆ clickedSceneDropPickupItem()

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

Definition at line 887 of file gui_eob.cpp.

◆ clickedSceneSpecial()

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

Definition at line 1250 of file gui_eob.cpp.

◆ clickedSceneThrowItem()

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

Definition at line 1238 of file gui_eob.cpp.

◆ clickedSpellbookAbort()

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

Definition at line 1255 of file gui_eob.cpp.

◆ clickedSpellbookList()

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

Definition at line 1040 of file gui_eob.cpp.

◆ clickedSpellbookScroll()

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

Definition at line 1266 of file gui_eob.cpp.

◆ clickedSpellbookTab()

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

Definition at line 1022 of file gui_eob.cpp.

◆ clickedTurnLeftArrow()

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

Definition at line 1213 of file gui_eob.cpp.

◆ clickedTurnRightArrow()

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

Definition at line 1221 of file gui_eob.cpp.

◆ clickedUnk()

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

Definition at line 1282 of file gui_eob.cpp.

◆ clickedUpArrow()

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

Definition at line 1161 of file gui_eob.cpp.

◆ clickedWeaponSlot()

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

Definition at line 930 of file gui_eob.cpp.

◆ closeDistanceAttack()

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

Definition at line 2102 of file eobcommon.cpp.

◆ closeDoor()

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

Definition at line 894 of file scene_eob.cpp.

◆ convertAsciiToSjis()

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

Definition at line 2037 of file eobcommon.cpp.

◆ countCharactersWithSpecificItems()

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

Definition at line 1314 of file eobcommon.cpp.

◆ countQueuedItems()

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

Definition at line 311 of file items_eob.cpp.

◆ countResurrectionCandidates()

int Kyra::EoBCoreEngine::countResurrectionCandidates ( )
protected

Definition at line 1893 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 142 of file items_eob.cpp.

◆ createItemOnCurrentBlock()

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

Definition at line 116 of file items_eob.cpp.

◆ createMagicWeaponItem()

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

Definition at line 692 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 668 of file magic_eob.cpp.

◆ delay()

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

Implements Kyra::KyraRpgEngine.

Definition at line 1834 of file eobcommon.cpp.

◆ deleteBlockItem()

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

Definition at line 186 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 167 of file items_eob.cpp.

◆ deletePartyItems()

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

Definition at line 270 of file items_eob.cpp.

◆ destroyWallOfForce()

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

Definition at line 731 of file magic_eob.cpp.

◆ disableSysTimer()

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

Reimplemented from Kyra::KyraRpgEngine.

Definition at line 96 of file timer_eob.cpp.

◆ displayParchment()

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

Definition at line 1843 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)
overrideprotectedvirtual

Implements Kyra::KyraRpgEngine.

Definition at line 638 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 478 of file items_eob.cpp.

◆ drawLightningColumn()

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

Reimplemented in Kyra::DarkMoonEngine.

Definition at line 858 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::EoBEngine, and Kyra::DarkMoonEngine.

◆ drawScene()

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

Implements Kyra::KyraRpgEngine.

Definition at line 548 of file scene_eob.cpp.

◆ drawSceneShapes()

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

Implements Kyra::KyraRpgEngine.

Definition at line 596 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 1653 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 1463 of file eobcommon.cpp.

◆ duplicateItem()

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

Definition at line 93 of file items_eob.cpp.

◆ eatItemInHand()

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

Definition at line 516 of file items_eob.cpp.

◆ enableSysTimer()

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

Reimplemented from Kyra::KyraRpgEngine.

Definition at line 58 of file timer_eob.cpp.

◆ endObjectFlight()

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

Definition at line 711 of file items_eob.cpp.

◆ exchangeCharacters()

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

Definition at line 1500 of file eobcommon.cpp.

◆ explodeMonster()

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

Definition at line 2662 of file eobcommon.cpp.

◆ explodeObject()

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

Definition at line 645 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 753 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 764 of file magic_eob.cpp.

◆ findSingleSpellTarget()

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

Definition at line 737 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 2371 of file eobcommon.cpp.

◆ flyingObjectPartyHit()

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

Definition at line 2380 of file eobcommon.cpp.

◆ generateCharacterHitpointsByLevel()

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

Definition at line 1059 of file eobcommon.cpp.

◆ generateMonsterPalettes()

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

Reimplemented in Kyra::DarkMoonEngine.

Definition at line 498 of file eobcommon.h.

◆ generateMonsterTempData()

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

Implements Kyra::KyraRpgEngine.

Definition at line 1394 of file saveload_eob.cpp.

◆ generateWallOfForceTempData()

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

Reimplemented from Kyra::KyraRpgEngine.

Definition at line 1409 of file saveload_eob.cpp.

◆ getBlockFileData() [1/2]

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

Definition at line 426 of file scene_eob.cpp.

◆ getBlockFileData() [2/2]

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

Implements Kyra::KyraRpgEngine.

Definition at line 399 of file scene_eob.cpp.

◆ getBlockFileName()

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

Definition at line 406 of file scene_eob.cpp.

◆ getCharacterClassType()

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

Definition at line 1096 of file eobcommon.cpp.

◆ getCharacterLevelIndex()

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

Definition at line 1301 of file eobcommon.cpp.

◆ getCharStrength()

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

Definition at line 1118 of file eobcommon.cpp.

◆ getClassAndConstHitpointsModifier()

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

Definition at line 1087 of file eobcommon.cpp.

◆ getClericPaladinLevel()

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

Definition at line 1270 of file eobcommon.cpp.

◆ getClock2Timer()

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

Implements Kyra::KyraRpgEngine.

Definition at line 360 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 2650 of file eobcommon.cpp.

◆ getDexterityArmorClassModifier()

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

Definition at line 1054 of file eobcommon.cpp.

◆ getMageLevel()

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

Definition at line 1290 of file eobcommon.cpp.

◆ getMagicWeaponSlot()

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

Definition at line 644 of file magic_eob.cpp.

◆ getModifiedHpLimits()

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

Definition at line 1100 of file eobcommon.cpp.

◆ getMonsterAcHitChanceModifier()

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

Definition at line 2655 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 1161 of file eobcommon.cpp.

◆ getNumClock2Timers()

uint8 Kyra::EoBCoreEngine::getNumClock2Timers ( )
inlineoverrideprotectedvirtual

Implements Kyra::KyraRpgEngine.

Definition at line 361 of file eobcommon.h.

◆ getQueuedItem()

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

Definition at line 342 of file items_eob.cpp.

◆ getRequiredExperience()

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

Definition at line 1544 of file eobcommon.cpp.

◆ getSaveThrowModifier()

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

Definition at line 2589 of file eobcommon.cpp.

◆ getStrDamageModifier()

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

Definition at line 2634 of file eobcommon.cpp.

◆ getStrHitChanceModifier()

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

Definition at line 2618 of file eobcommon.cpp.

◆ go()

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

Implements Kyra::KyraRpgEngine.

Definition at line 566 of file eobcommon.cpp.

◆ gui()

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

Implements Kyra::KyraRpgEngine.

Definition at line 261 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 464 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 574 of file gui_eob.cpp.

◆ gui_drawDialogueBox()

void Kyra::EoBCoreEngine::gui_drawDialogueBox ( )
protected

Definition at line 588 of file gui_eob.cpp.

◆ gui_drawFaceShape()

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

Definition at line 254 of file gui_eob.cpp.

◆ gui_drawFoodStatusGraph()

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

Definition at line 441 of file gui_eob.cpp.

◆ gui_drawHitpoints()

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

Definition at line 386 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 
)
overrideprotectedvirtual

Reimplemented from Kyra::KyraRpgEngine.

Definition at line 459 of file gui_eob.cpp.

◆ gui_drawInventoryItem()

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

Definition at line 530 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 595 of file gui_eob.cpp.

◆ gui_drawSpellbookScrollArrow()

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

Definition at line 707 of file gui_eob.cpp.

◆ gui_drawWeaponSlot()

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

Definition at line 315 of file gui_eob.cpp.

◆ gui_drawWeaponSlotStatus()

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

Definition at line 344 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 
)
overrideprotectedvirtual

Implements Kyra::KyraRpgEngine.

Definition at line 773 of file gui_eob.cpp.

◆ gui_processCharPortraitClick()

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

Definition at line 1286 of file gui_eob.cpp.

◆ gui_processInventorySlotClick()

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

Definition at line 1421 of file gui_eob.cpp.

◆ gui_processWeaponSlotClickLeft()

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

Definition at line 1297 of file gui_eob.cpp.

◆ gui_processWeaponSlotClickRight()

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

Definition at line 1315 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 768 of file gui_eob.cpp.

◆ gui_setInventoryButtons()

void Kyra::EoBCoreEngine::gui_setInventoryButtons ( )
protected

Definition at line 753 of file gui_eob.cpp.

◆ gui_setPlayFieldButtons()

void Kyra::EoBCoreEngine::gui_setPlayFieldButtons ( )
protected

Definition at line 748 of file gui_eob.cpp.

◆ gui_setStatsListButtons()

void Kyra::EoBCoreEngine::gui_setStatsListButtons ( )
protected

Definition at line 758 of file gui_eob.cpp.

◆ gui_setSwapCharacterButtons()

void Kyra::EoBCoreEngine::gui_setSwapCharacterButtons ( )
protected

Definition at line 763 of file gui_eob.cpp.

◆ gui_toggleButtons()

void Kyra::EoBCoreEngine::gui_toggleButtons ( )
protected

Definition at line 739 of file gui_eob.cpp.

◆ gui_updateControls()

void Kyra::EoBCoreEngine::gui_updateControls ( )
protected

Definition at line 731 of file gui_eob.cpp.

◆ gui_updateSlotAfterScrollUse()

void Kyra::EoBCoreEngine::gui_updateSlotAfterScrollUse ( )
protected

Definition at line 721 of file gui_eob.cpp.

◆ identifyQueuedItems()

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

Definition at line 466 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 1526 of file eobcommon.cpp.

◆ increaseCharacterLevel()

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

Definition at line 1553 of file eobcommon.cpp.

◆ increasePartyExperience()

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

Definition at line 1507 of file eobcommon.cpp.

◆ inflictCharacterDamage()

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

Definition at line 2271 of file eobcommon.cpp.

◆ inflictMonsterDamage()

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

Definition at line 2207 of file eobcommon.cpp.

◆ init()

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

Reimplemented from Kyra::KyraEngine_v1.

Definition at line 383 of file eobcommon.cpp.

◆ initButtonData()

void Kyra::EoBCoreEngine::initButtonData ( )
protected

Definition at line 561 of file staticres_eob.cpp.

◆ initDialogueSequence()

void Kyra::EoBCoreEngine::initDialogueSequence ( )
protected

Definition at line 1606 of file eobcommon.cpp.

◆ initKeymaps()

Common::KeymapArray Kyra::EoBCoreEngine::initKeymaps ( const Common::String ameId)
static

Definition at line 343 of file eobcommon.cpp.

◆ initLevelData()

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

Definition at line 148 of file scene_eob.cpp.

◆ initMenus()

void Kyra::EoBCoreEngine::initMenus ( )
protected

Definition at line 733 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 1389 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 832 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 503 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 304 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::EoBEngine, and Kyra::DarkMoonEngine.

◆ launchMagicObject()

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

Definition at line 567 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 537 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)
overrideprotectedvirtual

Implements Kyra::KyraRpgEngine.

Definition at line 384 of file scene_eob.cpp.

◆ loadDecorations()

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

Definition at line 431 of file scene_eob.cpp.

◆ loadDoorShapes() [1/2]

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

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

◆ loadDoorShapes() [2/2]

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

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

◆ loadGameState()

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

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 740 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 499 of file eobcommon.h.

◆ loadMonsterProperties()

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

Reimplemented in Kyra::DarkMoonEngine.

Definition at line 500 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 320 of file scene_eob.cpp.

◆ magicObjectDamageHit()

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

Definition at line 497 of file magic_eob.cpp.

◆ magicObjectStatusHit()

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

Definition at line 572 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 1341 of file eobcommon.cpp.

◆ monsterAttackHitTest()

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

Definition at line 2351 of file eobcommon.cpp.

◆ monsterCloseAttack()

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

Definition at line 2405 of file eobcommon.cpp.

◆ monsterSpellCast()

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

Definition at line 2472 of file eobcommon.cpp.

◆ moveParty()

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

Definition at line 717 of file scene_eob.cpp.

◆ neutralizePoison()

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

Definition at line 1354 of file eobcommon.cpp.

◆ notifyBlockNotPassable()

void Kyra::EoBCoreEngine::notifyBlockNotPassable ( )
protected

Definition at line 711 of file scene_eob.cpp.

◆ npcJoinDialogue()

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

Definition at line 1415 of file eobcommon.cpp.

◆ npcSequence()

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

Definition at line 1361 of file eobcommon.cpp.

◆ openDoor()

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

Definition at line 890 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 1438 of file eobcommon.cpp.

◆ printFullItemName()

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

Definition at line 374 of file items_eob.cpp.

◆ printNoEffectWarning()

void Kyra::EoBCoreEngine::printNoEffectWarning ( )
protected

Definition at line 791 of file magic_eob.cpp.

◆ printWarning()

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

Definition at line 786 of file magic_eob.cpp.

◆ projectileWeaponAttack()

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

Definition at line 2164 of file eobcommon.cpp.

◆ readLevelFileData()

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

Definition at line 115 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 ( )
overrideprotectedvirtual

Reimplemented from Kyra::KyraEngine_v1.

Definition at line 635 of file eobcommon.cpp.

◆ recalcArmorClass()

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

Definition at line 1173 of file eobcommon.cpp.

◆ registerDefaultSettings()

void Kyra::EoBCoreEngine::registerDefaultSettings ( )
overrideprotectedvirtual

Reimplemented from Kyra::KyraEngine_v1.

Definition at line 628 of file eobcommon.cpp.

◆ releaseDecorations()

void Kyra::EoBCoreEngine::releaseDecorations ( )
protected

Definition at line 515 of file scene_eob.cpp.

◆ releaseDoorShapes()

void Kyra::EoBCoreEngine::releaseDoorShapes ( )
protected

Definition at line 525 of file scene_eob.cpp.

◆ releaseItemsAndDecorationsShapes()

void Kyra::EoBCoreEngine::releaseItemsAndDecorationsShapes ( )
protected

Definition at line 892 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)
overrideprotectedvirtual

Implements Kyra::KyraRpgEngine.

Definition at line 1404 of file saveload_eob.cpp.

◆ releaseWallOfForceTempData()

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

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 733 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 1477 of file eobcommon.cpp.

◆ removeMagicWeaponItem()

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

Definition at line 715 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::EoBEngine, and Kyra::DarkMoonEngine.

◆ restoreAfterDialogueSequence()

void Kyra::EoBCoreEngine::restoreAfterDialogueSequence ( )
protected

Definition at line 1637 of file eobcommon.cpp.

◆ restoreMonsterTempData()

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

Implements Kyra::KyraRpgEngine.

Definition at line 1400 of file saveload_eob.cpp.

◆ restoreWallOfForceTempData()

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

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 1792 of file eobcommon.cpp.

◆ restParty_checkSpellsToLearn()

bool Kyra::EoBCoreEngine::restParty_checkSpellsToLearn ( )
protected

Definition at line 1807 of file eobcommon.cpp.

◆ restParty_displayWarning()

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

Definition at line 1726 of file eobcommon.cpp.

◆ restParty_extraAbortCondition()

bool Kyra::EoBCoreEngine::restParty_extraAbortCondition ( )
protectedvirtual

Reimplemented in Kyra::DarkMoonEngine.

Definition at line 1830 of file eobcommon.cpp.

◆ restParty_getCharacterWithLowestHp()

int Kyra::EoBCoreEngine::restParty_getCharacterWithLowestHp ( )
protected

Definition at line 1774 of file eobcommon.cpp.

◆ restParty_npc()

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

Reimplemented in Kyra::DarkMoonEngine.

Definition at line 841 of file eobcommon.h.

◆ restParty_updateMonsters()

bool Kyra::EoBCoreEngine::restParty_updateMonsters ( )
protected

Definition at line 1738 of file eobcommon.cpp.

◆ resurrectionSelectDialogue()

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

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

◆ runDialogue()

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

Definition at line 1705 of file eobcommon.cpp.

◆ runLevelScript()

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

Implements Kyra::KyraRpgEngine.

Definition at line 35 of file script_eob.cpp.

◆ runLoop()

void Kyra::EoBCoreEngine::runLoop ( )
protected

Definition at line 679 of file eobcommon.cpp.

◆ runNpcDialogue()

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

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

◆ 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 
)
overrideprotectedvirtual

Implements Kyra::KyraRpgEngine.

Definition at line 325 of file saveload_eob.cpp.

◆ savingThrowReduceDamage()

int Kyra::EoBCoreEngine::savingThrowReduceDamage ( int  savingThrowEffect,
int  damage 
)
protected

Definition at line 2604 of file eobcommon.cpp.

◆ screen()

Screen* Kyra::EoBCoreEngine::screen ( )
inlineoverridevirtual

Implements Kyra::KyraRpgEngine.

Definition at line 260 of file eobcommon.h.

◆ seq_playFinale()

virtual void Kyra::EoBCoreEngine::seq_playFinale ( )
protectedpure virtual

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

◆ seq_portal()

void Kyra::EoBCoreEngine::seq_portal ( )
protected

Definition at line 1934 of file eobcommon.cpp.

◆ seq_xdeath()

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

Reimplemented in Kyra::EoBEngine.

Definition at line 270 of file eobcommon.h.

◆ setBlockMonsterDirection()

void Kyra::EoBCoreEngine::setBlockMonsterDirection ( int  block,
int  dir 
)
protected

Definition at line 1237 of file sprites_eob.cpp.

◆ setCharEventTimer()

void Kyra::EoBCoreEngine::setCharEventTimer ( int  charIndex,
uint32  countdown,
int  evnt,
int  updateExistingTimer 
)
protected

Definition at line 108 of file timer_eob.cpp.

◆ setHandItem()

void Kyra::EoBCoreEngine::setHandItem ( Item  itemIndex)
overrideprotectedvirtual

Implements Kyra::KyraRpgEngine.

Definition at line 1021 of file eobcommon.cpp.

◆ setItemPosition()

void Kyra::EoBCoreEngine::setItemPosition ( Item itemQueue,
int  block,
Item  item,
int  pos 
)
protected

Definition at line 122 of file items_eob.cpp.

◆ setScriptFlags()

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

Definition at line 39 of file script_eob.cpp.

◆ setSpellEventTimer()

void Kyra::EoBCoreEngine::setSpellEventTimer ( int  spell,
int  timerBaseFactor,
int  timerLength,
int  timerLevelFactor,
int  updateExistingTimer 
)
protected

Definition at line 454 of file magic_eob.cpp.

◆ setupCharacterTimers()

void Kyra::EoBCoreEngine::setupCharacterTimers ( )
protected

Definition at line 165 of file timer_eob.cpp.

◆ setupDialogueButtons()

void Kyra::EoBCoreEngine::setupDialogueButtons ( int  presetfirst,
int  numStr,
va_list &  args 
)
protected

Definition at line 1574 of file eobcommon.cpp.

◆ setupTimers()

void Kyra::EoBCoreEngine::setupTimers ( )
overrideprotectedvirtual

Implements Kyra::KyraRpgEngine.

Definition at line 34 of file timer_eob.cpp.

◆ setWeaponSlotStatus()

void Kyra::EoBCoreEngine::setWeaponSlotStatus ( int  charIndex,
int  mode,
int  slot 
)
protected

Definition at line 1564 of file eobcommon.cpp.

◆ snd_fadeOut()

void Kyra::EoBCoreEngine::snd_fadeOut ( int  del = 160)
protected

Definition at line 2690 of file eobcommon.cpp.

◆ snd_loadAmigaSounds()

virtual void Kyra::EoBCoreEngine::snd_loadAmigaSounds ( int  level,
int  sub 
)
protectedpure virtual

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

◆ snd_playSong()

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

Definition at line 2674 of file eobcommon.cpp.

◆ snd_playSoundEffect()

void Kyra::EoBCoreEngine::snd_playSoundEffect ( int  id,
int  volume = 0xFF 
)
overrideprotectedvirtual

Reimplemented from Kyra::KyraEngine_v1.

Definition at line 2678 of file eobcommon.cpp.

◆ snd_stopSound()

void Kyra::EoBCoreEngine::snd_stopSound ( )
protected

Definition at line 2685 of file eobcommon.cpp.

◆ sortCharacterSpellList()

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

Definition at line 461 of file magic_eob.cpp.

◆ sparkEffectDefensive()

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

Definition at line 383 of file magic_eob.cpp.

◆ sparkEffectOffensive()

void Kyra::EoBCoreEngine::sparkEffectOffensive ( )
protected

Definition at line 425 of file magic_eob.cpp.

◆ specialAttackSavingThrow()

bool Kyra::EoBCoreEngine::specialAttackSavingThrow ( int  charIndex,
int  type 
)
protected

Definition at line 2585 of file eobcommon.cpp.

◆ specialWallAction()

int Kyra::EoBCoreEngine::specialWallAction ( int  block,
int  direction 
)
protected

Definition at line 838 of file scene_eob.cpp.

◆ spellCallback_end_aid()

bool Kyra::EoBCoreEngine::spellCallback_end_aid ( void *  obj)
protected

Definition at line 1168 of file magic_eob.cpp.

◆ spellCallback_end_detectMagic()

bool Kyra::EoBCoreEngine::spellCallback_end_detectMagic ( void *  )
protected

Definition at line 833 of file magic_eob.cpp.

◆ spellCallback_end_empty()

bool Kyra::EoBCoreEngine::spellCallback_end_empty ( void *  )
inlineprotected

Definition at line 995 of file eobcommon.h.

◆ spellCallback_end_fireball()

bool Kyra::EoBCoreEngine::spellCallback_end_fireball ( void *  obj)
protected

Definition at line 909 of file magic_eob.cpp.

◆ spellCallback_end_flameArrow()

bool Kyra::EoBCoreEngine::spellCallback_end_flameArrow ( void *  obj)
protected

Definition at line 918 of file magic_eob.cpp.

◆ spellCallback_end_flameStrike()

bool Kyra::EoBCoreEngine::spellCallback_end_flameStrike ( void *  obj)
protected

Definition at line 1250 of file magic_eob.cpp.

◆ spellCallback_end_holdMonster()

bool Kyra::EoBCoreEngine::spellCallback_end_holdMonster ( void *  obj)
protected

Definition at line 1057 of file magic_eob.cpp.

◆ spellCallback_end_holdPerson()

bool Kyra::EoBCoreEngine::spellCallback_end_holdPerson ( void *  obj)
protected

Definition at line 927 of file magic_eob.cpp.

◆ spellCallback_end_iceStorm()

bool Kyra::EoBCoreEngine::spellCallback_end_iceStorm ( void *  obj)
protected

Definition at line 997 of file magic_eob.cpp.

◆ spellCallback_end_lightningBolt()

bool Kyra::EoBCoreEngine::spellCallback_end_lightningBolt ( void *  obj)
protected

Definition at line 957 of file magic_eob.cpp.

◆ spellCallback_end_magicMissile()

bool Kyra::EoBCoreEngine::spellCallback_end_magicMissile ( void *  obj)
protected

Definition at line 842 of file magic_eob.cpp.

◆ spellCallback_end_melfsAcidArrow()

bool Kyra::EoBCoreEngine::spellCallback_end_melfsAcidArrow ( void *  obj)
protected

Definition at line 884 of file magic_eob.cpp.

◆ spellCallback_end_monster_causeCriticalWounds()

bool Kyra::EoBCoreEngine::spellCallback_end_monster_causeCriticalWounds ( void *  obj)
protected

Definition at line 1363 of file magic_eob.cpp.

◆ spellCallback_end_monster_deathSpell()

bool Kyra::EoBCoreEngine::spellCallback_end_monster_deathSpell ( void *  obj)
protected

Definition at line 1330 of file magic_eob.cpp.

◆ spellCallback_end_monster_disintegrate()

bool Kyra::EoBCoreEngine::spellCallback_end_monster_disintegrate ( void *  obj)
protected

Definition at line 1347 of file magic_eob.cpp.

◆ spellCallback_end_monster_fireball1()

bool Kyra::EoBCoreEngine::spellCallback_end_monster_fireball1 ( void *  obj)
protected

Definition at line 1310 of file magic_eob.cpp.

◆ spellCallback_end_monster_fireball2()

bool Kyra::EoBCoreEngine::spellCallback_end_monster_fireball2 ( void *  obj)
protected

Definition at line 1325 of file magic_eob.cpp.

◆ spellCallback_end_monster_fleshToStone()

bool Kyra::EoBCoreEngine::spellCallback_end_monster_fleshToStone ( void *  obj)
protected

Definition at line 1377 of file magic_eob.cpp.

◆ spellCallback_end_monster_lightningBolt()

bool Kyra::EoBCoreEngine::spellCallback_end_monster_lightningBolt ( void *  obj)
protected

Definition at line 1305 of file magic_eob.cpp.

◆ spellCallback_end_shockingGraspFlameBlade()

bool Kyra::EoBCoreEngine::spellCallback_end_shockingGraspFlameBlade ( void *  obj)
protected

Definition at line 861 of file magic_eob.cpp.

◆ spellCallback_end_slowPoison()

bool Kyra::EoBCoreEngine::spellCallback_end_slowPoison ( void *  obj)
protected

Definition at line 1199 of file magic_eob.cpp.

◆ spellCallback_end_trueSeeing()

bool Kyra::EoBCoreEngine::spellCallback_end_trueSeeing ( void *  )
protected

Definition at line 1123 of file magic_eob.cpp.

◆ spellCallback_end_vampiricTouch()

bool Kyra::EoBCoreEngine::spellCallback_end_vampiricTouch ( void *  obj)
protected

Definition at line 976 of file magic_eob.cpp.

◆ spellCallback_start_aid()

void Kyra::EoBCoreEngine::spellCallback_start_aid ( )
protected

Definition at line 1152 of file magic_eob.cpp.

◆ spellCallback_start_armor()

void Kyra::EoBCoreEngine::spellCallback_start_armor ( )
protected

Definition at line 795 of file magic_eob.cpp.

◆ spellCallback_start_burningHands()

void Kyra::EoBCoreEngine::spellCallback_start_burningHands ( )
protected

Definition at line 801 of file magic_eob.cpp.

◆ spellCallback_start_causeCriticalWounds()

void Kyra::EoBCoreEngine::spellCallback_start_causeCriticalWounds ( )
protected

Definition at line 1238 of file magic_eob.cpp.

◆ spellCallback_start_causeLightWounds()

void Kyra::EoBCoreEngine::spellCallback_start_causeLightWounds ( )
protected

Definition at line 1144 of file magic_eob.cpp.

◆ spellCallback_start_causeSeriousWounds()

void Kyra::EoBCoreEngine::spellCallback_start_causeSeriousWounds ( )
protected

Definition at line 1223 of file magic_eob.cpp.

◆ spellCallback_start_coneOfCold()

void Kyra::EoBCoreEngine::spellCallback_start_coneOfCold ( )
protected

Definition at line 1024 of file magic_eob.cpp.

◆ spellCallback_start_createFood()

void Kyra::EoBCoreEngine::spellCallback_start_createFood ( )
protected

Definition at line 1205 of file magic_eob.cpp.

◆ spellCallback_start_cureCriticalWounds()

void Kyra::EoBCoreEngine::spellCallback_start_cureCriticalWounds ( )
protected

Definition at line 1242 of file magic_eob.cpp.

◆ spellCallback_start_cureLightWounds()

void Kyra::EoBCoreEngine::spellCallback_start_cureLightWounds ( )
protected

Definition at line 1148 of file magic_eob.cpp.

◆ spellCallback_start_cureSeriousWounds()

void Kyra::EoBCoreEngine::spellCallback_start_cureSeriousWounds ( )
protected

Definition at line 1227 of file magic_eob.cpp.

◆ spellCallback_start_detectMagic()

void Kyra::EoBCoreEngine::spellCallback_start_detectMagic ( )
protected

Definition at line 829 of file magic_eob.cpp.

◆ spellCallback_start_disintegrate()

void Kyra::EoBCoreEngine::spellCallback_start_disintegrate ( )
protected

Definition at line 1095 of file magic_eob.cpp.

◆ spellCallback_start_dispelMagic()

void Kyra::EoBCoreEngine::spellCallback_start_dispelMagic ( )
protected

Definition at line 890 of file magic_eob.cpp.

◆ spellCallback_start_empty()

void Kyra::EoBCoreEngine::spellCallback_start_empty ( )
inlineprotected

Definition at line 994 of file eobcommon.h.

◆ spellCallback_start_fear()

void Kyra::EoBCoreEngine::spellCallback_start_fear ( )
protected

Definition at line 984 of file magic_eob.cpp.

◆ spellCallback_start_fireball()

void Kyra::EoBCoreEngine::spellCallback_start_fireball ( )
protected

Definition at line 905 of file magic_eob.cpp.

◆ spellCallback_start_flameArrow()

void Kyra::EoBCoreEngine::spellCallback_start_flameArrow ( )
protected

Definition at line 914 of file magic_eob.cpp.

◆ spellCallback_start_flameBlade()

void Kyra::EoBCoreEngine::spellCallback_start_flameBlade ( )
protected

Definition at line 1176 of file magic_eob.cpp.

◆ spellCallback_start_flameStrike()

void Kyra::EoBCoreEngine::spellCallback_start_flameStrike ( )
protected

Definition at line 1246 of file magic_eob.cpp.

◆ spellCallback_start_fleshToStone()

void Kyra::EoBCoreEngine::spellCallback_start_fleshToStone ( )
protected

Definition at line 1103 of file magic_eob.cpp.

◆ spellCallback_start_harm()

void Kyra::EoBCoreEngine::spellCallback_start_harm ( )
protected

Definition at line 1264 of file magic_eob.cpp.

◆ spellCallback_start_heal()

void Kyra::EoBCoreEngine::spellCallback_start_heal ( )
protected

Definition at line 1268 of file magic_eob.cpp.

◆ spellCallback_start_holdMonster()

void Kyra::EoBCoreEngine::spellCallback_start_holdMonster ( )
protected

Definition at line 1053 of file magic_eob.cpp.

◆ spellCallback_start_holdPerson()

void Kyra::EoBCoreEngine::spellCallback_start_holdPerson ( )
protected

Definition at line 923 of file magic_eob.cpp.

◆ spellCallback_start_iceStorm()

void Kyra::EoBCoreEngine::spellCallback_start_iceStorm ( )
protected

Definition at line 993 of file magic_eob.cpp.

◆ spellCallback_start_improvedIdentify()

void Kyra::EoBCoreEngine::spellCallback_start_improvedIdentify ( )
protected

Definition at line 872 of file magic_eob.cpp.

◆ spellCallback_start_layOnHands()

void Kyra::EoBCoreEngine::spellCallback_start_layOnHands ( )
protected

Definition at line 1276 of file magic_eob.cpp.

◆ spellCallback_start_lightningBolt()

void Kyra::EoBCoreEngine::spellCallback_start_lightningBolt ( )
protected

Definition at line 953 of file magic_eob.cpp.

◆ spellCallback_start_magicMissile()

void Kyra::EoBCoreEngine::spellCallback_start_magicMissile ( )
protected

Definition at line 838 of file magic_eob.cpp.

◆ spellCallback_start_melfsAcidArrow()

void Kyra::EoBCoreEngine::spellCallback_start_melfsAcidArrow ( )
protected

Definition at line 880 of file magic_eob.cpp.

◆ spellCallback_start_neutralizePoison()

void Kyra::EoBCoreEngine::spellCallback_start_neutralizePoison ( )
protected

Definition at line 1231 of file magic_eob.cpp.

◆ spellCallback_start_powerWordStun()

void Kyra::EoBCoreEngine::spellCallback_start_powerWordStun ( )
protected

Definition at line 1136 of file magic_eob.cpp.

◆ spellCallback_start_raiseDead()

void Kyra::EoBCoreEngine::spellCallback_start_raiseDead ( )
protected

Definition at line 1255 of file magic_eob.cpp.

◆ spellCallback_start_removeCurse()

void Kyra::EoBCoreEngine::spellCallback_start_removeCurse ( )
protected

Definition at line 1016 of file magic_eob.cpp.

◆ spellCallback_start_removeParalysis()

void Kyra::EoBCoreEngine::spellCallback_start_removeParalysis ( )
protected

Definition at line 1213 of file magic_eob.cpp.

◆ spellCallback_start_shockingGrasp()

void Kyra::EoBCoreEngine::spellCallback_start_shockingGrasp ( )
protected

Definition at line 847 of file magic_eob.cpp.

◆ spellCallback_start_slayLiving()

void Kyra::EoBCoreEngine::spellCallback_start_slayLiving ( )
protected

Definition at line 1128 of file magic_eob.cpp.

◆ spellCallback_start_slowPoison()

void Kyra::EoBCoreEngine::spellCallback_start_slowPoison ( )
protected

Definition at line 1190 of file magic_eob.cpp.

◆ spellCallback_start_stoneSkin()

void Kyra::EoBCoreEngine::spellCallback_start_stoneSkin ( )
protected

Definition at line 1012 of file magic_eob.cpp.

◆ spellCallback_start_stoneToFlesh()

void Kyra::EoBCoreEngine::spellCallback_start_stoneToFlesh ( )
protected

Definition at line 1112 of file magic_eob.cpp.

◆ spellCallback_start_trueSeeing()

void Kyra::EoBCoreEngine::spellCallback_start_trueSeeing ( )
protected

Definition at line 1119 of file magic_eob.cpp.

◆ spellCallback_start_turnUndead()

void Kyra::EoBCoreEngine::spellCallback_start_turnUndead ( )
protected

Definition at line 1280 of file magic_eob.cpp.

◆ spellCallback_start_vampiricTouch()

void Kyra::EoBCoreEngine::spellCallback_start_vampiricTouch ( )
protected

Definition at line 962 of file magic_eob.cpp.

◆ spellCallback_start_wallOfForce()

void Kyra::EoBCoreEngine::spellCallback_start_wallOfForce ( )
protected

Definition at line 1065 of file magic_eob.cpp.

◆ startCharacterGeneration()

bool Kyra::EoBCoreEngine::startCharacterGeneration ( )
protected

Definition at line 1991 of file chargen.cpp.

◆ startPartyTransfer()

bool Kyra::EoBCoreEngine::startPartyTransfer ( )
protected

Definition at line 1996 of file chargen.cpp.

◆ startSpell()

void Kyra::EoBCoreEngine::startSpell ( int  spell)
protected

Definition at line 305 of file magic_eob.cpp.

◆ startupLoad()

virtual void Kyra::EoBCoreEngine::startupLoad ( )
protectedpure virtual

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

◆ startupNew()

void Kyra::EoBCoreEngine::startupNew ( )
protectedvirtual

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

Definition at line 668 of file eobcommon.cpp.

◆ statusAttack()

void Kyra::EoBCoreEngine::statusAttack ( int  charIndex,
int  attackStatusFlags,
const char *  attackStatusString,
int  savingThrowType,
uint32  effectDuration,
int  restoreEvent,
int  noRefresh 
)
protected

Definition at line 2477 of file eobcommon.cpp.

◆ stripPartyItems()

int Kyra::EoBCoreEngine::stripPartyItems ( int16  itemType,
int16  itemValue,
int  handleValueMode,
int  numItems 
)
protected

Definition at line 243 of file items_eob.cpp.

◆ testCharacter()

int Kyra::EoBCoreEngine::testCharacter ( int16  index,
int  flags 
)
protected

Definition at line 1130 of file eobcommon.cpp.

◆ thrownAttack()

int Kyra::EoBCoreEngine::thrownAttack ( int  charIndex,
int  slotIndex,
Item  item 
)
protected

Definition at line 2152 of file eobcommon.cpp.

◆ timerProcessCharacterExchange()

void Kyra::EoBCoreEngine::timerProcessCharacterExchange ( int  timerNum)
protected

Definition at line 233 of file timer_eob.cpp.

◆ timerProcessFlyingObjects()

void Kyra::EoBCoreEngine::timerProcessFlyingObjects ( int  timerNum)
protected

Definition at line 245 of file timer_eob.cpp.

◆ timerProcessMonsters()

void Kyra::EoBCoreEngine::timerProcessMonsters ( int  timerNum)
protected

Definition at line 284 of file timer_eob.cpp.

◆ timerSpecialCharacterUpdate()

void Kyra::EoBCoreEngine::timerSpecialCharacterUpdate ( int  timerNum)
protected

Definition at line 288 of file timer_eob.cpp.

◆ timerUpdateFoodStatus()

void Kyra::EoBCoreEngine::timerUpdateFoodStatus ( int  timerNum)
protected

Definition at line 399 of file timer_eob.cpp.

◆ timerUpdateMonsterIdleAnim()

void Kyra::EoBCoreEngine::timerUpdateMonsterIdleAnim ( int  timerNum)
protected

Definition at line 412 of file timer_eob.cpp.

◆ timerUpdateTeleporters()

void Kyra::EoBCoreEngine::timerUpdateTeleporters ( int  timerNum)
protected

Definition at line 388 of file timer_eob.cpp.

◆ toggleWallState()

void Kyra::EoBCoreEngine::toggleWallState ( int  wall,
int  flags 
)
protected

Definition at line 534 of file scene_eob.cpp.

◆ tryMonsterAttackEvasion()

bool Kyra::EoBCoreEngine::tryMonsterAttackEvasion ( EoBMonsterInPlay m)
protected

Definition at line 2614 of file eobcommon.cpp.

◆ trySavingThrow()

bool Kyra::EoBCoreEngine::trySavingThrow ( void *  target,
int  hpModifier,
int  level,
int  type,
int  race 
)
protected

Definition at line 2570 of file eobcommon.cpp.

◆ turnFriendlyMonstersHostile()

void Kyra::EoBCoreEngine::turnFriendlyMonstersHostile ( )
protected

Definition at line 770 of file sprites_eob.cpp.

◆ turnUndeadAuto()