//=============================================================================
+cvar_t demo_nehahra = {"demo_nehahra", "0"};
+
+void CL_Parse_Init(void)
+{
+ // LordHavoc: added demo_nehahra cvar
+ Cvar_RegisterVariable (&demo_nehahra);
+ if (nehahra)
+ Cvar_SetValue("demo_nehahra", 1);
+}
+
qboolean Nehahrademcompatibility; // LordHavoc: to allow playback of the early Nehahra movie segments
qboolean dpprotocol; // LordHavoc: whether or not the current network stream is the enhanced DarkPlaces protocol
SZ_Clear (&cls.message);
}
-extern qboolean isworldmodel;
-extern char skyname[];
-extern void R_SetSkyBox (char *sky);
-extern void FOG_clear();
-extern cvar_t r_farclip;
-
void CL_ParseEntityLump(char *entdata)
{
char *data;
CL_ParseServerInfo
==================
*/
-extern cvar_t demo_nehahra;
void CL_ParseServerInfo (void)
{
char *str;
bitprofilecount = 0;
}
-void CL_EntityUpdateSetup()
+void CL_EntityUpdateSetup(void)
{
memset(entkill, 1, MAX_EDICTS);
}
-void CL_EntityUpdateEnd()
+void CL_EntityUpdateEnd(void)
{
int i;
for (i = 1;i < MAX_EDICTS;i++)
#define SHOWNET(x) if(cl_shownet.value==2)Con_Printf ("%3i:%s\n", msg_readcount-1, x);
-extern void SHOWLMP_decodehide();
-extern void SHOWLMP_decodeshow();
-extern void R_SetSkyBox(char* sky);
-extern int netshown;
-
/*
=====================
CL_ParseServerMessage
// if recording demos, copy the message out
//
if (cl_shownet.value == 1)
- {
Con_Printf ("%i ",net_message.cursize);
- netshown = true;
- }
else if (cl_shownet.value == 2)
- {
Con_Printf ("------------------\n");
- netshown = true;
- }
cl.onground = false; // unless the server says otherwise
//