MCPcopy Create free account
hub / github.com/diasurgical/DevilutionX / LoadDialogButtonGraphics

Function LoadDialogButtonGraphics

Source/DiabloUI/button.cpp:19–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17} // namespace
18
19void LoadDialogButtonGraphics()
20{
21 ButtonSprites = LoadOptionalClx("ui_art\\dvl_but_sml.clx");
22 if (!ButtonSprites) {
23 ButtonSprites = LoadPcxSpriteList("ui_art\\but_sml", 15);
24 }
25}
26
27void FreeDialogButtonGraphics()
28{

Callers 2

InitFunction · 0.85
ProgressLoadForegroundFunction · 0.85

Calls 2

LoadOptionalClxFunction · 0.85
LoadPcxSpriteListFunction · 0.85

Tested by

no test coverage detected