/* menu.h $Header: /cvsroot/uhexen2/hexenworld/Client/menu.h,v 1.7 2007/04/07 19:55:38 sezero Exp $ */ #ifndef __HX2_MENU_H #define __HX2_MENU_H // // the net drivers should just set the apropriate bits in m_activenet, // instead of having the menu code look through their internal tables // #define MNET_IPX 1 #define MNET_TCP 2 extern int m_activenet; extern char *plaquemessage; // Pointer to current plaque extern char *errormessage; // Pointer to current plaque // // menus // void M_Init (void); void M_Keydown (int key); void M_ToggleMenu_f (void); void M_Menu_Options_f (void); void M_Menu_Quit_f (void); void M_Print (int cx, int cy, const char *str); void M_Print2 (int cx, int cy, const char *str); void M_PrintWhite (int cx, int cy, const char *str); void M_Draw (void); void M_DrawCharacter (int cx, int line, const int num); void M_DrawPic (int x, int y, qpic_t *pic); void M_DrawTransPic (int x, int y, qpic_t *pic); void M_DrawTextBox (int x, int y, int width, int lines); void M_DrawTextBox2 (int x, int y, int width, int lines); void M_DrawCheckbox (int x, int y, int on); void ScrollTitle (const char *name); #endif /* __HX2_MENU_H */