Xonotic
|
Header file that describes the handicap system. More...
Go to the source code of this file.
Functions | |
float | Handicap_GetForcedHandicap (entity player) |
Returns the forced handicap of the player. More... | |
float | Handicap_GetTotalHandicap (entity player) |
Returns the total handicap of the player. More... | |
float | Handicap_GetVoluntaryHandicap (entity player) |
Returns the voluntary handicap of the player. More... | |
void | Handicap_Initialize (entity player) |
Initializes handicap to its default value. More... | |
void | Handicap_SetForcedHandicap (entity player, float value) |
Sets the forced handicap of the player. More... | |
Header file that describes the handicap system.
Definition in file handicap.qh.
Returns the forced handicap of the player.
[in] | player | Player to check. |
Definition at line 23 of file handicap.qc.
References CS().
Referenced by Handicap_GetTotalHandicap().
Returns the total handicap of the player.
[in] | player | Player to check. |
Definition at line 37 of file handicap.qc.
References Handicap_GetForcedHandicap(), and Handicap_GetVoluntaryHandicap().
Referenced by PlayerDamage().
Returns the voluntary handicap of the player.
[in] | player | Player to check. |
Definition at line 18 of file handicap.qc.
References bound(), and CS_CVAR.
Referenced by Handicap_GetTotalHandicap().
Initializes handicap to its default value.
[in,out] | player | Player to initialize. |
Definition at line 13 of file handicap.qc.
References CS().
Referenced by ClientConnect().
Sets the forced handicap of the player.
[in] | player | Player to alter. |
[in] | value | Handicap value to set. |
Definition at line 28 of file handicap.qc.
Referenced by DynamicHandicap_UpdateHandicap().