mirror of
https://github.com/diasurgical/DevilutionX.git
synced 2026-10-12 02:13:06 +00:00
23 lines
437 B
C++
23 lines
437 B
C++
#include "panels/info_box.hpp"
|
|
|
|
#include "engine/load_cel.hpp"
|
|
|
|
namespace devilution {
|
|
|
|
OptionalOwnedCelSprite pSTextBoxCels;
|
|
OptionalOwnedCelSprite 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
|