X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fstats.qh;h=128f090c4fd9ec94ff1269b3336bda705be60c8e;hb=904efd53a80c0dd3ae57a8928bd2652d21b06398;hp=e91aa37259f5b3fbef9c97e234539a8e337755c5;hpb=d642869b5cbf0eb0d1e9a461f2b7839952aeaab4;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/stats.qh b/qcsrc/common/stats.qh index e91aa3725..128f090c4 100644 --- a/qcsrc/common/stats.qh +++ b/qcsrc/common/stats.qh @@ -79,7 +79,7 @@ float game_stopped; float game_starttime; //point in time when the countdown to game start is over float round_starttime; //point in time when the countdown to round start is over int autocvar_leadlimit; -int checkrules_overtimesadded; +int overtimes; // overtimes added (-1 = sudden death) int timeout_status; // (values: 0, 1, 2) contains whether a timeout is not active (0), was called but still at leadtime (1) or is active (2) // TODO: world.qh can't be included here due to circular includes! @@ -118,7 +118,7 @@ REGISTER_STAT(SECRETS_TOTAL, int, secrets_total) REGISTER_STAT(SECRETS_FOUND, int, secrets_found) REGISTER_STAT(RESPAWN_TIME, float) REGISTER_STAT(ROUNDSTARTTIME, float, round_starttime) -REGISTER_STAT(OVERTIMESADDED, int, checkrules_overtimesadded) +REGISTER_STAT(OVERTIMES, int, overtimes) REGISTER_STAT(TIMEOUT_STATUS, int, timeout_status) REGISTER_STAT(MONSTERS_TOTAL, int) REGISTER_STAT(MONSTERS_KILLED, int) @@ -366,6 +366,7 @@ REGISTER_STAT(Q3COMPAT, int, q3compat) #include "physics/movetypes/movetypes.qh" float warmup_limit; float round_limit; +int rounds_played; #endif #ifdef SVQC @@ -405,6 +406,7 @@ REGISTER_STAT(MOVEVARS_AIRCONTROL, float) REGISTER_STAT(FRAGLIMIT, float, autocvar_fraglimit) REGISTER_STAT(TIMELIMIT, float, autocvar_timelimit) REGISTER_STAT(WARMUP_TIMELIMIT, float, warmup_limit) +REGISTER_STAT(ROUNDS_PLAYED, int, rounds_played) REGISTER_STAT(ROUND_TIMELIMIT, float, round_limit) #ifdef SVQC float autocvar_sv_wallfriction;