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-07-27 12:56:02 +00:00
|
|
|
uint8 *workspace();
|
2011-06-26 13:10:18 +00:00
|
|
|
void multidump();
|
2011-07-19 14:45:48 +00:00
|
|
|
void multidump(uint16 x, uint16 y, uint8 width, uint8 height);
|
2011-07-20 19:41:52 +00:00
|
|
|
void frameoutv(uint8 *dst, const uint8 *src, uint16 pitch, uint16 width, uint16 height, uint16 x, uint16 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);
|
2011-06-26 13:10:18 +00:00
|
|
|
void worktoscreen();
|
|
|
|
void multiget();
|
2011-07-23 17:24:35 +00:00
|
|
|
void multiget(uint16 x, uint16 y, uint8 width, uint8 height);
|
2011-06-26 13:10:18 +00:00
|
|
|
void convertkey();
|
|
|
|
void cls();
|
2011-06-26 13:17:19 +00:00
|
|
|
void printsprites();
|
2011-06-26 13:10:18 +00:00
|
|
|
void quickquit();
|
|
|
|
void readoneblock();
|
|
|
|
void printundermon();
|
|
|
|
void seecommandtail();
|
|
|
|
void randomnumber();
|
|
|
|
void quickquit2();
|
2011-07-17 12:38:30 +00:00
|
|
|
void getnextword();
|
2011-07-19 06:57:10 +00:00
|
|
|
uint8 getnextword(const uint8 *string, uint8 *totalWidth, uint8 *charCount);
|
2011-07-20 18:58:03 +00:00
|
|
|
void printboth();
|
2011-07-28 22:05:43 +00:00
|
|
|
void printboth(uint16 src, uint16 *x, uint16 y, uint8 c, uint8 nextChar);
|
2011-07-18 20:27:06 +00:00
|
|
|
void printchar();
|
2011-07-28 22:05:43 +00:00
|
|
|
void printchar(uint16 src, uint16 *x, uint16 y, uint8 c, uint8 nextChar, uint8 *width, uint8 *height);
|
2011-07-18 12:30:07 +00:00
|
|
|
void printdirect();
|
2011-07-23 16:22:37 +00:00
|
|
|
void printdirect(uint16 x, uint16 *y, uint8 maxWidth, bool centered);
|
2011-07-23 17:18:10 +00:00
|
|
|
void usetimedtext();
|
|
|
|
void getundertimed();
|
|
|
|
void putundertimed();
|
2011-07-21 07:08:52 +00:00
|
|
|
uint8 printslow(uint16 x, uint16 y, uint8 maxWidth, bool centered);
|
2011-07-19 10:37:32 +00:00
|
|
|
void printslow();
|
2011-07-21 20:46:16 +00:00
|
|
|
void dumptextline();
|
2011-07-17 14:06:19 +00:00
|
|
|
void getnumber();
|
2011-07-27 15:42:11 +00:00
|
|
|
uint8 getnumber(uint16 index, uint16 maxWidth, bool centered, uint16 *offset);
|
2011-07-17 12:38:30 +00:00
|
|
|
void kernchars();
|
|
|
|
uint8 kernchars(uint8 firstChar, uint8 secondChar, uint8 width);
|
2011-07-30 17:54:53 +00:00
|
|
|
void getroomdata();
|
|
|
|
void getroomdata(uint8 roomIndex);
|
2011-07-20 16:21:03 +00:00
|
|
|
Sprite *spritetable();
|
2011-06-26 15:03:17 +00:00
|
|
|
void showframe();
|
2011-07-30 13:04:25 +00:00
|
|
|
void showframe(const void *frameData, uint16 x, uint16 y, uint16 frameNumber, uint8 effectsFlag, uint8 *width, uint8 *height);
|
2011-07-27 15:42:11 +00:00
|
|
|
void printasprite(const Sprite *sprite);
|
2011-06-26 13:10:18 +00:00
|
|
|
void width160();
|
2011-07-23 17:24:35 +00:00
|
|
|
void multiput(uint16 x, uint16 y, uint8 width, uint8 height);
|
2011-06-26 13:10:18 +00:00
|
|
|
void multiput();
|
2011-06-26 13:17:19 +00:00
|
|
|
void eraseoldobs();
|
|
|
|
void clearsprites();
|
|
|
|
void makesprite();
|
2011-07-30 13:04:25 +00:00
|
|
|
Sprite *makesprite(uint8 x, uint8 y, uint16 updateCallback, uint16 frameData, uint16 somethingInDi);
|
2011-06-26 13:17:19 +00:00
|
|
|
void spriteupdate();
|
2011-06-28 13:48:07 +00:00
|
|
|
void initman();
|
2011-07-28 23:12:29 +00:00
|
|
|
void mainman(Sprite *sprite);
|
2011-07-26 05:54:25 +00:00
|
|
|
void facerightway();
|
2011-06-28 12:54:26 +00:00
|
|
|
void walking();
|
2011-07-25 21:54:54 +00:00
|
|
|
void walking(Sprite *sprite);
|
2011-07-20 16:21:03 +00:00
|
|
|
void aboutturn(Sprite *sprite);
|
|
|
|
void backobject(Sprite *sprite);
|
|
|
|
void constant(Sprite *sprite, ObjData *objData);
|
|
|
|
void steady(Sprite *sprite, ObjData *objData);
|
|
|
|
void random(Sprite *sprite, ObjData *objData);
|
2011-06-28 02:55:10 +00:00
|
|
|
void dodoor();
|
2011-07-20 16:21:03 +00:00
|
|
|
void dodoor(Sprite *sprite, ObjData *objData);
|
|
|
|
void doorway(Sprite *sprite, ObjData *objData);
|
|
|
|
void widedoor(Sprite *sprite, ObjData *objData);
|
2011-07-25 08:50:00 +00:00
|
|
|
void lockeddoorway();
|
|
|
|
void lockeddoorway(Sprite *sprite, ObjData *objData);
|
2011-06-28 03:10:35 +00:00
|
|
|
void liftsprite();
|
2011-07-20 16:21:03 +00:00
|
|
|
void liftsprite(Sprite *sprite, ObjData *objData);
|
2011-07-30 13:19:22 +00:00
|
|
|
void findsource();
|
2011-07-30 13:25:28 +00:00
|
|
|
void showreelframe();
|
2011-07-30 14:01:52 +00:00
|
|
|
void showreelframe(Reel *reel);
|
2011-06-28 03:10:35 +00:00
|
|
|
void turnpathonCPP(uint8 param);
|
|
|
|
void turnpathoffCPP(uint8 param);
|
2011-07-26 05:54:25 +00:00
|
|
|
void getroomspaths();
|
|
|
|
uint8 *getroomspathsCPP();
|
2011-07-27 15:53:50 +00:00
|
|
|
void makebackob();
|
2011-06-26 13:10:18 +00:00
|
|
|
void modifychar();
|
|
|
|
void lockmon();
|
2011-07-20 11:15:30 +00:00
|
|
|
void cancelch0();
|
|
|
|
void cancelch1();
|