diff options
author | athrxx | 2011-06-09 23:59:11 +0200 |
---|---|---|
committer | Johannes Schickel | 2011-12-26 16:18:10 +0100 |
commit | 80ece6caaef652e4d0f618ab793c11b00fcf9441 (patch) | |
tree | 3cc93801de0d064bf2418655f875c530fec298d5 /engines/kyra/eobcommon.h | |
parent | aa031bf98ef1b6da485122fabef1178f6101aded (diff) | |
download | scummvm-rg350-80ece6caaef652e4d0f618ab793c11b00fcf9441.tar.gz scummvm-rg350-80ece6caaef652e4d0f618ab793c11b00fcf9441.tar.bz2 scummvm-rg350-80ece6caaef652e4d0f618ab793c11b00fcf9441.zip |
KYRA: (EOB) - replace snprintf/sprintf
Diffstat (limited to 'engines/kyra/eobcommon.h')
-rw-r--r-- | engines/kyra/eobcommon.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/kyra/eobcommon.h b/engines/kyra/eobcommon.h index 1ad7b91aca..e88ab84d7a 100644 --- a/engines/kyra/eobcommon.h +++ b/engines/kyra/eobcommon.h @@ -345,7 +345,7 @@ protected: int getClassAndConstHitpointsModifier(int cclass, int constitution); int getClassHpIncreaseType(int cclass, int levelIndex); int getModifiedHpLimits(int hpModifier, int constModifier, int level, bool mode); - const char *getCharStrength(int str, int strExt); + Common::String getCharStrength(int str, int strExt); int testCharacter(int index, int flags); int getNextValidCharIndex(int curCharIndex, int searchStep); @@ -374,7 +374,7 @@ protected: void setWeaponSlotStatus(int charIndex, int mode, int slot); EobCharacter *_characters; - char _strenghtStr[6]; + Common::String _strenghtStr; int _castScrollSlot; int _exchangeCharacterId; @@ -525,7 +525,7 @@ protected: // Level void loadLevel(int level, int func); - const char *initLevelData(int func); + Common::String initLevelData(int func); void addLevelItems(); void loadVcnData(const char *file, const char */*nextFile*/); void loadBlockProperties(const char *mazFile); @@ -562,7 +562,7 @@ protected: SpriteDecoration *_doorSwitches; int8 _currentSub; - char _curGfxFile[13]; + Common::String _curGfxFile; uint32 _drawSceneTimer; uint32 _flashShapeTimer; |