diff options
author | Florian Kagerer | 2010-10-23 16:01:40 +0000 |
---|---|---|
committer | Florian Kagerer | 2010-10-23 16:01:40 +0000 |
commit | 09f77eb4642eae4e945f8c10554ce204aff450e0 (patch) | |
tree | 681573361b2214f0a425d5bb5156774807eb8790 /engines/kyra/screen_lol.h | |
parent | 0d54400806f5e25ea60e56d2fa84de3643c50f8c (diff) | |
download | scummvm-rg350-09f77eb4642eae4e945f8c10554ce204aff450e0.tar.gz scummvm-rg350-09f77eb4642eae4e945f8c10554ce204aff450e0.tar.bz2 scummvm-rg350-09f77eb4642eae4e945f8c10554ce204aff450e0.zip |
LOL: - fix invalid mem access
- also extend LordHoto's recent item code changes to LOL
svn-id: r53740
Diffstat (limited to 'engines/kyra/screen_lol.h')
-rw-r--r-- | engines/kyra/screen_lol.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/kyra/screen_lol.h b/engines/kyra/screen_lol.h index 52e66df1ec..9f4d751d0c 100644 --- a/engines/kyra/screen_lol.h +++ b/engines/kyra/screen_lol.h @@ -43,8 +43,9 @@ public: void setScreenDim(int dim); const ScreenDim *getScreenDim(int dim); - int curDimIndex() { return _curDimIndex; } + int curDimIndex() const { return _curDimIndex; } void modifyScreenDim(int dim, int x, int y, int w, int h); + int screenDimTableCount() const { return _screenDimTableCount; } void fprintString(const char *format, int x, int y, uint8 col1, uint8 col2, uint16 flags, ...) GCC_PRINTF(2, 8); void fprintStringIntro(const char *format, int x, int y, uint8 c1, uint8 c2, uint8 c3, uint16 flags, ...) GCC_PRINTF(2, 9); |