- scriptified the LoadMenu class and exported the entire interface to handle the LoadSaveMenu.
This commit is contained in:
parent
9d51266145
commit
872969eb14
5 changed files with 207 additions and 116 deletions
|
|
@ -630,7 +630,7 @@ void M_SetMenu(FName menu, int param)
|
|||
if (cls == nullptr) cls = PClass::FindClass("ListMenu");
|
||||
|
||||
DListMenu *newmenu = (DListMenu *)cls->CreateNew();
|
||||
IFVIRTUALPTRNAME(newmenu, "OptionMenu", Init)
|
||||
IFVIRTUALPTRNAME(newmenu, "ListMenu", Init)
|
||||
{
|
||||
VMValue params[3] = { newmenu, DMenu::CurrentMenu, ld };
|
||||
GlobalVMStack.Call(func, params, 3, nullptr, 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue