documentation cleanup: control

This commit is contained in:
BC Ko 2021-08-28 16:38:59 -07:00 committed by Anders Jenbo
commit 1cebabcfff
2 changed files with 19 additions and 15 deletions

View file

@ -1033,10 +1033,6 @@ 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()
{
spselflag = true;
@ -1091,9 +1087,6 @@ void DoSpeedBook()
SetCursorPos({ x, y });
}
/**
* Checks if the mouse cursor is within any of the panel buttons and flag it if so.
*/
void DoPanBtn()
{
for (int i = 0; i < PanelButtonIndex; i++) {
@ -1152,10 +1145,6 @@ void DoAutoMap()
}
}
/**
* Checks the mouse cursor position within the control panel and sets information
* strings if needed.
*/
void CheckPanelInfo()
{
panelflag = false;
@ -1244,10 +1233,6 @@ void CheckPanelInfo()
}
}
/**
* Check if the mouse is within a control panel button that's flagged.
* Takes apropiate action if so.
*/
void CheckBtnUp()
{
bool gamemenuOff = true;