aboutsummaryrefslogtreecommitdiff
path: root/scumm/gfx.h
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/gfx.h')
-rw-r--r--scumm/gfx.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/scumm/gfx.h b/scumm/gfx.h
index a0d2760a79..23a6d0c473 100644
--- a/scumm/gfx.h
+++ b/scumm/gfx.h
@@ -23,6 +23,8 @@
#ifndef GFX_H
#define GFX_H
+#include "common/rect.h"
+
enum { /* Camera modes */
CM_NORMAL = 1,
CM_FOLLOW_ACTOR = 2,
@@ -30,10 +32,10 @@ enum { /* Camera modes */
};
struct CameraData { /* Camera state data */
- ScummPoint _cur;
- ScummPoint _dest;
- ScummPoint _accel;
- ScummPoint _last;
+ ScummVM::Point _cur;
+ ScummVM::Point _dest;
+ ScummVM::Point _accel;
+ ScummVM::Point _last;
int _leftTrigger, _rightTrigger;
byte _follows, _mode;
bool _movingToActor;