mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-03-12 22:03:49 +00:00
removed unused global host_time
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@769 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
5748e947b2
commit
d95ac61115
3 changed files with 4 additions and 11 deletions
|
@ -41,7 +41,6 @@ quakeparms_t *host_parms;
|
|||
qboolean host_initialized; // true if into command execution
|
||||
|
||||
double host_frametime;
|
||||
double host_time;
|
||||
double realtime; // without any filtering or bounding
|
||||
double oldrealtime; // last frame run
|
||||
|
||||
|
@ -275,8 +274,6 @@ void Host_InitLocal (void)
|
|||
Cvar_RegisterVariable (&temp1);
|
||||
|
||||
Host_FindMaxClients ();
|
||||
|
||||
host_time = 1.0; // so a think at time 0 won't get called
|
||||
}
|
||||
|
||||
|
||||
|
@ -727,8 +724,6 @@ void _Host_Frame (float time)
|
|||
if (!sv.active)
|
||||
CL_SendCmd ();
|
||||
|
||||
host_time += host_frametime;
|
||||
|
||||
// fetch results from server
|
||||
if (cls.state == ca_connected)
|
||||
{
|
||||
|
|
|
@ -264,7 +264,7 @@ void M_Main_Draw (void)
|
|||
M_DrawPic ( (320-p->width)/2, 4, p);
|
||||
M_DrawTransPic (72, 32, Draw_CachePic ("gfx/mainmenu.lmp") );
|
||||
|
||||
f = (int)(realtime * 10)%6; //johnfitz -- was host_time
|
||||
f = (int)(realtime * 10)%6;
|
||||
|
||||
M_DrawTransPic (54, 32 + m_main_cursor * 20,Draw_CachePic( va("gfx/menudot%i.lmp", f+1 ) ) );
|
||||
}
|
||||
|
@ -351,7 +351,7 @@ void M_SinglePlayer_Draw (void)
|
|||
M_DrawPic ( (320-p->width)/2, 4, p);
|
||||
M_DrawTransPic (72, 32, Draw_CachePic ("gfx/sp_menu.lmp") );
|
||||
|
||||
f = (int)(realtime * 10)%6; //johnfitz -- was host_time
|
||||
f = (int)(realtime * 10)%6;
|
||||
|
||||
M_DrawTransPic (54, 32 + m_singleplayer_cursor * 20,Draw_CachePic( va("gfx/menudot%i.lmp", f+1 ) ) );
|
||||
}
|
||||
|
@ -608,7 +608,7 @@ void M_MultiPlayer_Draw (void)
|
|||
M_DrawPic ( (320-p->width)/2, 4, p);
|
||||
M_DrawTransPic (72, 32, Draw_CachePic ("gfx/mp_menu.lmp") );
|
||||
|
||||
f = (int)(realtime * 10)%6; //johnfitz -- was host_time
|
||||
f = (int)(realtime * 10)%6;
|
||||
|
||||
M_DrawTransPic (54, 32 + m_multiplayer_cursor * 20,Draw_CachePic( va("gfx/menudot%i.lmp", f+1 ) ) );
|
||||
|
||||
|
@ -900,7 +900,7 @@ void M_Net_Draw (void)
|
|||
M_Print (f, 120, net_helpMessage[m_net_cursor*4+2]);
|
||||
M_Print (f, 128, net_helpMessage[m_net_cursor*4+3]);
|
||||
|
||||
f = (int)(realtime * 10)%6; //johnfitz -- was host_time
|
||||
f = (int)(realtime * 10)%6;
|
||||
M_DrawTransPic (54, 32 + m_net_cursor * 20,Draw_CachePic( va("gfx/menudot%i.lmp", f+1 ) ) );
|
||||
}
|
||||
|
||||
|
|
|
@ -185,8 +185,6 @@ extern server_t sv; // local server
|
|||
|
||||
extern client_t *host_client;
|
||||
|
||||
extern double host_time;
|
||||
|
||||
extern edict_t *sv_player;
|
||||
|
||||
//===========================================================
|
||||
|
|
Loading…
Reference in a new issue