gzdoom-gles/src/menu
Christoph Oelckers 4417afd548 - changed VMValue to handle strings by reference.
This makes VMValue a real POD type with no hacky overloads and eliminates a lot of destructor code in all places that call a VM function. Due to the way this had to be handled, none of these destructors could be skipped because any value could have been a string.
This required some minor changes in functions that passed a temporary FString into the VM to ensure that the temporary object lives long enough to be handled. The code generator had already been changed to deal with this in a previous commit.
This is easily offset by the code savings and reduced maintenance needs elsewhere.
2017-03-22 01:44:56 +01:00
..
joystickmenu.cpp - made DMenu's static variables regular global variables because that class is going to go completely scripted soon. 2017-02-18 19:19:14 +01:00
loadsavemenu.cpp - completed scriptification of LoadSaveMenu. 2017-02-18 18:01:24 +01:00
menu.cpp - changed VMValue to handle strings by reference. 2017-03-22 01:44:56 +01:00
menu.h - changed TObjPtr to take a pointer as its template argument and not the class it points to. 2017-03-08 13:35:21 +01:00
menudef.cpp - changed VMValue to handle strings by reference. 2017-03-22 01:44:56 +01:00
messagebox.cpp - changed VMValue to handle strings by reference. 2017-03-22 01:44:56 +01:00
optionmenu.cpp - cleaned out some cruft from the menu code, now that ListMenu is fully scripted. 2017-02-18 19:11:53 +01:00
playermenu.cpp - made DMenu's static variables regular global variables because that class is going to go completely scripted soon. 2017-02-18 19:19:14 +01:00
videomenu.cpp - scriptified the main statusbar interface and the Strife status bar. 2017-03-22 00:32:52 +01:00