- added a customization hook class for the menu.
Currently the only thing it does is abstracting the menu caption, but more can be added here. Not exposed to modding yet, though, that's for later.
This commit is contained in:
parent
35ff0a42a6
commit
a08d87beb3
8 changed files with 27 additions and 9 deletions
|
|
@ -151,6 +151,11 @@ void DeinitMenus()
|
|||
}
|
||||
MenuDescriptors.Clear();
|
||||
OptionValues.Clear();
|
||||
if (menuCustomizer)
|
||||
{
|
||||
menuCustomizer->Destroy();
|
||||
menuCustomizer = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
FTextureID GetMenuTexture(const char* const name)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue