Files
UT99-Mod-NIUT/Classes/NIUTConfigMenuItem.uc
2026-01-27 00:46:55 +00:00

21 lines
729 B
Ucode

//=============================================================================
// NIUTConfigMenuItem.
//=============================================================================
class NIUTConfigMenuItem expands UMenuModMenuItem;
// assumes 640x480 resolution for now -- only alternative is to go to property pages
const SizeX = 624;
const SizeY = 448;
// Called when the menu item is chosen
function Execute()
{
MenuItem.Owner.Root.CreateWindow(class'NIUTConfigMenu', (MenuItem.Owner.Root.WinWidth/2 - (SizeX/2)), (MenuItem.Owner.Root.WinHeight/2 - (SizeY/2)), SizeX, SizeY);
}
defaultproperties
{
MenuCaption="NIUT126 Mutator Options"
MenuHelp="Configure the NIUT126 Mutator options."
}