random fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4101 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
197f716f75
commit
e759ac90bc
6 changed files with 675 additions and 251 deletions
|
@ -1281,16 +1281,12 @@ void SCR_DrawFPS (void)
|
||||||
lastfps = 1/frametime;
|
lastfps = 1/frametime;
|
||||||
lastupdatetime = t;
|
lastupdatetime = t;
|
||||||
break;
|
break;
|
||||||
#ifdef GLQUAKE
|
|
||||||
case 5:
|
case 5:
|
||||||
if (qrenderer == QR_OPENGL)
|
R_FrameTimeGraph((int)(1000.0*2*frametime));
|
||||||
GLR_FrameTimeGraph((int)(1000.0*2*frametime));
|
|
||||||
break;
|
break;
|
||||||
case 7:
|
case 7:
|
||||||
if (qrenderer == QR_OPENGL)
|
R_FrameTimeGraph((int)(1000.0*1*frametime));
|
||||||
GLR_FrameTimeGraph((int)(1000.0*1*frametime));
|
|
||||||
break;
|
break;
|
||||||
#endif
|
|
||||||
case 6:
|
case 6:
|
||||||
{
|
{
|
||||||
float mean, deviation;
|
float mean, deviation;
|
||||||
|
@ -2283,7 +2279,7 @@ void SCR_DrawTwoDimensional(int uimenu, qboolean nohud)
|
||||||
// draw any areas not covered by the refresh
|
// draw any areas not covered by the refresh
|
||||||
//
|
//
|
||||||
if (r_netgraph.value)
|
if (r_netgraph.value)
|
||||||
GLR_NetGraph ();
|
R_NetGraph ();
|
||||||
|
|
||||||
if (scr_drawloading || loading_stage)
|
if (scr_drawloading || loading_stage)
|
||||||
{
|
{
|
||||||
|
|
|
@ -120,3 +120,7 @@ void Font_LineDraw(int x, int y, conchar_t *start, conchar_t *end);
|
||||||
extern struct font_s *font_conchar;
|
extern struct font_s *font_conchar;
|
||||||
extern struct font_s *font_tiny;
|
extern struct font_s *font_tiny;
|
||||||
/*end fonts*/
|
/*end fonts*/
|
||||||
|
|
||||||
|
void R_NetgraphInit(void);
|
||||||
|
void R_NetGraph (void);
|
||||||
|
void R_FrameTimeGraph (int frametime);
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -91,7 +91,7 @@ static void Draw_CharToNetGraph (int x, int y, int num)
|
||||||
R_NetGraph
|
R_NetGraph
|
||||||
==============
|
==============
|
||||||
*/
|
*/
|
||||||
void GLR_NetGraph (void)
|
void R_NetGraph (void)
|
||||||
{
|
{
|
||||||
int a, x, i, y;
|
int a, x, i, y;
|
||||||
int lost;
|
int lost;
|
||||||
|
@ -127,7 +127,7 @@ void GLR_NetGraph (void)
|
||||||
R2D_Image(x, y, NET_TIMINGS, NET_GRAPHHEIGHT, 0, 0, 1, 1, netgraphshader);
|
R2D_Image(x, y, NET_TIMINGS, NET_GRAPHHEIGHT, 0, 0, 1, 1, netgraphshader);
|
||||||
}
|
}
|
||||||
|
|
||||||
void GLR_FrameTimeGraph (int frametime)
|
void R_FrameTimeGraph (int frametime)
|
||||||
{
|
{
|
||||||
int a, x, i, y;
|
int a, x, i, y;
|
||||||
int lost;
|
int lost;
|
||||||
|
|
|
@ -1929,7 +1929,9 @@ LONG WINAPI GLMainWndProc (
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case WM_USER:
|
case WM_USER:
|
||||||
|
#ifndef NOMEDIA
|
||||||
STT_Event();
|
STT_Event();
|
||||||
|
#endif
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case WM_GETMINMAXINFO:
|
case WM_GETMINMAXINFO:
|
||||||
|
|
|
@ -117,9 +117,6 @@ void GL_InitFogTexture(void);
|
||||||
void GL_BeginRendering (void);
|
void GL_BeginRendering (void);
|
||||||
void GL_EndRendering (void);
|
void GL_EndRendering (void);
|
||||||
|
|
||||||
void R_NetgraphInit(void);
|
|
||||||
void GLR_NetGraph (void);
|
|
||||||
void GLR_FrameTimeGraph (int frametime);
|
|
||||||
void GL_FlushSkinCache(void);
|
void GL_FlushSkinCache(void);
|
||||||
void GL_GAliasFlushSkinCache(void);
|
void GL_GAliasFlushSkinCache(void);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue