aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb/stubs.h
diff options
context:
space:
mode:
authorFilippos Karapetis2011-12-26 22:31:50 +0200
committerFilippos Karapetis2011-12-26 22:31:50 +0200
commit1ba4f0a1a8965ee141987693770d2bcd3b74c292 (patch)
tree219b94744b859c5acce9a92483dccf15bd0bb47d /engines/dreamweb/stubs.h
parent4c66f74b58e9a2c191f22a37f485047dd19be131 (diff)
downloadscummvm-rg350-1ba4f0a1a8965ee141987693770d2bcd3b74c292.tar.gz
scummvm-rg350-1ba4f0a1a8965ee141987693770d2bcd3b74c292.tar.bz2
scummvm-rg350-1ba4f0a1a8965ee141987693770d2bcd3b74c292.zip
Revert "DREAMWEB: Remove dead code and move most functions to DreamBase"
This reverts commit 4c66f74b58e9a2c191f22a37f485047dd19be131. These functions aren't ready to be moved yet till the remaining two are finished, and they're so crossreferenced that the safest thing to do is revert this commit and break it down to smaller chunks
Diffstat (limited to 'engines/dreamweb/stubs.h')
-rw-r--r--engines/dreamweb/stubs.h95
1 files changed, 87 insertions, 8 deletions
diff --git a/engines/dreamweb/stubs.h b/engines/dreamweb/stubs.h
index c464163f68..7fa403bbb7 100644
--- a/engines/dreamweb/stubs.h
+++ b/engines/dreamweb/stubs.h
@@ -22,22 +22,101 @@
#ifndef DREAMWEB_STUBS_H
#define DREAMWEB_STUBS_H
- void monMessage();
- void monMessage(uint8 index) {
- DreamBase::monMessage(index);
+ void screenUpdate();
+ void startup1();
+ void multiGet();
+ void multiGet(uint8 *dst, uint16 x, uint16 y, uint8 width, uint8 height) {
+ DreamBase::multiGet(dst, x, y, width, height);
+ }
+ void multiPut();
+ void multiPut(const uint8 *src, uint16 x, uint16 y, uint8 width, uint8 height) {
+ DreamBase::multiPut(src, x, y, width, height);
+ }
+ void multiDump();
+ void multiDump(uint16 x, uint16 y, uint8 width, uint8 height) {
+ DreamBase::multiDump(x, y, width, height);
+ }
+ void quickQuit();
+ void readOneBlock();
+ void seeCommandTail();
+ void quickQuit2();
+ void printDirect();
+ uint8 printDirect(const uint8** string, uint16 x, uint16 *y, uint8 maxWidth, bool centered) {
+ return DreamBase::printDirect(string, x, y, maxWidth, centered);
+ }
+ uint8 printDirect(const uint8* string, uint16 x, uint16 y, uint8 maxWidth, bool centered) {
+ return DreamBase::printDirect(string, x, y, maxWidth, centered);
+ }
+ void width160();
+ bool checkIfPerson(uint8 x, uint8 y);
+ bool checkIfFree(uint8 x, uint8 y);
+ bool checkIfEx(uint8 x, uint8 y);
+ DynObject *getFreeAd(uint8 index) {
+ return DreamBase::getFreeAd(index);
+ }
+ DynObject *getExAd(uint8 index) {
+ return DreamBase::getExAd(index);
+ }
+ void *getAnyAd(uint8 *slotSize, uint8 *slotCount) {
+ return DreamBase::getAnyAd(slotSize, slotCount);
+ }
+ SetObject *getSetAd(uint8 index) {
+ return DreamBase::getSetAd(index);
+ }
+ void walkAndExamine();
+ void obName(uint8 command, uint8 commandType);
+
+ bool checkIfSet(uint8 x, uint8 y);
+ void obToInv();
+ void obToInv(uint8 index, uint8 flag, uint16 x, uint16 y) {
+ DreamBase::obToInv(index, flag, x, y);
+ }
+ void useRoutine();
+ void examineOb(bool examineAgain = true);
+ void dumpWatch();
+ void watchCount();
+ void readSetData();
+ void useMon();
+ void makeCaps();
+ byte makeCaps(byte c) {
+ return DreamBase::makeCaps(c);
}
void monPrint();
const char *monPrint(const char *string) {
return DreamBase::monPrint(string);
}
- void useRoutine();
+ void randomAccess();
+ void randomAccess(uint16 count) {
+ DreamBase::randomAccess(count);
+ }
+ void monMessage();
+ void monMessage(uint8 index) {
+ DreamBase::monMessage(index);
+ }
+ void look();
+ void autoLook();
+ void doLook();
+ void useKey();
void useObject();
- void makeCaps();
- void useMon();
- void selectOb();
+ void singleKey(uint8 key, uint16 x, uint16 y);
+ void inventory();
+ void mainScreen();
+ void zoomOnOff();
+ void initialInv();
+ void walkIntoRoom();
+ void allPointer();
+ void afterNewRoom();
+ void madmanRun();
+ void showGun();
+ void triggerMessage(uint16 index);
+ void processTrigger();
bool execCommand();
+ void identifyOb();
+ void selectOb();
+ void getKeyAndLogo();
+ void signOn();
+ void searchForFiles(uint16 segment);
void read();
void dirCom();
- void getKeyAndLogo();
#endif