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.
 
 
 
 
 
 

22 lines
441 B

#include "panels/info_box.hpp"
#include "engine/load_cel.hpp"
namespace devilution {
std::optional<CelSprite> pSTextBoxCels;
std::optional<CelSprite> 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