diff options
author | Andrew Kurushin | 2004-12-24 20:44:39 +0000 |
---|---|---|
committer | Andrew Kurushin | 2004-12-24 20:44:39 +0000 |
commit | 2289ea371b46a0696ae54923f32c1027b73afe34 (patch) | |
tree | e29bff22df0926a7a482fb82bcbb64d9daa33149 /saga/saga.h | |
parent | f0bc27f11c5fb638623108df3700b182433df947 (diff) | |
download | scummvm-rg350-2289ea371b46a0696ae54923f32c1027b73afe34.tar.gz scummvm-rg350-2289ea371b46a0696ae54923f32c1027b73afe34.tar.bz2 scummvm-rg350-2289ea371b46a0696ae54923f32c1027b73afe34.zip |
- remove old stuff
- work on "walking" in progress
svn-id: r16298
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; |