|
Xonotic
|
Header file that describes the handicap system. More...
This graph shows which files directly or indirectly include this file: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().
Here is the call graph for this function:
Here is the caller graph for this function: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().
Here is the call graph for this function:
Here is the caller graph for this function: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().
Here is the call graph for this function:
Here is the caller graph for this function: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().
Here is the call graph for this function:
Here is the caller graph for this function: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().
Here is the call graph for this function:
Here is the caller graph for this function: