summaryrefslogtreecommitdiff
path: root/src/owner_type.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/owner_type.hpp')
-rw-r--r--src/owner_type.hpp41
1 files changed, 41 insertions, 0 deletions
diff --git a/src/owner_type.hpp b/src/owner_type.hpp
new file mode 100644
index 00000000..4c47dc48
--- /dev/null
+++ b/src/owner_type.hpp
@@ -0,0 +1,41 @@
+#pragma once
+
+#include <string>
+
+#include "h-basic.h"
+
+/*
+ * Store owner descriptor.
+ */
+struct owner_type
+{
+ /**
+ * Name
+ */
+ std::string name;
+
+ /**
+ * Purse limit
+ */
+ s16b max_cost = 0;
+
+ /**
+ * Inflation
+ */
+ s16b inflation = 0;
+
+ /**
+ * Liked/hated races.
+ */
+ u32b races[2][2] { };
+
+ /**
+ * Liked/hated classes
+ */
+ u32b classes[2][2] { };
+
+ /**
+ * Costs for liked people
+ */
+ s16b costs[3] { };
+};