mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-21 18:01:15 +00:00
docs and a bit of cleanup
delete core files with boostrap clean fix the placement of a comment simple docs for the standard client connection process (no mention of downloads)
This commit is contained in:
parent
b05e9ea293
commit
bb6619d332
3 changed files with 38 additions and 9 deletions
|
@ -24,6 +24,7 @@ if test "$1" = "clean"; then
|
|||
|
||||
cd -
|
||||
find . -name Makefile -print0 | xargs $ARGS rm -f
|
||||
find . -name core -print0 | xargs $ARGS rm -f
|
||||
rm -f RPM/build_rpm RPM/quakeforge.conf RPM/quakeforge.spec RPM/rpmmacros
|
||||
find . -name '*.o' -type f -print0 | xargs $ARGS rm -f
|
||||
find . -name '*.lo' -type f -print0 | xargs $ARGS rm -f
|
||||
|
|
28
doc/connect.txt
Normal file
28
doc/connect.txt
Normal file
|
@ -0,0 +1,28 @@
|
|||
[oob]getchallenge\n
|
||||
[oob]c[challenge][ext]
|
||||
[oob]connect [protover] [qport] [challenge] [userinfo]
|
||||
[oob]j
|
||||
[chan][clc_stringcmd]new
|
||||
[chan][svc_serverdata][data]
|
||||
[chan][clc_stringcmd]soundlist [svcount] 0
|
||||
{
|
||||
[chan][svc_soundlist][data][next]
|
||||
[chan][clc_stringcmd]soundlist [svcount] [next]
|
||||
}
|
||||
[chan][svc_soundlist][data]0
|
||||
[chan][clc_stringcmd]modellist [svcount] 0
|
||||
{
|
||||
[chan][svc_modellist][data][next]
|
||||
[chan][clc_stringcmd]modellist [svcount] [next]
|
||||
}
|
||||
[chan][svc_modellist][data]0
|
||||
[chan][clc_stringcmd]prespawn [svcount] [n=0] [wcsum]
|
||||
{
|
||||
[chan][signon buffer n][stuffcmd]prespawn...
|
||||
[chan][clc_stringcmd]prespawn [svcount] [n]
|
||||
}
|
||||
[chan][signon buffer n][stuffcmd]spawn...
|
||||
[chan][clc_stringcmd]spawn [svcount] 0
|
||||
[chan][spawn info][stuffcmd]skins
|
||||
[chan][clc_stringcmd]begin [svcount]
|
||||
....
|
|
@ -105,12 +105,6 @@ static void OutofBandPrintf (netadr_t where, const char *fmt, ...) __attribute__
|
|||
|
||||
// USER STRINGCMD EXECUTION host_client and sv_player will be valid.
|
||||
|
||||
/*
|
||||
SV_New_f
|
||||
|
||||
Sends the first message from the server to a connected client.
|
||||
This will be sent on the initial connection and upon each server load.
|
||||
*/
|
||||
void
|
||||
SV_WriteWorldVars (netchan_t *netchan)
|
||||
{
|
||||
|
@ -143,6 +137,12 @@ SV_WriteWorldVars (netchan_t *netchan)
|
|||
Info_MakeString (svs.info, 0)));
|
||||
}
|
||||
|
||||
/*
|
||||
SV_New_f
|
||||
|
||||
Sends the first message from the server to a connected client.
|
||||
This will be sent on the initial connection and upon each server load.
|
||||
*/
|
||||
static void
|
||||
SV_New_f (void *unused)
|
||||
{
|
||||
|
@ -164,7 +164,7 @@ SV_New_f (void *unused)
|
|||
// NOTE: This doesn't go through MSG_ReliableWrite since it's before the
|
||||
// user spawns. These functions are written to not overflow
|
||||
if (host_client->backbuf.num_backbuf) {
|
||||
SV_Printf ("WARNING %s: [SV_New] Back buffered (%d0, clearing\n",
|
||||
SV_Printf ("WARNING %s: [SV_New] Back buffered (%d), clearing\n",
|
||||
host_client->name, host_client->netchan.message.cursize);
|
||||
host_client->backbuf.num_backbuf = 0;
|
||||
SZ_Clear (&host_client->netchan.message);
|
||||
|
@ -185,8 +185,8 @@ SV_New_f (void *unused)
|
|||
|
||||
// Trigger GIB connection event
|
||||
if (sv_client_connect_e->func)
|
||||
GIB_Event_Callback (sv_client_connect_e, 1, va ("%u",
|
||||
host_client->userid));
|
||||
GIB_Event_Callback (sv_client_connect_e, 1,
|
||||
va ("%u", host_client->userid));
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in a new issue