Bug fixes for the option menu code, it should compile now :)

You will not be able to select the new options until I fix that bug...
That bug should be fixed within a few minutes.
--
Eric Windisch
This commit is contained in:
Eric Windisch 2000-01-09 01:53:54 +00:00
parent 0d3e377a75
commit 8e4c3039d6
14 changed files with 28 additions and 20 deletions

View file

@ -828,13 +828,19 @@ void IN_Move (usercmd_t *cmd)
IN_MouseMove(cmd);
}
void VID_ExtraOptionDraw()
void VID_ExtraOptionDraw(void)
{
// No extra option menu items yet
/* Port specific Options menu entrys */
}
void VID_ExtraOptionCmd()
void VID_ExtraOptionCmd(int option_cursor)
{
// Read the previous function
/*
switch(option_cursor)
{
case 12: // Always start with 12
break;
}
*/
}

View file

@ -500,6 +500,12 @@ GL_Init
*/
void GL_Init (void)
{
#ifdef XMESA
Cvar_RegisterVariable (&vid_mesa_mode);
#endif
gl_vendor = glGetString (GL_VENDOR);
Con_Printf ("GL_VENDOR: %s\n", gl_vendor);
gl_renderer = glGetString (GL_RENDERER);
@ -797,7 +803,7 @@ void IN_Move (usercmd_t *cmd)
IN_MouseMove(cmd);
}
void VID_ExtraOptionDraw()
void VID_ExtraOptionDraw(void)
{
// Windowed Mouse

View file

@ -1945,7 +1945,7 @@ void VID_MenuKey (int key)
}
}
void VID_ExtraOptionDraw()
void VID_ExtraOptionDraw(void)
{
// Windowed Mouse
M_Print (16, 128, " Use Mouse");

View file

@ -85,7 +85,7 @@ int VID_SetMode (int modenum, unsigned char *palette);
void VID_HandlePause (qboolean pause);
// called only on Win32, when pause happens, so the mouse can be released
void VID_ExtraOptionDraw();
void VID_ExtraOptionDraw(void);
// draw extra option menu entries
void VID_ExtraOptionCmd(int options_cursor);

View file

@ -779,7 +779,7 @@ void VID_MenuKey (int key)
}
}
void VID_ExtraOptionDraw()
void VID_ExtraOptionDraw(void)
{
/* Port specific Options menu entrys */
}

View file

@ -926,7 +926,7 @@ void IN_Move(usercmd_t *cmd)
mouse_x = mouse_y = 0.0;
}
void VID_ExtraOptionDraw()
void VID_ExtraOptionDraw(void)
{
// Windowed Mouse
M_Print (16, 128, " Use Mouse");

View file

@ -89,7 +89,7 @@ void D_EndDirectRect (int x, int y, int width, int height)
{
}
void VID_ExtraOptionDraw()
void VID_ExtraOptionDraw(void)
{
/* Port specific Options menu entrys */
}

View file

@ -413,7 +413,7 @@ char *Sys_ConsoleInput (void)
}
*/
void VID_ExtraOptionDraw()
void VID_ExtraOptionDraw(void)
{
// Windowed Mouse
M_Print (16, 128, " Use Mouse");

View file

@ -1242,7 +1242,7 @@ void IN_Move (usercmd_t *cmd)
mouse_x = mouse_y = 0.0;
}
void VID_ExtraOptionDraw()
void VID_ExtraOptionDraw(void)
{
// Windowed Mouse
M_Print (16, 128, " Use Mouse");

View file

@ -1264,7 +1264,7 @@ void IN_Move (usercmd_t *cmd)
mouse_x = mouse_y = 0.0;
}
void VID_ExtraOptionDraw()
void VID_ExtraOptionDraw(void)
{
// Windowed Mouse
M_Print (16, 128, " Use Mouse");

View file

@ -1020,7 +1020,7 @@ char *VID_ModeInfo (int modenum)
}
}
void VID_ExtraOptionDraw()
void VID_ExtraOptionDraw(void)
{
/* Port specific Options menu entrys */
}

View file

@ -3391,7 +3391,7 @@ void VID_MenuKey (int key)
}
}
void VID_ExtraOptionDraw()
void VID_ExtraOptionDraw(void)
{
if(modestate == MS_WINDOWED)
{

View file

@ -1088,7 +1088,7 @@ void IN_Move (usercmd_t *cmd)
mouse_x = mouse_y = 0.0;
}
void VID_ExtraOptionDraw()
void VID_ExtraOptionDraw(void)
{
// Windowed Mouse
M_Print (16, 128, " Use Mouse");

View file

@ -3088,10 +3088,6 @@ void M_Init (void)
Cmd_AddCommand ("help", M_Menu_Help_f);
Cmd_AddCommand ("menu_quit", M_Menu_Quit_f);
#ifdef XMESA
Cvar_RegisterVariable (&vid_mesa_mode);
#endif
}