mirror of
https://github.com/diasurgical/DevilutionX.git
synced 2026-10-12 02:13:06 +00:00
We want to be able to use unpacked MPQs on low-end platforms (PS2/rg99/etc). This is tricky on case-sensitive filesystems. Avoids case issues by lowercasing all paths in the code (then we'll just need lowercased listfiles).
23 lines
445 B
C++
23 lines
445 B
C++
#include "panels/info_box.hpp"
|
|
|
|
#include "engine/load_cel.hpp"
|
|
|
|
namespace devilution {
|
|
|
|
OptionalOwnedClxSpriteList pSTextBoxCels;
|
|
OptionalOwnedClxSpriteList 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
|