Files
DevilutionX/Source/panels/info_box.cpp
T
Gleb Mazovetskiy 6327e713e0 Lowercase all file paths
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).
2022-08-20 23:49:23 +01:00

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