implement status command for nq clients that expect something to be printed. IP addresses are withheld.

fix stats issue.
support menuqc-based loading screens.
fixed 2d render-to-texture issues.
(finally) throttle 'connection lost or aborted' messages. report the ip address too, because we can.
begun work on nq-style player ip-logging. ip addresses are collected now, but there's still no actual database code yet.
rewrote engine auto-update. now part of the updates menu instead of system-specific special-case code. Still requires a system function to actually invoke the updated engine however.
added sdl audio capture support (requires sdl 2.0.5).
treat q_version like f_version etc. respond to both.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5046 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2017-01-24 10:27:39 +00:00
parent 9055d674eb
commit c68cbfec24
36 changed files with 855 additions and 631 deletions

View file

@ -169,6 +169,8 @@ typedef struct player_info_s
int ping;
qbyte pl;
char ip[128];
struct
{
float time; //invalid if too old.
@ -531,6 +533,7 @@ typedef struct
int language;
colourised_t *colourised;
qboolean nqexpectingstatusresponse;
} client_static_t;
extern client_static_t cls;
@ -917,6 +920,16 @@ typedef struct
MATCH_STANDBY,
MATCH_INPROGRESS
} matchstate;
enum {
CLNQPP_NONE,
CLNQPP_PINGS,
CLNQPP_STATUS, //"host: *\n" ... "players: *\n\n"
CLNQPP_STATUSPLAYER, //#...\n
CLNQPP_STATUSPLAYERIP, // foobar\n
} nqparseprint;
int nqparseprintplayer;
float nqplayernamechanged;
} client_state_t;
extern unsigned int cl_teamtopcolor;