Newmenu update includes main_menu?
Posted: Wed Mar 13, 2013 3:01 pm
I downloaded the new version of Roodylib from the IF Archive as mentioned on Not Dead Hugo, and I saw that there were new versions of newmenu.h and beta.h, so I grabbed them too.
Tree and Star wasn't compiling with the latest version of newmenu, due to the lines where I defined "menu category main_menu". It said that main_menu was already defined.
I see that main_menu is defined on line 1156 of newmenu.h, so I simply commented out my version, and it compiles. I believe the commented documentation needs updating, because it still says this:
Tree and Star wasn't compiling with the latest version of newmenu, due to the lines where I defined "menu category main_menu". It said that main_menu was already defined.
I see that main_menu is defined on line 1156 of newmenu.h, so I simply commented out my version, and it compiles. I believe the commented documentation needs updating, because it still says this:
I like the change, in general. Before, I kind of felt that the main_menu object could be part of the library. I'm fine with the default heading as the game title, but is there a way to change it?This extension *expects* a menu_category object named main_menu. Add the following to your code.
menu_category main_menu "TITLE OF YOUR MAIN MENU"
{}