diff options
author | peterb12 <peterb12@c06c8d41-db1a-0410-9941-cceddc491573> | 2005-07-21 02:34:44 +0000 |
---|---|---|
committer | peterb12 <peterb12@c06c8d41-db1a-0410-9941-cceddc491573> | 2005-07-21 02:34:44 +0000 |
commit | 673bdae75485d14f759af597c3c62b99601f9a43 (patch) | |
tree | 368103f29fe0ce5dcf98060d9b5faa04590085fb /trunk/source/direct.h | |
parent | 7e900be770db24b0405fd2162491c405a425873e (diff) | |
download | crawl-ref-673bdae75485d14f759af597c3c62b99601f9a43.tar.gz crawl-ref-673bdae75485d14f759af597c3c62b99601f9a43.zip |
Initial revision
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'trunk/source/direct.h')
-rw-r--r-- | trunk/source/direct.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/trunk/source/direct.h b/trunk/source/direct.h new file mode 100644 index 0000000000..2bd5a06cdd --- /dev/null +++ b/trunk/source/direct.h @@ -0,0 +1,41 @@ +/* + * File: direct.cc + * Summary: Functions used when picking squares. + * Written by: Linley Henzell + * + * Change History (most recent first): + * + * <1> -/--/-- LRH Created + */ + + +#ifndef DIRECT_H +#define DIRECT_H + +#include "externs.h" +#include "enum.h" + +#define STD_DIRECTION_PROMPT "Which direction ([*+-] to target)? " + +// last updated 12may2000 {dlb} +/* *********************************************************************** + * called from: acr - debug - effects - it_use3 - item_use - spells1 - + * spells2 - spells3 - spells4 + * *********************************************************************** */ + +#define DIR_NONE 0 +#define DIR_TARGET 1 +#define DIR_DIR 2 + +void direction( struct dist &moves, int restricts = DIR_NONE, + int mode = TARG_ANY ); + +// last updated 12may2000 {dlb} +/* *********************************************************************** + * called from: acr - direct + * *********************************************************************** */ +void look_around( struct dist &moves, bool justLooking, int first_move = -1, + int mode = TARG_ANY ); + + +#endif |