diff options
author | athrxx | 2011-11-06 23:06:05 +0100 |
---|---|---|
committer | Johannes Schickel | 2011-12-26 16:18:15 +0100 |
commit | a944990a6896e9e667e987a3cb3d3d8affc0e5b3 (patch) | |
tree | ecade21f8f1f98265e144ce47d3c4e180b1b35dd /engines/kyra/eobcommon.h | |
parent | 812ea181b86aab153592c16bceea6a32b39b3cf4 (diff) | |
download | scummvm-rg350-a944990a6896e9e667e987a3cb3d3d8affc0e5b3.tar.gz scummvm-rg350-a944990a6896e9e667e987a3cb3d3d8affc0e5b3.tar.bz2 scummvm-rg350-a944990a6896e9e667e987a3cb3d3d8affc0e5b3.zip |
KYRA: (EOB) - rename some saving throw related data
Diffstat (limited to 'engines/kyra/eobcommon.h')
-rw-r--r-- | engines/kyra/eobcommon.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/kyra/eobcommon.h b/engines/kyra/eobcommon.h index 795b0178d2..e4c06fefcd 100644 --- a/engines/kyra/eobcommon.h +++ b/engines/kyra/eobcommon.h @@ -326,7 +326,7 @@ protected: static const uint8 _hpIncrPerLevel[]; static const uint8 _numLevelsPerClass[]; static const int16 _hpConstModifiers[]; - static const uint8 _charClassModUnk[]; + static const uint8 _charClassModifier[]; const uint8 *_classModifierFlags; @@ -406,10 +406,10 @@ protected: const char *const *_levelGainStrings; const uint32 *_expRequirementTables[6]; - const uint8 *_constModTables[6]; - const uint8 *_constModLevelIndex; - const uint8 *_constModDiv; - const uint8 *_constModExt; + const uint8 *_saveThrowTables[6]; + const uint8 *_saveThrowLevelIndex; + const uint8 *_saveThrowModDiv; + const uint8 *_saveThrowModExt; const EobCharacter *_npcPreset; int _npcSequenceSub; @@ -891,7 +891,7 @@ protected: 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 getConstModifierTableValue(int hpModifier, int level, int b); + int getSaveThrowModifier(int hpModifier, int level, int type); bool calcDamageCheckItemType(int itemType); int savingThrowReduceDamage(int savingThrowEffect, int damage); bool tryMonsterAttackEvasion(EobMonsterInPlay *m); |