aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo/route.h
diff options
context:
space:
mode:
authorArnaud Boutonné2011-01-23 00:05:52 +0000
committerArnaud Boutonné2011-01-23 00:05:52 +0000
commit3f6496d5b5b2caf0b935b27bca557ae53a880302 (patch)
tree0b1da465ca9b7c1787ab73865366df4e4c89c721 /engines/hugo/route.h
parent257a6b2e6d432cd343e213218474a61f61a72980 (diff)
downloadscummvm-rg350-3f6496d5b5b2caf0b935b27bca557ae53a880302.tar.gz
scummvm-rg350-3f6496d5b5b2caf0b935b27bca557ae53a880302.tar.bz2
scummvm-rg350-3f6496d5b5b2caf0b935b27bca557ae53a880302.zip
HUGO: Cleanup
Suppress almost all defines, rename constants svn-id: r55451
Diffstat (limited to 'engines/hugo/route.h')
-rw-r--r--engines/hugo/route.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/engines/hugo/route.h b/engines/hugo/route.h
index 6aeb1a0b29..d09d19d3dd 100644
--- a/engines/hugo/route.h
+++ b/engines/hugo/route.h
@@ -35,12 +35,6 @@
namespace Hugo {
-#define kMapBound 1 // Mark a boundary outline
-#define kMapFill 2 // Mark a boundary filled
-#define kMaxSeg 256 // Maximum number of segments
-#define kMaxNodes 256 // Maximum nodes in route
-#define DEBUG_ROUTE FALSE
-
struct Point {
int x;
int y;
@@ -63,7 +57,12 @@ public:
private:
HugoEngine *_vm;
- byte _boundaryMap[YPIX][XPIX]; // Boundary byte map
+ static const int kMapBound = 1; // Mark a boundary outline
+ static const int kMapFill = 2; // Mark a boundary filled
+ static const int kMaxSeg = 256; // Maximum number of segments
+ static const int kMaxNodes = 256; // Maximum nodes in route
+
+ byte _boundaryMap[kYPix][kXPix]; // Boundary byte map
segment_t _segment[kMaxSeg]; // List of points in fill-path
Point _route[kMaxNodes]; // List of nodes in route (global)
int16 _segmentNumb; // Count number of segments