void SUB_Null() { }
+void m_sync()
+{
+ updateCompression();
+ updateConwidths();
+
+ loadAllCvars(main);
+}
+
void m_init()
{
cvar_set("_menu_alpha", "0");
menuShiftState = 0;
menuMousePos = '0.5 0.5 0';
+ m_sync();
+
if(Menu_Active)
m_display(); // delayed menu display
}
float preMenuInit(); // you have to define this for pre-menu initialization. Return 0 if initialization needs to be retried a frame later, 1 if it succeeded.
void preMenuDraw(); // this is run before the menu is drawn. You may put some stuff there that has to be done every frame.
void postMenuDraw(); // this is run just after the menu is drawn (or not). Useful to draw something over everything else.
+
+void m_sync();