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 {
|
|
|
|
|
|
|
|
|
|
std::optional<OwnedCelSprite> pSTextBoxCels;
|
|
|
|
|
std::optional<OwnedCelSprite> pSTextSlidCels;
|
|
|
|
|
|
|
|
|
|
void InitInfoBoxGfx()
|
|
|
|
|
{
|
|
|
|
|
pSTextSlidCels = LoadCel("Data\\TextSlid.CEL", 12);
|
|
|
|
|
pSTextBoxCels = LoadCel("Data\\TextBox2.CEL", 271);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void FreeInfoBoxGfx()
|
|
|
|
|
{
|
|
|
|
|
pSTextBoxCels = std::nullopt;
|
|
|
|
|
pSTextSlidCels = std::nullopt;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
} // namespace devilution
|