mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-06-01 09:02:08 +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;
|
return nummodes;
|
||||||
}
|
}
|
||||||
|
|
||||||
static vmode_t *
|
static vmode_t *
|
||||||
VID_GetModePtr (int modenum)
|
VID_GetModePtr (int modenum)
|
||||||
{
|
{
|
||||||
if ((modenum >= 0) && (modenum < nummodes))
|
if ((modenum >= 0) && (modenum < nummodes))
|
||||||
|
@ -559,7 +559,7 @@ VID_GetModePtr (int modenum)
|
||||||
return &badmode;
|
return &badmode;
|
||||||
}
|
}
|
||||||
|
|
||||||
static char *
|
static char *
|
||||||
VID_GetModeDescription (int mode)
|
VID_GetModeDescription (int mode)
|
||||||
{
|
{
|
||||||
char *pinfo;
|
char *pinfo;
|
||||||
|
@ -819,9 +819,6 @@ VID_Init (unsigned char *palette)
|
||||||
|
|
||||||
hIcon = LoadIcon (global_hInstance, MAKEINTRESOURCE (IDI_ICON1));
|
hIcon = LoadIcon (global_hInstance, MAKEINTRESOURCE (IDI_ICON1));
|
||||||
|
|
||||||
// FIXME: If you put these back, remember commctrl.h
|
|
||||||
// InitCommonControls ();
|
|
||||||
|
|
||||||
VID_InitDIB (global_hInstance);
|
VID_InitDIB (global_hInstance);
|
||||||
basenummodes = nummodes = 1;
|
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
|
void
|
||||||
VID_SetCaption (const char *text)
|
VID_SetCaption (const char *text)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue