aboutsummaryrefslogtreecommitdiff
path: root/scumm.h
diff options
context:
space:
mode:
Diffstat (limited to 'scumm.h')
-rw-r--r--scumm.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/scumm.h b/scumm.h
index 605468b6ed..eb6e0ef87b 100644
--- a/scumm.h
+++ b/scumm.h
@@ -37,6 +37,12 @@
struct Scumm;
struct Actor;
+struct gate_location
+{
+ int x;
+ int y;
+};
+
#include "smush.h"
typedef void (Scumm::*OpcodeProc)();
@@ -329,6 +335,7 @@ struct ActorWalkData {
int16 x,y,newx,newy;
int32 XYFactor, YXFactor;
uint16 xfrac,yfrac;
+ int point3x, point3y;
};
struct MouseCursor {
@@ -2155,6 +2162,8 @@ struct Scumm {
byte VAR_UNK_SCRIPT;
byte VAR_UNK_SCRIPT_2;
+
+ void GetGates(int trap1,int trap2);
byte VAR_DEFAULT_TALK_DELAY;
byte VAR_CHARSET_MASK;
@@ -2162,6 +2171,21 @@ struct Scumm {
int NUM_ACTORS;
byte _videoPath[50];
+
+ gate_location p[5];
+
+ int CompareSlope(int X1,int Y1,int X2,int Y2,int X3,int Y3);
+ void SetGate(int line1,int line2, int polyx[8], int polyy[8]);
+
+ int gate1ax, gate1ay;
+ int gate1bx, gate1by;
+ int gate2ax, gate2ay;
+ int gate2bx, gate2by;
+
+ int CloX[8];
+ int CloY[8];
+
+ void walkActorOld(Actor *a);
};
enum AkosOpcodes{