aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb/stubs.h
diff options
context:
space:
mode:
authorMax Horn2011-12-07 12:09:09 +0100
committerMax Horn2011-12-07 14:14:43 +0100
commite862aa4f7cc9bacc2dc59f46c501fef9404ceee5 (patch)
tree3d18e190023c408d6b99491a0b423704f7ed7966 /engines/dreamweb/stubs.h
parent0737888e0f4a49205a804ecfe883c462c7817499 (diff)
downloadscummvm-rg350-e862aa4f7cc9bacc2dc59f46c501fef9404ceee5.tar.gz
scummvm-rg350-e862aa4f7cc9bacc2dc59f46c501fef9404ceee5.tar.bz2
scummvm-rg350-e862aa4f7cc9bacc2dc59f46c501fef9404ceee5.zip
DREAMWEB: Turn workspace from a segment into a plain array
Diffstat (limited to 'engines/dreamweb/stubs.h')
-rw-r--r--engines/dreamweb/stubs.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/dreamweb/stubs.h b/engines/dreamweb/stubs.h
index e896acdd98..88d6b071cc 100644
--- a/engines/dreamweb/stubs.h
+++ b/engines/dreamweb/stubs.h
@@ -30,9 +30,7 @@
void switchRyanOff();
uint16 allocateMem(uint16 paragraphs);
void deallocateMem(uint16 segment);
- uint8 *workspace();
uint8 *textUnder();
- void allocateWork();
void clearWork();
uint16 standardLoad(const char *fileName, uint16 *outSizeInBytes = NULL); // Returns a segment handle which needs to be freed with deallocatemem for symmetry
void *standardLoadCPP(const char *fileName, uint16 *outSizeInBytes = NULL); // And this one should be 'free'd
@@ -354,6 +352,7 @@
void openForSave(unsigned int slot);
bool openForLoad(unsigned int slot);
uint16 allocateAndLoad(unsigned int size);
+ void clearAndLoad(uint8 *buf, uint8 c, unsigned int size, unsigned int maxSize);
void clearAndLoad(uint16 seg, uint8 c, unsigned int size, unsigned int maxSize);
void loadRoomData(const Room &room, bool skipDat);
void restoreAll();