diff options
author | Manoj Srivastava <srivasta@debian.org> | 2016-01-27 12:43:59 -0800 |
---|---|---|
committer | Manoj Srivastava <srivasta@debian.org> | 2016-01-27 12:50:09 -0800 |
commit | 76fce162659078323fcd5e54b3195dae371faca2 (patch) | |
tree | c1d93d415b96238aae3c54eb83cb0815af2e4bca /src/help_info.hpp | |
parent | b4456969cd02d75c599a5b86b225c0774697e85d (diff) | |
parent | 4aa1a39402c3908e9e8b6eb3fd4e2183d5e5c52e (diff) |
Merge branch 'development' into upstream
Signed-off-by: Manoj Srivastava <srivasta@debian.org>
# Conflicts:
# src/.gitignore
# src/maid-x11.c
# src/quest.pkg
Diffstat (limited to 'src/help_info.hpp')
-rw-r--r-- | src/help_info.hpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/help_info.hpp b/src/help_info.hpp new file mode 100644 index 00000000..ea440bb9 --- /dev/null +++ b/src/help_info.hpp @@ -0,0 +1,17 @@ +#pragma once + +#include "h-basic.h" + +/** + * Maximum number of help items. + */ +constexpr int HELP_MAX = 64; + +/** + * Context help runtime data. + */ +struct help_info +{ + bool_ enabled; /* ingame help enabled */ + bool_ activated[HELP_MAX]; /* help item #i activated? */ +}; |