fix more stuff...

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5019 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2016-09-08 19:19:05 +00:00
parent e9c50361f4
commit 7ed590b3cc
2 changed files with 6 additions and 1 deletions

View file

@ -1008,6 +1008,7 @@ void CL_WriteRecordDemoMessage (sizebuf_t *msg, int seq)
if (!cls.demorecording)
return;
#ifdef NQPROT
if (cls.demorecording == DPB_NETQUAKE)
{
len = LittleLong (msg->cursize);
@ -1019,6 +1020,7 @@ void CL_WriteRecordDemoMessage (sizebuf_t *msg, int seq)
}
}
else
#endif
{
fl = LittleFloat(Sys_DoubleTime()-recdemostart);
VFS_WRITE (cls.demooutfile, &fl, sizeof(fl));
@ -1188,6 +1190,7 @@ static void CLQW_RecordServerData(sizebuf_t *buf)
MSG_WriteString (buf, va("fullserverinfo \"%s\"\n", cl.serverinfo) );
}
#ifdef NQPROT
void CLNQ_WriteServerData(sizebuf_t *buf)
{
unsigned int protmain;
@ -1263,6 +1266,7 @@ void CLNQ_WriteServerData(sizebuf_t *buf)
MSG_WriteString (buf, cl.sound_name[i]);
MSG_WriteByte (buf, 0);
}
#endif
void CL_Record_Baseline(sizebuf_t *buf, entity_state_t *state, unsigned int bits)
{
@ -2038,8 +2042,10 @@ void CL_ReRecord_f (void)
Con_Printf ("recording to %s.\n", name);
#ifdef NQPROT
if (cls.demorecording == DPB_NETQUAKE) //nq demos have some silly header.
VFS_WRITE(cls.demooutfile, "-1\n", 3);
#endif
CL_BeginServerReconnect();
}

View file

@ -1081,7 +1081,6 @@ void editbadfile(const char *fname, int line);
char *TypeName(QCC_type_t *type, char *buffer, int buffersize);
void QCC_PR_AddIncludePath(const char *newinc);
void QCC_PR_IncludeChunk (char *data, pbool duplicate, char *filename);
void QCC_PR_IncludeChunkEx(char *data, pbool duplicate, char *filename, CompilerConstant_t *cnst);
void QCC_PR_CloseProcessor(void);
void QCC_FindBestInclude(char *newfile, char *currentfile, pbool verbose);
pbool QCC_PR_UnInclude(void);