Browse Source

Move DoSpeedBook to the right header

pull/3609/head
Gleb Mazovetskiy 4 years ago
parent
commit
db7c9d08f5
  1. 6
      Source/control.h
  2. 1
      Source/diablo.cpp
  3. 1
      Source/miniwin/misc_msg.cpp
  4. 5
      Source/panels/spell_list.hpp

6
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.
*/

1
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"

1
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"

5
Source/panels/spell_list.hpp

@ -21,6 +21,11 @@ std::vector<SpellListItem> 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

Loading…
Cancel
Save