summaryrefslogtreecommitdiff
path: root/src/store_action_type.hpp
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2015-10-27 19:25:50 +0100
committerBardur Arantsson <bardur@scientician.net>2015-10-27 19:25:50 +0100
commit867823f4429b1215cd5c3aa6d2415fb324429891 (patch)
tree2915f6c2e0acae69ad2b738e0038766354d60856 /src/store_action_type.hpp
parentf005efee43bdb2e9749b02f73b876bf2c1145f1b (diff)
parent47fb7807d77c92fa6e72017501d9355d780adf40 (diff)
Merge branch 'cpp'
Diffstat (limited to 'src/store_action_type.hpp')
-rw-r--r--src/store_action_type.hpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/store_action_type.hpp b/src/store_action_type.hpp
new file mode 100644
index 00000000..048e13a0
--- /dev/null
+++ b/src/store_action_type.hpp
@@ -0,0 +1,17 @@
+#pragma once
+
+#include "h-basic.h"
+
+/**
+ * Store/building actions.
+ */
+struct store_action_type
+{
+ const char *name; /* Name */
+
+ s16b costs[3]; /* Costs for liked people */
+ char letter; /* Action letter */
+ char letter_aux; /* Action letter */
+ s16b action; /* Action code */
+ s16b action_restr; /* Action restriction */
+};