From 5648dce61108e9c5059f390a1c9b28a68ce0b439 Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Tue, 24 Nov 2009 09:40:16 +0100 Subject: Add ternary logic type maybe_bool. --- crawl-ref/source/enum.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'crawl-ref/source/enum.h') 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 { -- cgit v1.2.3-54-g00ecf