2011-07-19 10:26:40 +00:00
|
|
|
/* ScummVM - Graphic Adventure Engine
|
|
|
|
*
|
|
|
|
* ScummVM is the legal property of its developers, whose names
|
|
|
|
* are too numerous to list here. Please refer to the COPYRIGHT
|
|
|
|
* file distributed with this source distribution.
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
|
|
|
* of the License, or (at your option) any later version.
|
|
|
|
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
|
|
*
|
|
|
|
*/
|
2011-12-05 15:06:58 +00:00
|
|
|
#ifndef DREAMWEB_STUBS_H
|
|
|
|
#define DREAMWEB_STUBS_H
|
|
|
|
|
2011-12-01 19:43:43 +00:00
|
|
|
void screenUpdate();
|
2011-11-20 20:26:18 +00:00
|
|
|
bool quitRequested();
|
2011-11-20 18:53:58 +00:00
|
|
|
void startup();
|
|
|
|
void startup1();
|
2011-12-01 19:43:43 +00:00
|
|
|
void switchRyanOn();
|
|
|
|
void switchRyanOff();
|
|
|
|
uint16 allocateMem(uint16 paragraphs);
|
|
|
|
void deallocateMem(uint16 segment);
|
2011-07-27 12:56:02 +00:00
|
|
|
uint8 *workspace();
|
2011-11-18 05:30:12 +00:00
|
|
|
uint8 *textUnder();
|
2011-12-01 19:43:43 +00:00
|
|
|
void allocateWork();
|
|
|
|
void clearWork();
|
2011-12-04 16:53:55 +00:00
|
|
|
uint16 standardLoad(const char *fileName, uint16 *outSizeInBytes = NULL); // Returns a segment handle which needs to be freed with deallocatemem for symmetry
|
2011-12-04 17:29:34 +00:00
|
|
|
void *standardLoadCPP(const char *fileName, uint16 *outSizeInBytes = NULL); // And this one should be 'free'd
|
2011-12-01 19:43:43 +00:00
|
|
|
void loadIntoTemp();
|
|
|
|
void loadIntoTemp(const char *fileName);
|
|
|
|
void loadIntoTemp2(const char *fileName);
|
|
|
|
void loadIntoTemp3(const char *fileName);
|
|
|
|
void loadTempCharset();
|
|
|
|
void loadTempCharset(const char *fileName);
|
|
|
|
void saveLoad();
|
|
|
|
void printCurs();
|
|
|
|
void delCurs();
|
2011-12-04 18:00:04 +00:00
|
|
|
void delChar();
|
2011-12-01 19:43:43 +00:00
|
|
|
void hangOnCurs(uint16 frameCount);
|
|
|
|
void hangOnCurs();
|
|
|
|
void multiDump();
|
|
|
|
void multiDump(uint16 x, uint16 y, uint8 width, uint8 height);
|
|
|
|
void workToScreen();
|
2011-11-18 13:58:23 +00:00
|
|
|
void workToScreenCPP();
|
2011-12-04 18:48:51 +00:00
|
|
|
uint8 *mapStore();
|
2011-12-01 19:43:43 +00:00
|
|
|
void multiGet();
|
|
|
|
void multiGet(uint8 *dst, uint16 x, uint16 y, uint8 width, uint8 height);
|
|
|
|
void printSprites();
|
|
|
|
void quickQuit();
|
|
|
|
void readOneBlock();
|
2011-12-04 19:03:16 +00:00
|
|
|
void readCityPic();
|
2011-12-04 19:18:08 +00:00
|
|
|
void readDestIcon();
|
2011-12-01 19:43:43 +00:00
|
|
|
void seeCommandTail();
|
|
|
|
void randomNumber();
|
|
|
|
void quickQuit2();
|
|
|
|
void printBoth(const Frame* charSet, uint16 *x, uint16 y, uint8 c, uint8 nextChar);
|
|
|
|
void printChar(const Frame* charSet, uint16 *x, uint16 y, uint8 c, uint8 nextChar, uint8 *width, uint8 *height);
|
|
|
|
void printChar(const Frame* charSet, uint16 x, uint16 y, uint8 c, uint8 nextChar, uint8 *width, uint8 *height);
|
|
|
|
void printDirect();
|
|
|
|
uint8 printDirect(const uint8** string, uint16 x, uint16 *y, uint8 maxWidth, bool centered);
|
|
|
|
uint8 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(uint8 textIndex, uint8 voiceIndex, uint8 x, uint8 y, uint16 countToTimed, uint16 timeCount);
|
|
|
|
void getUnderTimed();
|
|
|
|
void putUnderTimed();
|
|
|
|
uint8 printSlow(const uint8 *string, uint16 x, uint16 y, uint8 maxWidth, bool centered);
|
|
|
|
void dumpTextLine();
|
|
|
|
void oldToNames();
|
|
|
|
void namesToOld();
|
|
|
|
void loadPalFromIFF();
|
2011-12-03 13:54:00 +00:00
|
|
|
void startLoading(const Room &room);
|
2011-12-01 19:43:43 +00:00
|
|
|
Sprite *spriteTable();
|
|
|
|
void showFrame();
|
|
|
|
void showFrame(const Frame *frameData, uint16 x, uint16 y, uint16 frameNumber, uint8 effectsFlag, uint8 *width, uint8 *height);
|
|
|
|
void showFrame(const Frame *frameData, uint16 x, uint16 y, uint16 frameNumber, uint8 effectsFlag);
|
|
|
|
void printASprite(const Sprite *sprite);
|
2011-06-26 13:10:18 +00:00
|
|
|
void width160();
|
2011-12-01 19:43:43 +00:00
|
|
|
void multiPut(const uint8 *src, uint16 x, uint16 y, uint8 width, uint8 height);
|
|
|
|
void multiPut();
|
|
|
|
void eraseOldObs();
|
|
|
|
void clearSprites();
|
|
|
|
Sprite *makeSprite(uint8 x, uint8 y, uint16 updateCallback, uint16 frameData, uint16 somethingInDi);
|
|
|
|
void spriteUpdate();
|
|
|
|
void initMan();
|
|
|
|
void mainMan(Sprite *sprite);
|
2011-12-03 16:47:38 +00:00
|
|
|
void mainMan();
|
2011-12-01 19:43:43 +00:00
|
|
|
void faceRightWay();
|
2011-07-25 21:54:54 +00:00
|
|
|
void walking(Sprite *sprite);
|
2011-12-01 19:43:43 +00:00
|
|
|
void autoSetWalk();
|
|
|
|
void checkDest(const RoomPaths *roomsPaths);
|
|
|
|
void aboutTurn(Sprite *sprite);
|
|
|
|
void backObject(Sprite *sprite);
|
2011-12-03 16:47:38 +00:00
|
|
|
void backObject();
|
2011-08-23 12:41:28 +00:00
|
|
|
void constant(Sprite *sprite, SetObject *objData);
|
|
|
|
void steady(Sprite *sprite, SetObject *objData);
|
2011-12-04 14:08:17 +00:00
|
|
|
void randomSprite(Sprite *sprite, SetObject *objData);
|
2011-12-01 19:43:43 +00:00
|
|
|
void doDoor(Sprite *sprite, SetObject *objData, Common::Rect check);
|
2011-08-23 12:41:28 +00:00
|
|
|
void doorway(Sprite *sprite, SetObject *objData);
|
2011-12-01 19:43:43 +00:00
|
|
|
void wideDoor(Sprite *sprite, SetObject *objData);
|
|
|
|
void lockedDoorway(Sprite *sprite, SetObject *objData);
|
|
|
|
void liftSprite(Sprite *sprite, SetObject *objData);
|
|
|
|
Frame *findSource();
|
|
|
|
void showGameReel();
|
|
|
|
void showGameReel(ReelRoutine *routine);
|
|
|
|
void showReelFrame(Reel *reel);
|
|
|
|
const Frame *getReelFrameAX(uint16 frame);
|
|
|
|
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 lockMon();
|
|
|
|
void cancelCh0();
|
|
|
|
void cancelCh1();
|
|
|
|
void plotReel();
|
|
|
|
Reel *getReelStart();
|
|
|
|
void dealWithSpecial(uint8 firstParam, uint8 secondParam);
|
2011-08-03 10:24:06 +00:00
|
|
|
void zoom();
|
2011-08-03 11:54:03 +00:00
|
|
|
void crosshair();
|
2011-12-01 19:43:43 +00:00
|
|
|
void showRain();
|
|
|
|
void delTextLine();
|
|
|
|
void commandOnly();
|
|
|
|
void commandOnly(uint8 command);
|
|
|
|
void doBlocks();
|
|
|
|
void checkIfPerson();
|
|
|
|
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);
|
|
|
|
void commandWithOb();
|
|
|
|
void commandWithOb(uint8 command, uint8 type, uint8 index);
|
|
|
|
void showPanel();
|
|
|
|
void updatePeople();
|
2011-12-03 17:53:20 +00:00
|
|
|
void madman(ReelRoutine &routine);
|
2011-12-01 19:43:43 +00:00
|
|
|
void madmanText();
|
|
|
|
void madMode();
|
|
|
|
void moveMap(uint8 param);
|
|
|
|
bool addAlong(const uint8 *mapFlags);
|
|
|
|
bool addLength(const uint8 *mapFlags);
|
|
|
|
void getDimension();
|
|
|
|
void getDimension(uint8 *mapXstart, uint8 *mapYstart, uint8 *mapXsize, uint8 *mapYsize);
|
|
|
|
void getMapAd();
|
|
|
|
void calcMapAd();
|
|
|
|
uint8 getMapAd(const uint8 *setData);
|
|
|
|
uint8 getXAd(const uint8 *setData, uint8 *result);
|
|
|
|
uint8 getYAd(const uint8 *setData, uint8 *result);
|
|
|
|
void calcFrFrame();
|
|
|
|
void calcFrFrame(uint8* width, uint8* height);
|
|
|
|
void finalFrame();
|
|
|
|
void finalFrame(uint16 *x, uint16 *y);
|
|
|
|
void showAllObs();
|
|
|
|
void blockNameText();
|
|
|
|
void walkToText();
|
|
|
|
void personNameText();
|
|
|
|
void findXYFromPath();
|
|
|
|
void findOrMake();
|
|
|
|
void findOrMake(uint8 index, uint8 value, uint8 type);
|
|
|
|
DynObject *getFreeAd(uint8 index);
|
|
|
|
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(uint8 index, uint8 value, uint8 type);
|
|
|
|
void deleteTaken();
|
2011-08-16 01:15:43 +00:00
|
|
|
bool isCD();
|
2011-12-01 19:43:43 +00:00
|
|
|
void placeSetObject();
|
|
|
|
void placeSetObject(uint8 index);
|
|
|
|
void removeSetObject();
|
|
|
|
void removeSetObject(uint8 index);
|
|
|
|
void showAllFree();
|
|
|
|
void showAllEx();
|
|
|
|
bool finishedWalkingCPP();
|
|
|
|
void finishedWalking();
|
|
|
|
void checkOne();
|
|
|
|
void checkOne(uint8 x, uint8 y, uint8 *flag, uint8 *flagEx, uint8 *type, uint8 *flagX, uint8 *flagY);
|
|
|
|
void getFlagUnderP();
|
|
|
|
void getFlagUnderP(uint8 *flag, uint8 *flagEx);
|
|
|
|
void walkAndExamine();
|
|
|
|
void obName();
|
|
|
|
void obName(uint8 command, uint8 commandType);
|
|
|
|
void delPointer();
|
|
|
|
void showBlink();
|
|
|
|
void dumpBlink();
|
|
|
|
void dumpPointer();
|
|
|
|
void showPointer();
|
|
|
|
void animPointer();
|
|
|
|
void checkCoords();
|
|
|
|
void checkCoords(const RectWithCallback *rectWithCallbacks);
|
|
|
|
void readMouse();
|
2011-11-20 18:54:19 +00:00
|
|
|
uint16 readMouseState();
|
2011-12-01 19:43:43 +00:00
|
|
|
uint16 waitFrames();
|
|
|
|
void drawFlags();
|
|
|
|
void addToPeopleList();
|
|
|
|
void addToPeopleList(ReelRoutine *routine);
|
|
|
|
void getExPos();
|
|
|
|
void panelToMap();
|
|
|
|
void mapToPanel();
|
|
|
|
void dumpMap();
|
|
|
|
void obPicture();
|
|
|
|
void transferInv();
|
|
|
|
void obIcons();
|
2011-08-31 22:06:30 +00:00
|
|
|
void compare();
|
|
|
|
bool compare(uint8 index, uint8 flag, const char id[4]);
|
2011-12-01 19:43:43 +00:00
|
|
|
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 wornError();
|
|
|
|
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 hangOnW();
|
|
|
|
void hangOnW(uint16 frameCount);
|
|
|
|
void hangOnP();
|
|
|
|
void hangOnP(uint16 count);
|
|
|
|
void showIcon();
|
|
|
|
uint8 findNextColon(uint8 **string);
|
|
|
|
void findNextColon();
|
|
|
|
uint8 *getObTextStartCPP();
|
|
|
|
void useText(const uint8 *string);
|
|
|
|
void useText();
|
|
|
|
void getBlockOfPixel();
|
|
|
|
uint8 getBlockOfPixel(uint8 x, uint8 y);
|
2011-09-18 13:33:24 +00:00
|
|
|
void bresenhams();
|
2011-12-01 19:43:43 +00:00
|
|
|
void examineObText();
|
|
|
|
void sortOutMap();
|
|
|
|
void showCity();
|
|
|
|
uint16 getPersFrame(uint8 index);
|
|
|
|
void convIcons();
|
|
|
|
void examineOb(bool examineAgain = true);
|
|
|
|
void showWatch();
|
|
|
|
void dumpWatch();
|
|
|
|
void showTime();
|
|
|
|
void roomName();
|
|
|
|
void transferText();
|
|
|
|
void initRain();
|
|
|
|
Rain *splitIntoLines(uint8 x, uint8 y, Rain *rain);
|
2011-11-16 12:26:15 +00:00
|
|
|
uint8 *mainPalette();
|
|
|
|
uint8 *startPalette();
|
|
|
|
uint8 *endPalette();
|
2011-12-01 19:43:43 +00:00
|
|
|
void clearStartPal();
|
|
|
|
void clearEndPal();
|
|
|
|
void palToStartPal();
|
|
|
|
void endPalToStart();
|
|
|
|
void startPalToEnd();
|
|
|
|
void palToEndPal();
|
|
|
|
void fadeCalculation();
|
|
|
|
void watchCount();
|
|
|
|
void zoomIcon();
|
|
|
|
void loadRoom();
|
|
|
|
void getUnderMenu();
|
|
|
|
void putUnderMenu();
|
|
|
|
void textForMonk();
|
2011-12-06 10:35:47 +00:00
|
|
|
void textForMonkHelper(uint8 textIndex, uint8 voiceIndex, uint8 x, uint8 y, uint16 countToTimed, uint16 timeCount);
|
2011-12-01 19:43:43 +00:00
|
|
|
void textForEnd();
|
2011-12-06 10:35:47 +00:00
|
|
|
void monks2text();
|
|
|
|
void intro1Text();
|
|
|
|
void intro2Text();
|
|
|
|
void intro3Text();
|
2011-12-01 19:43:43 +00:00
|
|
|
void readSetData();
|
|
|
|
void loadRoomsSample();
|
|
|
|
void fadeupYellows();
|
|
|
|
void fadeupMonFirst();
|
|
|
|
void printLogo();
|
2011-12-03 14:44:29 +00:00
|
|
|
void loadMenu();
|
2011-12-03 14:46:43 +00:00
|
|
|
void showMenu();
|
2011-12-03 14:57:47 +00:00
|
|
|
void dumpMenu();
|
2011-12-03 14:31:29 +00:00
|
|
|
void useMenu();
|
2011-12-01 19:43:43 +00:00
|
|
|
void useMon();
|
|
|
|
void scrollMonitor();
|
|
|
|
void showCurrentFile();
|
2011-11-18 06:48:07 +00:00
|
|
|
void input();
|
2011-12-01 19:43:43 +00:00
|
|
|
void monPrint();
|
|
|
|
const char *monPrint(const char *string);
|
2011-11-20 13:06:48 +00:00
|
|
|
Frame *tempGraphics();
|
|
|
|
Frame *tempGraphics2();
|
|
|
|
Frame *tempGraphics3();
|
2011-12-01 19:43:43 +00:00
|
|
|
void accessLightOn();
|
|
|
|
void accessLightOff();
|
|
|
|
void randomAccess(uint16 count);
|
|
|
|
void randomAccess();
|
|
|
|
void monMessage(uint8 index);
|
|
|
|
void monMessage();
|
|
|
|
void netError();
|
|
|
|
void turnOnPower();
|
|
|
|
void powerLightOn();
|
|
|
|
void powerLightOff();
|
|
|
|
void playChannel0();
|
|
|
|
void playChannel0(uint8 index, uint8 repeat);
|
|
|
|
void playChannel1();
|
|
|
|
void playChannel1(uint8 index);
|
|
|
|
void showMainOps();
|
|
|
|
void showDiscOps();
|
|
|
|
void createPanel();
|
|
|
|
void createPanel2();
|
|
|
|
void findRoomInLoc();
|
|
|
|
void reelsOnScreen();
|
2011-11-23 09:23:18 +00:00
|
|
|
void reconstruct();
|
2011-11-23 14:49:49 +00:00
|
|
|
void look();
|
2011-12-01 19:43:43 +00:00
|
|
|
void autoLook();
|
|
|
|
void doLook();
|
|
|
|
void useTempCharset();
|
|
|
|
void useCharset1();
|
|
|
|
void getBackFromOb();
|
2011-12-04 16:37:22 +00:00
|
|
|
void getRidOfAll();
|
2011-12-03 17:41:20 +00:00
|
|
|
void getRidOfTemp();
|
|
|
|
void getRidOfTempText();
|
|
|
|
void getRidOfTemp2();
|
|
|
|
void getRidOfTemp3();
|
|
|
|
void getRidOfTempCharset();
|
|
|
|
void getRidOfTempsP();
|
2011-12-01 19:43:43 +00:00
|
|
|
void showFirstUse();
|
|
|
|
void showSecondUse();
|
|
|
|
void actualSave();
|
|
|
|
void actualLoad();
|
|
|
|
void loadPosition(unsigned int slot);
|
|
|
|
void savePosition(unsigned int slot, const uint8 *descbuf);
|
|
|
|
void openForSave(unsigned int slot);
|
2011-12-03 14:18:45 +00:00
|
|
|
bool openForLoad(unsigned int slot);
|
2011-11-26 19:36:56 +00:00
|
|
|
uint16 allocateAndLoad(unsigned int size);
|
|
|
|
void clearAndLoad(uint16 seg, uint8 c, unsigned int size, unsigned int maxSize);
|
2011-12-03 13:54:00 +00:00
|
|
|
void loadRoomData(const Room &room, bool skipDat);
|
2011-12-01 19:43:43 +00:00
|
|
|
void restoreAll();
|
|
|
|
void restoreReels();
|
2011-12-03 19:10:15 +00:00
|
|
|
void enterSymbol();
|
2011-12-01 19:43:43 +00:00
|
|
|
void viewFolder();
|
2011-12-05 20:40:25 +00:00
|
|
|
void edensCDPlayer();
|
|
|
|
void hotelBell();
|
|
|
|
void playGuitar();
|
DREAMWEB: 'calledensdlift', 'calledenslift', 'sitdowninbar', 'trapdoor', 'usebalcony', 'usechurchhole', 'usecoveredbox', 'useelevator2', 'useelevator5', 'usedryer', 'userailing', 'usewindow', 'wearwatch', 'wearshades' ported to C++
2011-12-06 01:20:30 +00:00
|
|
|
void callEdensDLift();
|
|
|
|
void callEdensLift();
|
|
|
|
void sitDownInBar();
|
|
|
|
void trapDoor();
|
|
|
|
void useBalcony();
|
|
|
|
void useChurchHole();
|
|
|
|
void useCoveredBox();
|
2011-12-05 20:40:25 +00:00
|
|
|
void useElevator1();
|
DREAMWEB: 'calledensdlift', 'calledenslift', 'sitdowninbar', 'trapdoor', 'usebalcony', 'usechurchhole', 'usecoveredbox', 'useelevator2', 'useelevator5', 'usedryer', 'userailing', 'usewindow', 'wearwatch', 'wearshades' ported to C++
2011-12-06 01:20:30 +00:00
|
|
|
void useElevator2();
|
2011-12-05 20:40:25 +00:00
|
|
|
void useElevator3();
|
|
|
|
void useElevator4();
|
DREAMWEB: 'calledensdlift', 'calledenslift', 'sitdowninbar', 'trapdoor', 'usebalcony', 'usechurchhole', 'usecoveredbox', 'useelevator2', 'useelevator5', 'usedryer', 'userailing', 'usewindow', 'wearwatch', 'wearshades' ported to C++
2011-12-06 01:20:30 +00:00
|
|
|
void useElevator5();
|
|
|
|
void useDryer();
|
|
|
|
void useRailing();
|
|
|
|
void useWindow();
|
2011-12-05 20:40:25 +00:00
|
|
|
void useHatch();
|
|
|
|
void wheelSound();
|
2011-12-05 23:16:38 +00:00
|
|
|
void callHotelLift();
|
|
|
|
void useShield();
|
2011-12-06 02:54:59 +00:00
|
|
|
void useWall();
|
2011-12-06 11:17:28 +00:00
|
|
|
void useChurchGate();
|
|
|
|
void useFullCart();
|
2011-12-06 12:13:54 +00:00
|
|
|
void useClearBox();
|
2011-12-06 14:46:26 +00:00
|
|
|
void usePlate();
|
2011-12-06 15:46:50 +00:00
|
|
|
void usePlinth();
|
|
|
|
void useElvDoor();
|
|
|
|
void useObject();
|
2011-12-06 17:54:03 +00:00
|
|
|
void useWinch();
|
2011-12-06 21:01:59 +00:00
|
|
|
void useCardReader1();
|
|
|
|
void useCardReader2();
|
|
|
|
void useCardReader3();
|
|
|
|
void usePoolReader();
|
2011-12-06 20:24:15 +00:00
|
|
|
bool defaultUseHandler(const char *id);
|
2011-12-06 12:13:54 +00:00
|
|
|
void openTVDoor();
|
DREAMWEB: 'calledensdlift', 'calledenslift', 'sitdowninbar', 'trapdoor', 'usebalcony', 'usechurchhole', 'usecoveredbox', 'useelevator2', 'useelevator5', 'usedryer', 'userailing', 'usewindow', 'wearwatch', 'wearshades' ported to C++
2011-12-06 01:20:30 +00:00
|
|
|
void wearWatch();
|
|
|
|
void wearShades();
|
2011-11-29 09:27:02 +00:00
|
|
|
void checkFolderCoords();
|
2011-12-01 19:43:43 +00:00
|
|
|
void loadFolder();
|
|
|
|
void showFolder();
|
|
|
|
void showLeftPage();
|
|
|
|
void showRightPage();
|
|
|
|
void nextFolder();
|
|
|
|
void lastFolder();
|
|
|
|
void folderHints();
|
|
|
|
void folderExit();
|
|
|
|
uint8 getLocation(uint8 index);
|
|
|
|
void getLocation();
|
|
|
|
void setLocation(uint8 index);
|
|
|
|
void setLocation();
|
2011-11-28 17:28:09 +00:00
|
|
|
const uint8 *getTextInFile1(uint16 index);
|
2011-12-01 19:43:43 +00:00
|
|
|
void loadTempText();
|
|
|
|
void loadTempText(const char *fileName);
|
|
|
|
void loadTravelText();
|
|
|
|
void drawFloor();
|
|
|
|
void allocateBuffers();
|
|
|
|
void workToScreenM();
|
2011-12-04 13:48:29 +00:00
|
|
|
bool checkSpeed(ReelRoutine &routine);
|
2011-12-01 19:43:43 +00:00
|
|
|
void checkSpeed();
|
|
|
|
void sparkyDrip(ReelRoutine &routine);
|
2011-12-05 19:50:57 +00:00
|
|
|
void genericPerson(ReelRoutine &routine);
|
2011-12-01 13:55:38 +00:00
|
|
|
void gamer(ReelRoutine &routine);
|
2011-12-01 14:55:50 +00:00
|
|
|
void eden(ReelRoutine &routine);
|
2011-12-01 15:21:16 +00:00
|
|
|
void sparky(ReelRoutine &routine);
|
2011-12-03 16:31:29 +00:00
|
|
|
void rockstar(ReelRoutine &routine);
|
2011-12-03 19:01:51 +00:00
|
|
|
void madmansTelly(ReelRoutine &routine);
|
2011-12-04 13:22:13 +00:00
|
|
|
void smokeBloke(ReelRoutine &routine);
|
2011-12-04 13:45:07 +00:00
|
|
|
void manAsleep(ReelRoutine &routine);
|
2011-12-04 14:44:03 +00:00
|
|
|
void drunk(ReelRoutine &routine);
|
2011-12-05 23:31:38 +00:00
|
|
|
void introMagic1(ReelRoutine &routine);
|
2011-12-05 23:51:10 +00:00
|
|
|
void introMusic(ReelRoutine &routine);
|
2011-12-05 23:54:50 +00:00
|
|
|
void candles(ReelRoutine &routine);
|
2011-12-06 00:38:40 +00:00
|
|
|
void gates(ReelRoutine &routine);
|
2011-12-04 14:50:12 +00:00
|
|
|
void security(ReelRoutine &routine);
|
2011-12-05 21:51:36 +00:00
|
|
|
void edenInBath(ReelRoutine &routine);
|
|
|
|
void louis(ReelRoutine &routine);
|
2011-12-05 22:06:04 +00:00
|
|
|
void handClap(ReelRoutine &routine);
|
2011-12-05 23:16:38 +00:00
|
|
|
void carParkDrip(ReelRoutine &routine);
|
2011-12-06 00:34:01 +00:00
|
|
|
void foghornSound(ReelRoutine &routine);
|
2011-12-06 20:18:17 +00:00
|
|
|
void train(ReelRoutine &routine);
|
2011-12-07 08:40:33 +00:00
|
|
|
void attendant(ReelRoutine &routine);
|
|
|
|
void keeper(ReelRoutine &routine);
|
2011-12-02 11:07:53 +00:00
|
|
|
void singleKey(uint8 key, uint16 x, uint16 y);
|
2011-12-04 23:45:42 +00:00
|
|
|
void loadSaveBox();
|
2011-12-04 22:58:53 +00:00
|
|
|
void loadKeypad();
|
2011-12-02 11:42:03 +00:00
|
|
|
void showKeypad();
|
2011-12-03 14:22:11 +00:00
|
|
|
void showOuterPad();
|
2011-12-05 00:17:21 +00:00
|
|
|
uint8 nextSymbol(uint8 symbol);
|
2011-12-04 23:50:51 +00:00
|
|
|
void showSymbol();
|
2011-12-04 15:31:11 +00:00
|
|
|
void showExit();
|
2011-12-04 15:40:03 +00:00
|
|
|
void showMan();
|
2011-12-04 15:47:43 +00:00
|
|
|
void panelIcons1();
|
2011-12-04 16:04:51 +00:00
|
|
|
void examIcon();
|
2011-12-02 15:05:44 +00:00
|
|
|
void buttonOne();
|
|
|
|
void buttonTwo();
|
|
|
|
void buttonThree();
|
|
|
|
void buttonFour();
|
|
|
|
void buttonFive();
|
|
|
|
void buttonSix();
|
|
|
|
void buttonSeven();
|
|
|
|
void buttonEight();
|
|
|
|
void buttonNine();
|
|
|
|
void buttonNought();
|
|
|
|
void buttonEnter();
|
2011-12-02 15:50:58 +00:00
|
|
|
void buttonPress(uint8 buttonId);
|
2011-12-02 17:18:31 +00:00
|
|
|
void addToPressList();
|
2011-12-02 17:05:10 +00:00
|
|
|
bool isItRight(uint8 digit0, uint8 digit1, uint8 digit2, uint8 digit3);
|
2011-12-02 16:49:55 +00:00
|
|
|
void enterCode(uint8 digit0, uint8 digit1, uint8 digit2, uint8 digit3);
|
2011-12-03 14:18:45 +00:00
|
|
|
unsigned int scanForNames();
|
2011-12-03 15:54:39 +00:00
|
|
|
void doLoad(int slot);
|
2011-12-03 15:46:44 +00:00
|
|
|
void loadOld();
|
2011-12-03 16:47:38 +00:00
|
|
|
void inventory();
|
|
|
|
void mainScreen();
|
|
|
|
void loadGame();
|
|
|
|
void saveGame();
|
|
|
|
void zoomOnOff();
|
2011-12-03 18:50:25 +00:00
|
|
|
void atmospheres();
|
2011-12-03 19:47:12 +00:00
|
|
|
void loadPersonal();
|
|
|
|
void loadNews();
|
|
|
|
void loadCart();
|
2011-12-03 20:43:32 +00:00
|
|
|
void soundOnReels();
|
2011-12-04 09:11:28 +00:00
|
|
|
void readKey();
|
2011-12-05 13:07:47 +00:00
|
|
|
void hangOne(uint16 delay);
|
|
|
|
void hangOne();
|
2011-12-05 18:26:08 +00:00
|
|
|
void showPCX(const Common::String &name);
|
2011-12-05 16:02:46 +00:00
|
|
|
void bibleQuote();
|
2011-12-05 17:16:43 +00:00
|
|
|
void realCredits();
|
2011-12-05 18:50:34 +00:00
|
|
|
void intro();
|
2011-12-05 22:22:46 +00:00
|
|
|
void fadeScreenUp();
|
|
|
|
void fadeScreenUps();
|
|
|
|
void fadeScreenUpHalf();
|
|
|
|
void fadeScreenDown();
|
|
|
|
void fadeScreenDowns();
|
2011-12-05 22:46:06 +00:00
|
|
|
void clearBeforeLoad();
|
|
|
|
void clearReels();
|
|
|
|
void getRidOfReels();
|
2011-12-06 00:03:32 +00:00
|
|
|
void setMode();
|
2011-12-06 00:34:01 +00:00
|
|
|
void liftNoise(uint8 index);
|
2011-12-06 01:34:36 +00:00
|
|
|
void setTopLeft();
|
|
|
|
void setTopRight();
|
|
|
|
void setBotLeft();
|
|
|
|
void setBotRight();
|
2011-12-06 01:49:32 +00:00
|
|
|
void newGame();
|
|
|
|
void getBackFromOps();
|
|
|
|
void getBackToOps();
|
2011-12-06 01:59:45 +00:00
|
|
|
void pickupOb(uint8 command, uint8 pos);
|
|
|
|
void initialInv();
|
2011-12-06 02:19:57 +00:00
|
|
|
void walkIntoRoom();
|
|
|
|
void loadIntroRoom();
|
|
|
|
void afterIntroRoom();
|
|
|
|
void gettingShot();
|
|
|
|
void redrawMainScrn();
|
|
|
|
void selectSlot2();
|
2011-12-06 02:33:36 +00:00
|
|
|
void blank();
|
|
|
|
void allPointer();
|
2011-12-06 02:44:54 +00:00
|
|
|
void openYourNeighbour();
|
|
|
|
void openRyan();
|
|
|
|
void openPoolBoss();
|
|
|
|
void openEden();
|
|
|
|
void openSarters();
|
|
|
|
void openLouis();
|
2011-12-06 02:55:59 +00:00
|
|
|
void DOSReturn();
|
2011-12-06 03:25:39 +00:00
|
|
|
void setWalk();
|
2011-12-06 03:45:36 +00:00
|
|
|
void useLadder();
|
|
|
|
void useLadderB();
|
2011-12-06 17:54:03 +00:00
|
|
|
void useCart();
|
|
|
|
void useTrainer();
|
|
|
|
void useHole();
|
|
|
|
void chewy();
|
2011-12-06 03:45:36 +00:00
|
|
|
void sLabDoorA();
|
2011-12-06 17:54:03 +00:00
|
|
|
void sLabDoorB();
|
2011-12-06 03:45:36 +00:00
|
|
|
void sLabDoorC();
|
|
|
|
void sLabDoorE();
|
|
|
|
void sLabDoorD();
|
|
|
|
void sLabDoorF();
|
2011-12-06 18:17:19 +00:00
|
|
|
void openHotelDoor();
|
|
|
|
void openHotelDoor2();
|
|
|
|
void grafittiDoor();
|
|
|
|
void openTomb();
|
|
|
|
void hotelControl();
|
2011-12-06 10:59:18 +00:00
|
|
|
void obsThatDoThings();
|
|
|
|
void makeMainScreen();
|
|
|
|
void openInv();
|
2011-12-06 13:58:20 +00:00
|
|
|
void delEverything();
|
|
|
|
void clearPalette();
|
|
|
|
void errorMessage1();
|
|
|
|
void errorMessage2();
|
|
|
|
void errorMessage3();
|
2011-12-06 14:46:26 +00:00
|
|
|
void reExFromOpen();
|
|
|
|
void nextDest();
|
|
|
|
void lastDest();
|
|
|
|
void destSelect();
|
|
|
|
void putBackObStuff();
|
2011-12-06 22:31:00 +00:00
|
|
|
void moreTalk();
|
|
|
|
void redes();
|
2011-12-06 23:42:35 +00:00
|
|
|
void isSetObOnMap();
|
|
|
|
bool isSetObOnMap(uint8 index);
|
2011-12-06 23:50:26 +00:00
|
|
|
void dumpKeypad();
|
|
|
|
void dumpSymbol();
|
|
|
|
void dumpSymBox();
|
|
|
|
void dumpZoom();
|
2011-12-07 10:02:23 +00:00
|
|
|
void fadeDOS();
|
2011-09-18 13:33:24 +00:00
|
|
|
|
2011-12-05 15:06:58 +00:00
|
|
|
#endif
|