diff --git a/src/screen.c b/src/screen.c index adb974f6a..67107ed74 100644 --- a/src/screen.c +++ b/src/screen.c @@ -527,15 +527,11 @@ void SCR_DisplayTicRate(void) tic_t i; tic_t ontic = I_GetTime(); tic_t totaltics = 0; -<<<<<<< HEAD - const UINT8 *ticcntcolor = NULL; -======= INT32 ticcntcolor = 0; const INT32 h = vid.height-(8*vid.dupy); if (gamestate == GS_NULL) return; ->>>>>>> srb2/next for (i = lasttic + 1; i < TICRATE+lasttic && i < ontic; ++i) fpsgraph[i % TICRATE] = false; @@ -549,38 +545,25 @@ void SCR_DisplayTicRate(void) if (totaltics <= TICRATE/2) ticcntcolor = R_GetTranslationColormap(TC_RAINBOW, SKINCOLOR_RASPBERRY, GTC_CACHE); else if (totaltics == TICRATE) ticcntcolor = R_GetTranslationColormap(TC_RAINBOW, SKINCOLOR_MINT, GTC_CACHE); -<<<<<<< HEAD - /*V_DrawString(vid.width-(24*vid.dupx), vid.height-(16*vid.dupy), - V_YELLOWMAP|V_NOSCALESTART, "FPS"); - V_DrawString(vid.width-(40*vid.dupx), vid.height-( 8*vid.dupy), - ticcntcolor|V_NOSCALESTART, va("%02d/%02u", totaltics, TICRATE));*/ - - // draw "FPS" - V_DrawFixedPatch(306<>>>>>> srb2/next lasttic = ontic; } -<<<<<<< HEAD + // SCR_DisplayLocalPing // Used to draw the user's local ping next to the framerate for a quick check without having to hold TAB for instance. By default, it only shows up if your ping is too high and risks getting you kicked. @@ -591,14 +574,6 @@ void SCR_DisplayLocalPing(void) { INT32 dispy = cv_ticrate.value ? 160 : 181; HU_drawPing(307, dispy, ping, V_SNAPTORIGHT | V_SNAPTOBOTTOM | V_HUDTRANS); -======= -void SCR_DisplayLocalPing(void) -{ - UINT32 ping = playerpingtable[consoleplayer]; // consoleplayer's ping is everyone's ping in a splitnetgame :P - if (cv_showping.value == 1 || (cv_showping.value == 2 && servermaxping && ping > servermaxping)) // only show 2 (warning) if our ping is at a bad level - { - INT32 dispy = cv_ticrate.value ? 180 : 189; - HU_drawPing(307, dispy, ping, true, V_SNAPTORIGHT | V_SNAPTOBOTTOM); } }