mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-22 20:41:20 +00:00
small bit of cleanup
This commit is contained in:
parent
e7d138e727
commit
9538e009b7
1 changed files with 2 additions and 19 deletions
|
@ -550,7 +550,7 @@ VID_NumModes (void)
|
|||
return nummodes;
|
||||
}
|
||||
|
||||
static vmode_t *
|
||||
static vmode_t *
|
||||
VID_GetModePtr (int modenum)
|
||||
{
|
||||
if ((modenum >= 0) && (modenum < nummodes))
|
||||
|
@ -559,7 +559,7 @@ VID_GetModePtr (int modenum)
|
|||
return &badmode;
|
||||
}
|
||||
|
||||
static char *
|
||||
static char *
|
||||
VID_GetModeDescription (int mode)
|
||||
{
|
||||
char *pinfo;
|
||||
|
@ -819,9 +819,6 @@ VID_Init (unsigned char *palette)
|
|||
|
||||
hIcon = LoadIcon (global_hInstance, MAKEINTRESOURCE (IDI_ICON1));
|
||||
|
||||
// FIXME: If you put these back, remember commctrl.h
|
||||
// InitCommonControls ();
|
||||
|
||||
VID_InitDIB (global_hInstance);
|
||||
basenummodes = nummodes = 1;
|
||||
|
||||
|
@ -1032,20 +1029,6 @@ VID_Init_Cvars ()
|
|||
{
|
||||
}
|
||||
|
||||
// Video menu stuff ======================================
|
||||
|
||||
typedef struct {
|
||||
int modenum;
|
||||
char *desc;
|
||||
int iscur;
|
||||
} modedesc_t;
|
||||
|
||||
#define MAX_COLUMN_SIZE 9
|
||||
#define MODE_AREA_HEIGHT (MAX_COLUMN_SIZE + 2)
|
||||
#define MAX_MODEDESCS (MAX_COLUMN_SIZE*3)
|
||||
|
||||
//static modedesc_t modedescs[MAX_MODEDESCS];
|
||||
|
||||
void
|
||||
VID_SetCaption (const char *text)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue