summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/enum.h
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-11-24 09:40:16 +0100
committerRobert Vollmert <rvollmert@gmx.net>2009-11-24 11:05:13 +0100
commit5648dce61108e9c5059f390a1c9b28a68ce0b439 (patch)
tree9343bf0b18644cd9e603ee23340f4744320f8979 /crawl-ref/source/enum.h
parentf8bbfc037a9f75e06a51fc9f1fc48c2f3d9572e1 (diff)
downloadcrawl-ref-5648dce61108e9c5059f390a1c9b28a68ce0b439.tar.gz
crawl-ref-5648dce61108e9c5059f390a1c9b28a68ce0b439.zip
Add ternary logic type maybe_bool.
Diffstat (limited to 'crawl-ref/source/enum.h')
-rw-r--r--crawl-ref/source/enum.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/crawl-ref/source/enum.h b/crawl-ref/source/enum.h
index c970478866..d14fd76c9a 100644
--- a/crawl-ref/source/enum.h
+++ b/crawl-ref/source/enum.h
@@ -3167,6 +3167,13 @@ enum montravel_target_type
MTRAV_KNOWN_UNREACHABLE // As above, and the player knows this.
};
+enum maybe_bool
+{
+ B_FALSE,
+ B_MAYBE,
+ B_TRUE
+};
+
#ifdef USE_TILE
enum screen_mode
{