|
|
|
|
@ -46,7 +46,7 @@
|
|
|
|
|
namespace devilution { |
|
|
|
|
|
|
|
|
|
OptionalOwnedClxSpriteList ArtLogo; |
|
|
|
|
std::array<OptionalOwnedClxSpriteList, 2> DifficultyIndicator; |
|
|
|
|
OptionalOwnedClxSpriteList DifficultyIndicator; |
|
|
|
|
|
|
|
|
|
std::array<OptionalOwnedClxSpriteList, 3> ArtFocus; |
|
|
|
|
|
|
|
|
|
@ -588,8 +588,7 @@ void LoadUiGFX()
|
|
|
|
|
} else { |
|
|
|
|
ArtLogo = LoadPcxSpriteList("ui_art\\smlogo", /*numFrames=*/15, /*transparentColor=*/250); |
|
|
|
|
} |
|
|
|
|
DifficultyIndicator[0] = LoadPcx("ui_art\\radio1", /*transparentColor=*/0); |
|
|
|
|
DifficultyIndicator[1] = LoadPcx("ui_art\\radio3", /*transparentColor=*/0); |
|
|
|
|
DifficultyIndicator = LoadPcx("ui_art\\r1_gry", /*transparentColor=*/0); |
|
|
|
|
ArtFocus[FOCUS_SMALL] = LoadPcxSpriteList("ui_art\\focus16", /*numFrames=*/8, /*transparentColor=*/250); |
|
|
|
|
ArtFocus[FOCUS_MED] = LoadPcxSpriteList("ui_art\\focus", /*numFrames=*/8, /*transparentColor=*/250); |
|
|
|
|
ArtFocus[FOCUS_BIG] = LoadPcxSpriteList("ui_art\\focus42", /*numFrames=*/8, /*transparentColor=*/250); |
|
|
|
|
@ -617,8 +616,7 @@ void UnloadUiGFX()
|
|
|
|
|
for (auto &art : ArtFocus) |
|
|
|
|
art = std::nullopt; |
|
|
|
|
ArtLogo = std::nullopt; |
|
|
|
|
for (auto &diffInd : DifficultyIndicator) |
|
|
|
|
diffInd = std::nullopt; |
|
|
|
|
DifficultyIndicator = std::nullopt; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void UiInitialize() |
|
|
|
|
|