MCPcopy Create free account
hub / github.com/diasurgical/devilution / Deinit

Function Deinit

SourceX/DiabloUI/dialogs.cpp:210–221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208}
209
210void Deinit()
211{
212 dialogArt.Unload();
213 UnloadSmlButtonArt();
214 if (!fontWasLoaded)
215 UnloadTtfFont();
216 if (textInputWasActive)
217 SDL_StartTextInput();
218 for (std::size_t i = 0; i < dialogItemsSize; ++i) {
219 dialogItems[i].FreeCache();
220 }
221}
222
223void DialogLoop(UiItem *items, std::size_t num_items, UiItem *render_behind, std::size_t render_behind_size)
224{

Callers 1

UiOkDialogFunction · 0.85

Calls 5

UnloadSmlButtonArtFunction · 0.85
UnloadTtfFontFunction · 0.85
SDL_StartTextInputFunction · 0.85
UnloadMethod · 0.80
FreeCacheMethod · 0.45

Tested by

no test coverage detected