diff options
Diffstat (limited to 'saga/saga.h')
-rw-r--r-- | saga/saga.h | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/saga/saga.h b/saga/saga.h index 5ca7191149..62442e4879 100644 --- a/saga/saga.h +++ b/saga/saga.h @@ -64,7 +64,6 @@ class PalAnim; #define MAXPATH 512 struct RSCFILE_CONTEXT; -struct SEMAPHORE; struct SPRITELIST; enum ERRORCODE { @@ -82,6 +81,31 @@ enum scriptTimings { kScriptTimeTicksPerSecond = (728L/10L) }; +enum Directions { + kDirUp = 0, + kDirUpRight = 1, + kDirRight = 2, + kDirDownRight = 3, + kDirDown = 4, + kDirDownLeft = 5, + kDirLeft = 6, + kDirUpLeft = 7 +}; + +enum HitZoneFlags { + kHitZoneEnabled = (1 << 0), // Zone is enabled + kHitZoneExit = (1 << 1), // Causes char to exit + + // The following flag causes the zone to act differently. + // When the actor hits the zone, it will immediately begin walking + // in the specified direction, and the actual specified effect of + // the zone will be delayed until the actor leaves the zone. + kHitZoneAutoWalk = (1 << 2), + + // zone activates only when character stops walking + kHitZoneTerminus = (1 << 3) +}; + struct CLICKAREA { int n_points; Point *points; |