diff options
Diffstat (limited to 'engines/dreamweb/stubs.h')
-rw-r--r-- | engines/dreamweb/stubs.h | 69 |
1 files changed, 62 insertions, 7 deletions
diff --git a/engines/dreamweb/stubs.h b/engines/dreamweb/stubs.h index 7c8cee4690..d25a8d13b7 100644 --- a/engines/dreamweb/stubs.h +++ b/engines/dreamweb/stubs.h @@ -25,7 +25,7 @@ void clearwork(); void multidump(); void multidump(uint16 x, uint16 y, uint8 width, uint8 height); - void frameoutv(uint8 *dst, const uint8 *src, uint16 pitch, uint16 width, uint16 height, uint16 x, uint16 y); + void frameoutv(uint8 *dst, const uint8 *src, uint16 pitch, uint16 width, uint16 height, int16 x, int16 y); void frameoutnm(uint8 *dst, const uint8 *src, uint16 pitch, uint16 width, uint16 height, uint16 x, uint16 y); void frameoutbh(uint8 *dst, const uint8 *src, uint16 pitch, uint16 width, uint16 height, uint16 x, uint16 y); void frameoutfx(uint8 *dst, const uint8 *src, uint16 pitch, uint16 width, uint16 height, uint16 x, uint16 y); @@ -47,6 +47,9 @@ void printchar(const Frame* charSet, uint16 *x, uint16 y, uint8 c, uint8 nextChar, uint8 *width, uint8 *height); void printdirect(); void printdirect(const uint8** string, uint16 x, uint16 *y, uint8 maxWidth, bool centered); + void printdirect(const uint8* string, uint16 x, uint16 y, uint8 maxWidth, bool centered); + void printmessage(uint16 x, uint16 y, uint8 index, uint8 maxWidth, bool centered); + void printmessage(); void usetimedtext(); void dumptimedtext(); void setuptimedtemp(); @@ -74,7 +77,6 @@ void multiput(); void eraseoldobs(); void clearsprites(); - void makesprite(); Sprite *makesprite(uint8 x, uint8 y, uint16 updateCallback, uint16 frameData, uint16 somethingInDi); void spriteupdate(); void initman(); @@ -82,7 +84,7 @@ void facerightway(); void walking(Sprite *sprite); void autosetwalk(); - void checkdest(const uint8 *roomsPaths); + void checkdest(const RoomPaths *roomsPaths); void aboutturn(Sprite *sprite); void backobject(Sprite *sprite); void constant(Sprite *sprite, SetObject *objData); @@ -97,13 +99,19 @@ void findsource(); Frame *findsourceCPP(); void showgamereel(); + void showgamereel(ReelRoutine *routine); void showreelframe(); void showreelframe(Reel *reel); const Frame *getreelframeax(uint16 frame); - void turnpathonCPP(uint8 param); - void turnpathoffCPP(uint8 param); - void getroomspaths(); - uint8 *getroomspathsCPP(); + void turnpathon(uint8 param); + void turnpathoff(uint8 param); + void turnpathon(); + void turnpathoff(); + void turnanypathon(uint8 param, uint8 room); + void turnanypathoff(uint8 param, uint8 room); + void turnanypathon(); + void turnanypathoff(); + RoomPaths *getroomspaths(); void makebackob(SetObject *objData); void modifychar(); void lockmon(); @@ -123,6 +131,8 @@ bool checkifperson(uint8 x, uint8 y); void checkiffree(); bool checkiffree(uint8 x, uint8 y); + void checkifex(); + bool checkifex(uint8 x, uint8 y); const uint8 *findobname(uint8 type, uint8 index); void copyname(); void copyname(uint8 type, uint8 index, uint8 *dst); @@ -157,6 +167,8 @@ DynObject *getexad(uint8 index); DynObject *geteitheradCPP(); SetObject *getsetad(uint8 index); + void *getanyad(uint8 *value1, uint8 *value2); + void *getanyaddir(uint8 index, uint8 flag); void setallchanges(); void dochange(); void dochange(uint8 index, uint8 value, uint8 type); @@ -167,6 +179,7 @@ void removesetobject(); void removesetobject(uint8 index); void showallfree(); + void showallex(); bool finishedwalkingCPP(); void finishedwalking(); void checkone(); @@ -191,4 +204,46 @@ void readmouse4(); uint16 waitframes(); void drawflags(); + void addtopeoplelist(); + void addtopeoplelist(ReelRoutine *routine); + void getexpos(); + void paneltomap(); + void maptopanel(); + void dumpmap(); + void obpicture(); + void transferinv(); + void obicons(); + void compare(); + bool compare(uint8 index, uint8 flag, const char id[4]); + bool pixelcheckset(const ObjPos *pos, uint8 x, uint8 y); + bool isitdescribed(const ObjPos *objPos); + void checkifset(); + bool checkifset(uint8 x, uint8 y); + void checkifpathison(); + bool checkifpathison(uint8 index); + void isitworn(); + bool isitworn(const DynObject *object); + void makeworn(); + void makeworn(DynObject *object); + void obtoinv(); + void obtoinv(uint8 index, uint8 flag, uint16 x, uint16 y); + void showryanpage(); + void findallryan(); + void findallryan(uint8 *inv); + void fillryan(); + void useroutine(); + void hangon(); + void hangon(uint16 frameCount); + void hangonp(); + void hangonp(uint16 count); + uint8 findnextcolon(uint8 **string); + void findnextcolon(); + uint8 *getobtextstartCPP(); + void usetext(const uint8 *string); + void usetext(); + void getblockofpixel(); + uint8 getblockofpixel(uint8 x, uint8 y); + void bresenhams(); + void examineobtext(); + |