diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-03 06:07:13 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-03 06:07:13 +0000 |
commit | 372b7c5803a47c4f2aaa246867aeb0c4bbd2abaf (patch) | |
tree | fdf46bfc7d7f9e000a1b5fb9a01c665c2c8e2270 /crawl-ref/source/libutil.h | |
parent | 784b37028a033a469df1d64507a7e06ec1e3149e (diff) | |
download | crawl-ref-372b7c5803a47c4f2aaa246867aeb0c4bbd2abaf.tar.gz crawl-ref-372b7c5803a47c4f2aaa246867aeb0c4bbd2abaf.zip |
Add arena_force_ai option (also settable as "force_ai" or "no_force_ai" in the arena spec) that when unset, uses the real game's monster AI, and when set, forces monsters to attack.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8160 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/libutil.h')
-rw-r--r-- | crawl-ref/source/libutil.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/libutil.h b/crawl-ref/source/libutil.h index 4be7ec41d6..f64e8ae07c 100644 --- a/crawl-ref/source/libutil.h +++ b/crawl-ref/source/libutil.h @@ -39,6 +39,8 @@ bool ends_with(const std::string &s, const std::string &suffix); #define TAG_UNFOUND -20404 bool strip_tag(std::string &s, const std::string &tag, bool nopad = false); int strip_number_tag(std::string &s, const std::string &tagprefix); +bool strip_bool_tag(std::string &s, const std::string &name, + bool defval = false); std::string strip_tag_prefix(std::string &s, const std::string &tagprefix); std::string article_a(const std::string &name, bool lowercase = true); |