MantisBT - Zandronum
View Issue Details
0003205Zandronum[All Projects] Bugpublic2017-07-28 02:162020-05-03 00:28
JPL 
 
normalminoralways
newopen 
AllWindowsXP/Vista/7
4.0-beta 
 
0003205: AddOptionMenu entry in MENUDEF crashes
I use an AddOptionMenu block in the MENUDEF for WadSmoosh to provide a couple legacy back-compat options. This works fine in recent versions of GZDoom but not in any version of Zandronum. It would be nice if Zandronum could either support or ignore AddOptionMenu so that I can point users seeking Zandronum support for WadSmoosh to your latest version.
1. Create a WAD with a MENUDEF lump
2. Add an AddOptionMenu block to the MENUDEF that defines an addition to the options menu
3. Open the WAD in Zandronum
No tags attached.
patch add_option_menu.patch (1,353) 2018-01-18 19:18
https://zandronum.com/tracker/file_download.php?file_id=2293&type=bug
Issue History
2017-07-28 02:16JPLNew Issue
2017-07-29 17:53JPLNote Added: 0018116
2018-01-18 19:18aitapFile Added: add_option_menu.patch
2018-01-18 19:19aitapNote Added: 0018999
2020-04-13 10:47KG_GuyNote Added: 0021265
2020-05-03 00:28sosleepyNote Added: 0021306

Notes
(0018116)
JPL   
2017-07-29 17:53   
Here's the relevant commit from GZDoom, seems like it should be straightforward to merge:

https://github.com/drfrag666/gzdoom/commit/559d3093ed0d32da71f245cd96ccfe89047aed6b [^]
(0018999)
aitap   
2018-01-18 19:19   
It was almost straightforward, because FMenuDescriptor is not a DObject, but we can use dynamic_cast instead. I have attached a patch from latest commit as of today.
(0021265)
KG_Guy   
2020-04-13 10:47   
Could you explain to a non-programmer how to get this to work? Am I supposed to put names in or something?
(0021306)
sosleepy   
2020-05-03 00:28   
Bumping this since this contain a patch.