diff --git a/Source/control.h b/Source/control.h index ec54cca07..59e02ed0f 100644 --- a/Source/control.h +++ b/Source/control.h @@ -125,12 +125,6 @@ void DrawCtrlPan(const Surface &out); */ void DrawCtrlBtns(const Surface &out); -/** - * Draws the "Speed Book": the rows of known spells for quick-setting a spell that - * show up when you click the spell slot at the control panel. - */ -void DoSpeedBook(); - /** * Clears panel button flags. */ diff --git a/Source/diablo.cpp b/Source/diablo.cpp index d7e2ae4aa..bc7f87a60 100644 --- a/Source/diablo.cpp +++ b/Source/diablo.cpp @@ -51,6 +51,7 @@ #include "objects.h" #include "options.h" #include "panels/spell_book.hpp" +#include "panels/spell_list.hpp" #include "pfile.h" #include "plrmsg.h" #include "qol/common.h" diff --git a/Source/miniwin/misc_msg.cpp b/Source/miniwin/misc_msg.cpp index bee77a729..515890b46 100644 --- a/Source/miniwin/misc_msg.cpp +++ b/Source/miniwin/misc_msg.cpp @@ -23,6 +23,7 @@ #include "menu.h" #include "miniwin/miniwin.h" #include "movie.h" +#include "panels/spell_list.hpp" #include "utils/display.h" #include "utils/log.hpp" #include "utils/sdl_compat.h" diff --git a/Source/panels/spell_list.hpp b/Source/panels/spell_list.hpp index a2209e458..f88420174 100644 --- a/Source/panels/spell_list.hpp +++ b/Source/panels/spell_list.hpp @@ -21,6 +21,11 @@ std::vector GetSpellListItems(); void SetSpell(); void SetSpeedSpell(int slot); void ToggleSpell(int slot); + +/** + * Draws the "Speed Book": the rows of known spells for quick-setting a spell that + * show up when you click the spell slot at the control panel. + */ void DoSpeedBook(); } // namespace devilution