mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-22 20:11:44 +00:00
Expanded the .qtv file 'format' for later.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2456 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
edbe5bc600
commit
2a10d9860e
1 changed files with 30 additions and 0 deletions
|
@ -1603,6 +1603,36 @@ void CL_QTVPlay_f (void)
|
||||||
Cbuf_AddText(va("qtvplay \"%s\"\n", s), Cmd_ExecLevel);
|
Cbuf_AddText(va("qtvplay \"%s\"\n", s), Cmd_ExecLevel);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
if (!strncmp(buffer, "Join=", 7) || !strncmp(buffer, "Join:", 7))
|
||||||
|
{
|
||||||
|
for (s = buffer + strlen(buffer)-1; s >= buffer; s--)
|
||||||
|
{
|
||||||
|
if (*s == '\r' || *s == '\n')
|
||||||
|
*s = 0;
|
||||||
|
else
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
s = buffer+8;
|
||||||
|
while(*s && *s <= ' ')
|
||||||
|
s++;
|
||||||
|
Cbuf_AddText(va("join \"%s\"\n", s), Cmd_ExecLevel);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
if (!strncmp(buffer, "Observe=", 7) || !strncmp(buffer, "Observe:", 7))
|
||||||
|
{
|
||||||
|
for (s = buffer + strlen(buffer)-1; s >= buffer; s--)
|
||||||
|
{
|
||||||
|
if (*s == '\r' || *s == '\n')
|
||||||
|
*s = 0;
|
||||||
|
else
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
s = buffer+8;
|
||||||
|
while(*s && *s <= ' ')
|
||||||
|
s++;
|
||||||
|
Cbuf_AddText(va("observe \"%s\"\n", s), Cmd_ExecLevel);
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
fclose(f);
|
fclose(f);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue