summaryrefslogtreecommitdiff
path: root/src/school_book.hpp
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2015-03-22 18:38:09 +0100
committerBardur Arantsson <bardur@scientician.net>2015-03-22 18:38:09 +0100
commit97c42872e9da98a7aa4a1d5fe70bfc1e8adfa68c (patch)
tree74ca3b6b0cff3443650ca3e82fb010390a00e147 /src/school_book.hpp
parent92344ee3f306ecdfd1da4365ffc5cab6eaa29afd (diff)
Split school_book_type out of types.h
- Rename to school_book - Remove pointless spell_idx_list indirection
Diffstat (limited to 'src/school_book.hpp')
-rw-r--r--src/school_book.hpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/school_book.hpp b/src/school_book.hpp
new file mode 100644
index 00000000..51d3e6a7
--- /dev/null
+++ b/src/school_book.hpp
@@ -0,0 +1,15 @@
+#pragma once
+
+#include "h-basic.h"
+
+#include <vector>
+
+/**
+ * School book.
+ */
+struct school_book {
+ /**
+ * Indexes of all the spells in the book.
+ */
+ std::vector<s32b> spell_idxs;
+};