diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-01-25 23:15:35 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-01-25 23:15:35 +0000 |
commit | 47acdb698074068dd18504aae5ffe43a1bb44157 (patch) | |
tree | 1b8fa18662e74cd0a9452411ead2ec02e12cbb22 /crawl-ref/source/enum.h | |
parent | c17d939e0538920b20ce8640c1f9ef051b39bbde (diff) | |
download | crawl-ref-47acdb698074068dd18504aae5ffe43a1bb44157.tar.gz crawl-ref-47acdb698074068dd18504aae5ffe43a1bb44157.zip |
direction() cleanup, stage 2: look_around is gone, everything unified
into a single function (well, two.)
Since '>' is taken, '!' is now used for requesting that the beam stop
short at a specific point. However, this is currently buggy: ' ', '.'
and '!' all do the same thing for now - the beam will *always* stop right
there. Fixing this will need a bit of hacking at the zapping functions.
Don't worry, it'll get done.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@887 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/enum.h')
-rw-r--r-- | crawl-ref/source/enum.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/crawl-ref/source/enum.h b/crawl-ref/source/enum.h index 3b925ee6ac..88fdd169b1 100644 --- a/crawl-ref/source/enum.h +++ b/crawl-ref/source/enum.h @@ -695,6 +695,7 @@ enum command_type CMD_TARGET_CYCLE_TARGET_MODE, CMD_TARGET_PREV_TARGET, CMD_TARGET_SELECT, + CMD_TARGET_SELECT_ENDPOINT, CMD_TARGET_OBJ_CYCLE_BACK, CMD_TARGET_OBJ_CYCLE_FORWARD, CMD_TARGET_CYCLE_FORWARD, @@ -3572,6 +3573,13 @@ enum tag_file_type // file types supported by tag system TAGTYPE_PLAYER_NAME // Used only to read the player name }; +enum targeting_type +{ + DIR_NONE, + DIR_TARGET, + DIR_DIR +}; + enum torment_source_type { TORMENT_GENERIC = -1, |