aboutsummaryrefslogtreecommitdiff
path: root/scumm/scumm.h
diff options
context:
space:
mode:
authorMax Horn2003-01-13 01:29:45 +0000
committerMax Horn2003-01-13 01:29:45 +0000
commiteb9726c4974111ac56bbc256658785f06d4df531 (patch)
treeed335402a935d3f49c80675f752a4d1bad1201cd /scumm/scumm.h
parent1f88542417b58ce2e71708217f17ebcc7de78c20 (diff)
downloadscummvm-rg350-eb9726c4974111ac56bbc256658785f06d4df531.tar.gz
scummvm-rg350-eb9726c4974111ac56bbc256658785f06d4df531.tar.bz2
scummvm-rg350-eb9726c4974111ac56bbc256658785f06d4df531.zip
added V8 scaling code
svn-id: r6440
Diffstat (limited to 'scumm/scumm.h')
-rw-r--r--scumm/scumm.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/scumm/scumm.h b/scumm/scumm.h
index e7b6524b30..7c32b8ff99 100644
--- a/scumm/scumm.h
+++ b/scumm/scumm.h
@@ -378,7 +378,6 @@ public:
byte _numObjectsInRoom;
int8 _userPut;
int _resourceHeaderSize;
- void setScaleItem(int slot, int a, int b, int c, int d);
void clearClickedStatus();
void startManiac();
@@ -854,6 +853,19 @@ public:
Box *getBoxBaseAddr(int box);
byte getBoxFlags(int box);
int getBoxScale(int box);
+
+ int getScale(int box, int x, int y);
+ void setScaleItem(int slot, int a, int b, int c, int d);
+
+ // V8 scaling stuff: should be in V8 class
+ struct ScaleSlot {
+ int x1, y1, scale1;
+ int x2, y2, scale2;
+ };
+ ScaleSlot _scaleSlots[20]; // FIXME - not sure if this limit is right, but based on my observations it is
+ void setScaleSlot(int slot, int x1, int y1, int scale1, int x2, int y2, int scale2);
+
+
byte getNumBoxes();
byte *getBoxMatrixBaseAddr();
int getPathToDestBox(byte from, byte to);