aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/agos.h
diff options
context:
space:
mode:
authorTravis Howell2009-05-14 07:05:51 +0000
committerTravis Howell2009-05-14 07:05:51 +0000
commitdd54193f9585b88627355e3da2d8d35581f43ed3 (patch)
treeea34e8d97f6e9c228bd225735755eacfb0206239 /engines/agos/agos.h
parent9604e9973643a15d236dbf1f0ca5c470aaabd157 (diff)
downloadscummvm-rg350-dd54193f9585b88627355e3da2d8d35581f43ed3.tar.gz
scummvm-rg350-dd54193f9585b88627355e3da2d8d35581f43ed3.tar.bz2
scummvm-rg350-dd54193f9585b88627355e3da2d8d35581f43ed3.zip
Expand dump image code to cover all games, and add options to the debugger.
svn-id: r40548
Diffstat (limited to 'engines/agos/agos.h')
-rw-r--r--engines/agos/agos.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/engines/agos/agos.h b/engines/agos/agos.h
index 31cfeba55c..b48866d33c 100644
--- a/engines/agos/agos.h
+++ b/engines/agos/agos.h
@@ -44,10 +44,6 @@
namespace AGOS {
-/* Enable and set to zone number number to dump */
-//#define DUMP_FILE_NR 8
-//#define DUMP_BITMAPS_FILE_NR 8
-
uint fileReadItemID(Common::SeekableReadStream *in);
#define CHECK_BOUNDS(x, y) assert((uint)(x) < ARRAYSIZE(y))
@@ -645,7 +641,8 @@ protected:
/* used in debugger */
void dumpAllSubroutines();
- void dumpAllVgaFiles();
+ void dumpAllVgaImageFiles();
+ void dumpAllVgaScriptFiles();
void dumpSubroutines();
void dumpSubroutine(Subroutine *sub);
void dumpSubroutineLine(SubroutineLine *sl, Subroutine *sub);
@@ -1209,9 +1206,12 @@ protected:
virtual void dumpVgaFile(const byte *vga);
void dumpVgaScript(const byte *ptr, uint16 res, uint16 id);
void dumpVgaScriptAlways(const byte *ptr, uint16 res, uint16 id);
- void dumpVgaBitmaps(const byte *vga, byte *vga1, int res);
+
+ void dumpVgaBitmaps(uint16 zoneNum);
+
void dumpSingleBitmap(int file, int image, const byte *offs, int w, int h, byte base);
void dumpBitmap(const char *filename, const byte *offs, uint16 w, uint16 h, int flags, const byte *palette, byte base);
+ void palLoad(byte *pal, const byte *vga1, int a, int b);
void fillBackFromBackGround(uint16 height, uint16 width);
void fillBackFromFront();
@@ -1249,8 +1249,8 @@ protected:
void waitForMark(uint i);
void scrollScreen();
- void decodeColumn(byte *dst, const byte *src, uint16 height);
- void decodeRow(byte *dst, const byte *src, uint16 width);
+ void decodeColumn(byte *dst, const byte *src, uint16 height, uint16 pitch);
+ void decodeRow(byte *dst, const byte *src, uint16 width, uint16 pitch);
void hitarea_stuff_helper_2();
void fastFadeIn();
void slowFadeIn();