summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/birth.cc5
-rw-r--r--src/dungeon.cc1
-rw-r--r--src/externs.h9
-rw-r--r--src/help.cc6
-rw-r--r--src/help.hpp11
-rw-r--r--src/skills.cc1
6 files changed, 18 insertions, 15 deletions
diff --git a/src/birth.cc b/src/birth.cc
index 458b2049..323c0f63 100644
--- a/src/birth.cc
+++ b/src/birth.cc
@@ -10,10 +10,11 @@
#include "angband.h"
#include "corrupt.hpp"
#include "gods.hpp"
-#include "messages.h"
-#include "modules.hpp"
+#include "help.hpp"
#include "hooks.h"
#include "mimic.hpp"
+#include "messages.h"
+#include "modules.hpp"
#include "notes.hpp"
#include "q_rand.h"
#include "skills.hpp"
diff --git a/src/dungeon.cc b/src/dungeon.cc
index a561c9a3..6d021053 100644
--- a/src/dungeon.cc
+++ b/src/dungeon.cc
@@ -11,6 +11,7 @@
#include "cave.hpp"
#include "corrupt.hpp"
#include "gods.hpp"
+#include "help.hpp"
#include "hooks.h"
#include "modules.hpp"
#include "notes.hpp"
diff --git a/src/externs.h b/src/externs.h
index ba005a24..6e40b77b 100644
--- a/src/externs.h
+++ b/src/externs.h
@@ -459,15 +459,6 @@ extern deity_type deity_info[MAX_GODS];
extern timer_type *gl_timers;
extern const char *get_version_string();
-/* help.c */
-extern void init_hooks_help();
-extern void help_race(cptr race);
-extern void help_subrace(cptr subrace);
-extern void help_class(cptr klass);
-extern void help_god(cptr god);
-extern void help_skill(cptr skill);
-extern void help_ability(cptr ability);
-
/* birth.c */
extern bool_ no_begin_screen;
diff --git a/src/help.cc b/src/help.cc
index 8fbaaa4f..b57ce0b3 100644
--- a/src/help.cc
+++ b/src/help.cc
@@ -1,7 +1,3 @@
-/* File: help.c */
-
-/* Purpose: ingame help */
-
/*
* Copyright (c) 2001 DarkGod
* Copyright (c) 2012 Bardur Arantsson
@@ -11,6 +7,8 @@
* included in all such copies.
*/
+#include "help.hpp"
+
#include "angband.h"
#include "hooks.h"
#include "skills.hpp"
diff --git a/src/help.hpp b/src/help.hpp
new file mode 100644
index 00000000..7c6ad3f7
--- /dev/null
+++ b/src/help.hpp
@@ -0,0 +1,11 @@
+#pragma once
+
+#include "angband.h"
+
+extern void init_hooks_help();
+extern void help_race(cptr race);
+extern void help_subrace(cptr subrace);
+extern void help_class(cptr klass);
+extern void help_god(cptr god);
+extern void help_skill(cptr skill);
+extern void help_ability(cptr ability);
diff --git a/src/skills.cc b/src/skills.cc
index 591f184e..2dbcb6ca 100644
--- a/src/skills.cc
+++ b/src/skills.cc
@@ -9,6 +9,7 @@
#include "angband.h"
#include "birth.hpp"
#include "gods.hpp"
+#include "help.hpp"
#include "hooks.h"
#include "util.hpp"
#include "xtra2.hpp"