#pragma once #include #include #include "engine/point.hpp" #include "engine/surface.hpp" #include "spelldat.h" namespace devilution { struct SpellListItem { Point location; spell_type type; spell_id id; bool isSelected; }; void DrawSpell(const Surface &out); void DrawSpellList(const Surface &out); std::vector GetSpellListItems(); void SetSpell(); void SetSpeedSpell(size_t slot); void ToggleSpell(size_t 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