diff --git a/source/blood/src/menu.cpp b/source/blood/src/menu.cpp index 7930945f38..56824fb8bc 100644 --- a/source/blood/src/menu.cpp +++ b/source/blood/src/menu.cpp @@ -80,7 +80,6 @@ void SetVideoMode(CGameMenuItemChain *); void SetWidescreen(CGameMenuItemZBool *); void SetFOV(CGameMenuItemSlider *); void UpdateVideoModeMenuFrameLimit(CGameMenuItemZCycle *pItem); -//void UpdateVideoModeMenuFPSOffset(CGameMenuItemSlider *pItem); void UpdateVideoColorMenu(CGameMenuItemSliderFloat *); void ResetVideoColor(CGameMenuItemChain *); void ClearUserMapNameOnLevelChange(CGameMenuItemZCycle *); @@ -534,7 +533,6 @@ CGameMenuItemZCycle itemOptionsDisplayModeRenderer("RENDERER:", 3, 66, 70, 180, CGameMenuItemZBool itemOptionsDisplayModeFullscreen("FULLSCREEN:", 3, 66, 80, 180, 0, NULL, NULL, NULL); CGameMenuItemZCycle itemOptionsDisplayModeVSync("VSYNC:", 3, 66, 90, 180, 0, NULL, pzVSyncStrings, ARRAY_SSIZE(pzVSyncStrings), 0); CGameMenuItemZCycle itemOptionsDisplayModeFrameLimit("FRAMERATE LIMIT:", 3, 66, 100, 180, 0, UpdateVideoModeMenuFrameLimit, pzFrameLimitStrings, 8, 0); -// CGameMenuItemSlider itemOptionsDisplayModeFPSOffset("FPS OFFSET:", 3, 66, 110, 180, 0, -10, 10, 1, UpdateVideoModeMenuFPSOffset, -1, -1, kMenuSliderValue); CGameMenuItemChain itemOptionsDisplayModeApply("APPLY CHANGES", 3, 66, 125, 180, 0, NULL, 0, SetVideoMode, 0); void PreDrawDisplayColor(CGameMenuItem *); @@ -1338,7 +1336,6 @@ void SetupOptionsMenu(void) menuOptionsDisplayMode.Add(&itemOptionsDisplayModeVSync, false); #endif menuOptionsDisplayMode.Add(&itemOptionsDisplayModeFrameLimit, false); - //menuOptionsDisplayMode.Add(&itemOptionsDisplayModeFPSOffset, false); menuOptionsDisplayMode.Add(&itemOptionsDisplayModeApply, false); menuOptionsDisplayMode.Add(&itemBloodQAV, false); @@ -1346,7 +1343,6 @@ void SetupOptionsMenu(void) itemOptionsDisplayModeRenderer.pPreDrawCallback = PreDrawVideoModeMenu; #endif itemOptionsDisplayModeFullscreen.pPreDrawCallback = PreDrawVideoModeMenu; - //itemOptionsDisplayModeFPSOffset.pPreDrawCallback = PreDrawVideoModeMenu; menuOptionsDisplayColor.Add(&itemOptionsDisplayColorTitle, false); menuOptionsDisplayColor.Add(&itemOptionsDisplayColorGamma, true); @@ -1968,7 +1964,6 @@ void SetupVideoModeMenu(CGameMenuItemChain *pItem) break; } } - // itemOptionsDisplayModeFPSOffset.nValue = r_maxfpsoffset; } void PreDrawVideoModeMenu(CGameMenuItem *pItem) @@ -1987,12 +1982,6 @@ void UpdateVideoModeMenuFrameLimit(CGameMenuItemZCycle *pItem) g_frameDelay = calcFrameDelay(r_maxfps); } -//void UpdateVideoModeMenuFPSOffset(CGameMenuItemSlider *pItem) -//{ -// r_maxfpsoffset = pItem->nValue; -// g_frameDelay = calcFrameDelay(r_maxfps); -//} - void UpdateVideoColorMenu(CGameMenuItemSliderFloat *pItem) { UNREFERENCED_PARAMETER(pItem);