summaryrefslogtreecommitdiff
path: root/src/device_allocation.hpp
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2015-03-22 15:22:02 +0100
committerBardur Arantsson <bardur@scientician.net>2015-03-22 16:01:22 +0100
commitc17c9486a22ce9f2160b2d2ad559d9a19e453f83 (patch)
tree4d32c8d5bfac290c15d858beccff80ce5fd933f1 /src/device_allocation.hpp
parentf498e18ca748427db1de1bf0301df5113e4f5ba2 (diff)
Rename miscellaneous .h headers to .hpp
Diffstat (limited to 'src/device_allocation.hpp')
-rw-r--r--src/device_allocation.hpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/device_allocation.hpp b/src/device_allocation.hpp
new file mode 100644
index 00000000..28854eac
--- /dev/null
+++ b/src/device_allocation.hpp
@@ -0,0 +1,17 @@
+#pragma once
+
+#include "device_allocation_fwd.hpp"
+#include "range.hpp"
+
+/*
+ * Device allocation for skill
+ */
+struct device_allocation
+{
+ byte tval;
+ s32b rarity;
+ range_type base_level;
+ range_type max_level;
+};
+
+struct device_allocation *device_allocation_new(byte tval);