]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/server/defs.qh
Port damage / velocity based player leaning from Xonotic, with good defaults for VT
[voretournament/voretournament.git] / data / qcsrc / server / defs.qh
index 2857578f835b99a174089c5c587a03beaee7e130..9df71320c12c46af29444c34c90bcca9e987f284 100644 (file)
@@ -297,6 +297,8 @@ float timeoutStatus; // (values: 0, 1, 2) contains whether a timeout is not acti
 entity timeoutInitiator; // contains the entity of the player who started the last timeout\r
 float orig_slowmo; // contains the value of cvar("slowmo") so that, after timeout finished, it isn't set to slowmo 1 necessarily\r
 .vector lastV_angle; //used when pausing the game in order to force the player to keep his old view angle fixed\r
+.vector leanangle_damage_loc, leanangle_damage_force; // used for leaning the player model\r
+.float leanangle_damage;\r
 entity timeoutHandler; //responsible for centerprinting the timeout countdowns and playing sounds\r
 void timeoutHandler_Think();\r
 void evaluateTimeout();\r