I can't find much information (well, none) on how to customise the quake menu. What I mean by menu, is the options/settings/start single player etc. What pops up when you press esc. The only tutorials out there are for the hud or ingame menus.
The only place I can find a menu.dat is in Xonotic. The code is quite complex just for a menu system, and it involves quakec classes and alsorts of excessive stuff. I don't even know where they capture esc, so that I can start to override the default menu. Do I capture it in CSQC_InputEvent()? In their code, it appears that they use menu_visible as a boolean to set whether the menu is up - but I can't even see where it's set to true. In CSQC_InputEvent(), it looks like this:
That makes sense, but even doing a 'find "menu_visible"' in the source directories doesn't come up with "menu_visible = true;" or anything like that.
So does anyone have a basic template on changing the quake menu?
The only place I can find a menu.dat is in Xonotic. The code is quite complex just for a menu system, and it involves quakec classes and alsorts of excessive stuff. I don't even know where they capture esc, so that I can start to override the default menu. Do I capture it in CSQC_InputEvent()? In their code, it appears that they use menu_visible as a boolean to set whether the menu is up - but I can't even see where it's set to true. In CSQC_InputEvent(), it looks like this:
Code:
if(menu_visible && menu_action) if(menu_action(bInputType, nPrimary, nSecondary)) return TRUE;
So does anyone have a basic template on changing the quake menu?
Comment