remove video modes from dedicated and dummy interfaces

This commit is contained in:
Logan Aerl Arias 2024-03-10 10:45:55 -04:00
parent 104063e2ec
commit d9b93e6e7b
4 changed files with 9 additions and 41 deletions

View file

@ -19,26 +19,6 @@ void I_SetPalette(RGBA_t *palette)
(void)palette; (void)palette;
} }
INT32 VID_NumModes(void)
{
return 0;
}
INT32 VID_GetModeForSize(INT32 w, INT32 h)
{
(void)w;
(void)h;
return 0;
}
void VID_PrepareModeList(void){}
INT32 VID_SetMode(INT32 modenum)
{
(void)modenum;
return 0;
}
boolean VID_CheckRenderer(void) boolean VID_CheckRenderer(void)
{ {
return false; return false;
@ -49,12 +29,6 @@ void VID_CheckGLLoaded(rendermode_t oldrender)
(void)oldrender; (void)oldrender;
} }
const char *VID_GetModeName(INT32 modenum)
{
(void)modenum;
return NULL;
}
UINT32 I_GetRefreshRate(void) { return 35; } UINT32 I_GetRefreshRate(void) { return 35; }
void I_UpdateNoBlit(void){} void I_UpdateNoBlit(void){}

View file

@ -2,5 +2,6 @@
boolean I_InitNetwork(void) boolean I_InitNetwork(void)
{ {
// NOTE: this is no longer used.
return false; return false;
} }

View file

@ -106,8 +106,8 @@ UINT32 I_GetSongLength(void)
boolean I_SetSongLoopPoint(UINT32 looppoint) boolean I_SetSongLoopPoint(UINT32 looppoint)
{ {
(void)looppoint; (void)looppoint;
return false; return false;
} }
UINT32 I_GetSongLoopPoint(void) UINT32 I_GetSongLoopPoint(void)
@ -117,13 +117,13 @@ UINT32 I_GetSongLoopPoint(void)
boolean I_SetSongPosition(UINT32 position) boolean I_SetSongPosition(UINT32 position)
{ {
(void)position; (void)position;
return false; return false;
} }
UINT32 I_GetSongPosition(void) UINT32 I_GetSongPosition(void)
{ {
return 0; return 0;
} }
/// ------------------------ /// ------------------------
@ -208,7 +208,7 @@ boolean I_FadeOutStopSong(UINT32 ms)
boolean I_FadeInPlaySong(UINT32 ms, boolean looping) boolean I_FadeInPlaySong(UINT32 ms, boolean looping)
{ {
(void)ms; (void)ms;
(void)looping; (void)looping;
return false; return false;
} }

View file

@ -19,13 +19,6 @@ void I_SetPalette(RGBA_t *palette)
(void)palette; (void)palette;
} }
void VID_SetSize(INT32 width, INT32 height)
{
(void)width;
(void)height;
return 0;
}
boolean VID_CheckRenderer(void) boolean VID_CheckRenderer(void)
{ {
return false; return false;