summaryrefslogtreecommitdiff
path: root/src/help_info.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/help_info.hpp')
-rw-r--r--src/help_info.hpp17
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? */
+};