/* Copyright (C) 1997-2001 Id Software, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ // // menu.c // #include "m_local.h" menuState_t menuState; cVar_t *ui_jsMenuPage; cVar_t *ui_jsSortItem; cVar_t *ui_jsSortMethod; static void *cmd_menuMain; static void *cmd_menuGame; static void *cmd_menuLoadGame; static void *cmd_menuSaveGame; static void *cmd_menuCredits; static void *cmd_menuMultiplayer; static void *cmd_menuDLOptions; static void *cmd_menuJoinServer; static void *cmd_menuAddressBook; static void *cmd_menuPlayerConfig; static void *cmd_menuStartServer; static void *cmd_menuDMFlags; static void *cmd_menuOptions; static void *cmd_menuControls; static void *cmd_menuEffects; static void *cmd_menuGloom; static void *cmd_menuHUD; static void *cmd_menuInput; static void *cmd_menuMisc; static void *cmd_menuScreen; static void *cmd_menuSound; static void *cmd_menuVideo; static void *cmd_menuGLExts; static void *cmd_menuVidSettings; static void *cmd_menuQuit; static void *cmd_startSStatus; /* ============================================================================= MENU INITIALIZATION/SHUTDOWN ============================================================================= */ /* ================= M_Init ================= */ void JoinMenu_StartSStatus (void); // FIXME void M_Init (void) { int i; // Register cvars for (i=0 ; i