- 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:
Christoph Oelckers 2020-10-05 00:14:55 +02:00
commit a08d87beb3
8 changed files with 27 additions and 9 deletions

View file

@ -151,6 +151,11 @@ void DeinitMenus()
}
MenuDescriptors.Clear();
OptionValues.Clear();
if (menuCustomizer)
{
menuCustomizer->Destroy();
menuCustomizer = nullptr;
}
}
FTextureID GetMenuTexture(const char* const name)