diff options
author | Gregory Montoir | 2004-01-12 13:40:02 +0000 |
---|---|---|
committer | Gregory Montoir | 2004-01-12 13:40:02 +0000 |
commit | 95de2117a20da3b9828a385b4a6713e4d9524aa8 (patch) | |
tree | 6b13647be7a0340bc5c7227208a2880d890666e5 /queen/journal.h | |
parent | a685422a138c99af7f95f8deaf787425af356f9b (diff) | |
download | scummvm-rg350-95de2117a20da3b9828a385b4a6713e4d9524aa8.tar.gz scummvm-rg350-95de2117a20da3b9828a385b4a6713e4d9524aa8.tar.bz2 scummvm-rg350-95de2117a20da3b9828a385b4a6713e4d9524aa8.zip |
New save/load code, this *breaks* compatiblity with the previous
savefile format. Use the 'qsc' tool to convert your old files
(http://0x.7fc1.org/fotaq/qsc.[cpp|exe]).
svn-id: r12339
Diffstat (limited to 'queen/journal.h')
-rw-r--r-- | queen/journal.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/queen/journal.h b/queen/journal.h index 108285a20d..025ced4e71 100644 --- a/queen/journal.h +++ b/queen/journal.h @@ -98,8 +98,6 @@ public: enum { SAVE_PER_PAGE = 10, - MAX_SAVE_DESC_LEN = 32, - MAX_SAVE_DESC_NUM = 10 * SAVE_PER_PAGE, MAX_PANEL_TEXTS = 4 * 2 }; @@ -121,7 +119,6 @@ private: void showBob(int bobNum, int16 x, int16 y, int frameNum); void hideBob(int bobNum); - void findSaveDescriptions(); void drawSaveDescriptions(); void drawSaveSlot(); @@ -151,16 +148,11 @@ private: void initEditBuffer(const char *desc); void updateEditBuffer(uint16 ascii, int keycode); - void makeSavegameName(char *buf, int slot = -1); - void saveState(int slot, const char *desc); - void loadState(int slot); - - struct { bool enable; int posCursor; uint textCharsCount; - char text[MAX_SAVE_DESC_LEN]; + char text[32]; } _edit; int _currentSavePage; @@ -172,7 +164,7 @@ private: int _panelTextY[MAX_PANEL_TEXTS]; uint16 _prevZoneNum; - char _saveDescriptions[MAX_SAVE_DESC_NUM][MAX_SAVE_DESC_LEN]; + char _saveDescriptions[100][32]; Mode _mode; bool _quit; bool _quitCleanly; |