r_motionblur 0 // motion blur value, default is 0
r_damageblur 0 // motion blur when damaged, default is 0 (removed in Xonotic)
-r_bloom_blur 6
-r_bloom_brighten 1.5
-r_bloom_colorexponent 2
-r_bloom_colorscale 1.75
-r_bloom_colorsubtract 0.1
-r_bloom_resolution 320
-
seta vid_x11_display "" "xonotic-linux-*.sh will use this to start xonotic on an other/new X display"
// This can have three possible settings:
// "" run as usual
setorigin(e, e.antilag_saved_origin);
e.antilag_takenback = FALSE;
}
+
+void antilag_clear(entity e)
+{
+ float i;
+
+ antilag_restore(e);
+ for(i = 0; i < ANTILAG_MAX_ORIGINS; ++i)
+ {
+ e.(antilag_times[i]) = -2342;
+ e.(antilag_origins[i]) = self.origin;
+ }
+ e.antilag_index = 0;
+}
vector antilag_takebackavgvelocity(entity e, float t0, float t1);
void antilag_takeback(entity e, float t);
void antilag_restore(entity e);
+void antilag_clear(entity e);
#define ANTILAG_LATENCY(e) min(0.4, e.ping * 0.001)
// add one ticrate?
T: time at which the game ended
G: game type
M: map name
+ I: match ID (see "matchid" in g_world.qc
S: "hostname" of the server
C: number of "unpure" cvar changes
+ U: UDP port number of the server
P: player ID of an existing player; this also sets the owner for all following "n", "e" and "t" lines (lower case!)
- I: match ID (see "matchid" in g_world.qc
n: nickname of the player (optional)
t: team ID
e: followed by an event name, a space, and the event count/score
url_fputs(fh, sprintf("I %s\n", matchid));
url_fputs(fh, sprintf("S %s\n", cvar_string("hostname")));
url_fputs(fh, sprintf("C %d\n", cvar_purechanges_count));
+ url_fputs(fh, sprintf("U %d\n", cvar("port")));
for(p = playerstats_last; (pn = db_get(playerstats_db, sprintf("%s:*", p))) != ""; p = pn)
{
url_fputs(fh, sprintf("P %s\n", p));