summaryrefslogtreecommitdiff
path: root/src/cmd5.hpp
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2015-02-23 09:12:00 +0100
committerBardur Arantsson <bardur@scientician.net>2015-02-23 09:12:00 +0100
commit6cffbd70646ee66c3b2a2a2fd7fd35c23d88b93e (patch)
tree6c57ef3b4a7c3a8b48bddf76879a96c3f58f944a /src/cmd5.hpp
parent6baf465782e98e1146cad8f5c5e60c7b5792e94f (diff)
Move cmd5.cc function declarations to separate header file
Make a few of functions static, remove dead code and fix a few stray declarations while we're at it.
Diffstat (limited to 'src/cmd5.hpp')
-rw-r--r--src/cmd5.hpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/cmd5.hpp b/src/cmd5.hpp
new file mode 100644
index 00000000..497b9b86
--- /dev/null
+++ b/src/cmd5.hpp
@@ -0,0 +1,15 @@
+#pragma once
+
+#include "angband.h"
+
+extern bool_ is_magestaff(void);
+extern void do_cmd_browse_aux(object_type *o_ptr);
+extern void do_cmd_browse(void);
+extern void fetch(int dir, int wgt, bool_ require_los);
+extern void do_poly_self(void);
+extern cptr symbiote_name(bool_ capitalize);
+extern int use_symbiotic_power(int r_idx, bool_ great, bool_ only_number, bool_ no_cost);
+extern bool_ is_ok_spell(s32b spell_idx, object_type *o_ptr);
+extern s32b get_school_spell(cptr do_what, s16b force_book);
+extern void do_cmd_copy_spell(void);
+extern void cast_school_spell(void);