diff --git a/source/blood/src/blood.cpp b/source/blood/src/blood.cpp index 81e9c2f80..77f47ee3e 100644 --- a/source/blood/src/blood.cpp +++ b/source/blood/src/blood.cpp @@ -1850,7 +1850,7 @@ RESTART: { gGameMenuMgr.Process(); G_HandleAsync(); - if (viewFPSLimit()) + if (G_FPSLimit()) { videoClearScreen(0); gGameMenuMgr.Draw(); diff --git a/source/blood/src/config.h b/source/blood/src/config.h index 764afb982..85ec3e1be 100644 --- a/source/blood/src/config.h +++ b/source/blood/src/config.h @@ -69,7 +69,6 @@ extern int32_t gMessageFont; extern int32_t gbAdultContent; extern char gzAdultPassword[9]; extern int32_t gMouseSensitivity; -extern int32_t in_mouseflip; extern bool gNoClip; extern bool gInfiniteAmmo; extern bool gFullMap; diff --git a/source/blood/src/menu.cpp b/source/blood/src/menu.cpp index dc86e523e..57ea6757b 100644 --- a/source/blood/src/menu.cpp +++ b/source/blood/src/menu.cpp @@ -1184,8 +1184,6 @@ void SetupOptionsMenu(void) #endif menuOptionsDisplayMode.Add(&itemOptionsDisplayModeFullscreen, false); menuOptionsDisplayMode.Add(&itemOptionsDisplayModeVSync, false); - menuOptionsDisplayMode.Add(&itemOptionsDisplayModeFrameLimit, false); - menuOptionsDisplayMode.Add(&itemOptionsDisplayModeFPSOffset, false); menuOptionsDisplayMode.Add(&itemOptionsDisplayModeApply, false); menuOptionsDisplayMode.Add(&itemBloodQAV, false); @@ -1193,7 +1191,6 @@ void SetupOptionsMenu(void) itemOptionsDisplayModeRenderer.pPreDrawCallback = PreDrawVideoModeMenu; #endif itemOptionsDisplayModeFullscreen.pPreDrawCallback = PreDrawVideoModeMenu; - itemOptionsDisplayModeFPSOffset.pPreDrawCallback = PreDrawVideoModeMenu; menuOptionsDisplayColor.Add(&itemOptionsDisplayColorTitle, false); menuOptionsDisplayColor.Add(&itemOptionsDisplayColorGamma, true); diff --git a/source/blood/src/startwin.game.cpp b/source/blood/src/startwin.game.cpp index 679b9fae6..31b259d08 100644 --- a/source/blood/src/startwin.game.cpp +++ b/source/blood/src/startwin.game.cpp @@ -183,41 +183,6 @@ static void PopulateForm(int32_t pgs) } } - if (pgs & POPULATE_CONFIG) - { - Button_SetCheck(GetDlgItem(pages[TAB_CONFIG], IDCALWAYSSHOW), (settings.shared.forcesetup ? BST_CHECKED : BST_UNCHECKED)); - Button_SetCheck(GetDlgItem(pages[TAB_CONFIG], IDCAUTOLOAD), (!(settings.shared.noautoload) ? BST_CHECKED : BST_UNCHECKED)); - - HWND hwnd = GetDlgItem(pages[TAB_CONFIG], IDCINPUT); - - (void)ComboBox_ResetContent(hwnd); - (void)ComboBox_SetCurSel(hwnd, 0); - - int j = 4; - -#ifdef RENDERTYPEWIN - if (di_disabled) j = 2; -#endif - - for (int i=0; i 3) + if (r_showfps > 3) r_showfps = 0; end_cheat(pPlayer); diff --git a/source/duke3d/src/player.h b/source/duke3d/src/player.h index fce4174a9..f73bef081 100644 --- a/source/duke3d/src/player.h +++ b/source/duke3d/src/player.h @@ -319,7 +319,6 @@ extern playerdata_t *const g_player; extern int16_t WeaponPickupSprites[MAX_WEAPONS]; extern hudweapon_t hudweap; extern int32_t g_levelTextTime; -extern int32_t g_MyAimMode; extern int32_t g_numObituaries; extern int32_t g_numSelfObituaries; extern int32_t mouseyaxismode; diff --git a/source/duke3d/src/startwin.game.cpp b/source/duke3d/src/startwin.game.cpp index bd8e73088..12be45711 100644 --- a/source/duke3d/src/startwin.game.cpp +++ b/source/duke3d/src/startwin.game.cpp @@ -179,41 +179,6 @@ static void PopulateForm(int32_t pgs) } } - if (pgs & POPULATE_CONFIG) - { - Button_SetCheck(GetDlgItem(pages[TAB_CONFIG], IDCALWAYSSHOW), (settings.shared.forcesetup ? BST_CHECKED : BST_UNCHECKED)); - Button_SetCheck(GetDlgItem(pages[TAB_CONFIG], IDCAUTOLOAD), (!(settings.shared.noautoload) ? BST_CHECKED : BST_UNCHECKED)); - - HWND hwnd = GetDlgItem(pages[TAB_CONFIG], IDCINPUT); - - (void)ComboBox_ResetContent(hwnd); - (void)ComboBox_SetCurSel(hwnd, 0); - - int j = 4; - -#ifdef RENDERTYPEWIN - if (di_disabled) j = 2; -#endif - - for (int i=0; i