You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
#include "panels/info_box.hpp"
|
|
|
|
|
|
|
|
|
|
#include "engine/load_cel.hpp"
|
|
|
|
|
|
|
|
|
|
namespace devilution {
|
|
|
|
|
|
|
|
|
|
OptionalOwnedClxSpriteList pSTextBoxCels;
|
|
|
|
|
OptionalOwnedClxSpriteList pSTextSlidCels;
|
|
|
|
|
|
|
|
|
|
void InitInfoBoxGfx()
|
|
|
|
|
{
|
|
|
|
|
pSTextSlidCels = LoadCel("data\\textslid", 12);
|
|
|
|
|
pSTextBoxCels = LoadCel("data\\textbox2", 271);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void FreeInfoBoxGfx()
|
|
|
|
|
{
|
|
|
|
|
pSTextBoxCels = std::nullopt;
|
|
|
|
|
pSTextSlidCels = std::nullopt;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
} // namespace devilution
|