mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-30 17:01:03 +00:00
- made some adjustments to DMessageBoxMenu to handle screens that must close the menu before performing their option.
Fixes #173. The "End Game" menu option needs this.
This commit is contained in:
parent
2d545767ef
commit
2dad86a304
3 changed files with 8 additions and 4 deletions
|
@ -766,7 +766,7 @@ void I_ReleaseMouseCapture();
|
|||
struct MenuClassDescriptor;
|
||||
extern TArray<MenuClassDescriptor*> menuClasses;
|
||||
|
||||
using hFunc = std::function<void(bool)>;
|
||||
using hFunc = std::function<bool(bool)>;
|
||||
DMenu* CreateMessageBoxMenu(DMenu* parent, const char* message, int messagemode, int scriptID, bool playsound, FName action = NAME_None, hFunc handler = nullptr);
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue