Go to the source code of this file.
◆ ImpulseCommands()
Definition at line 372 of file impulse.qc.
References CheatImpulse(), CS(), FOREACH, MinigameImpulse(), round_handler_IsActive, round_handler_IsRoundStarted, TIMEOUT_ACTIVE, use, vehicle_impulse(), and X.
Referenced by ctf_FlagThink(), PlayerPostThink(), and PutPlayerInServer().
374 if (game_stopped)
return;
376 int imp =
CS(
this).impulse;
378 CS(
this).impulse = 0;
387 #define X(id) case IMP_##id.impulse: 402 FOREACH(IMPULSES, it.impulse == imp, {
403 void(entity) f = it.impulse_handle;
#define round_handler_IsActive()
float CheatImpulse(entity this, int imp)
ClientState CS(Client this)
bool vehicle_impulse(entity this, int imp)
const float TIMEOUT_ACTIVE
#define round_handler_IsRoundStarted()
bool MinigameImpulse(entity this, int imp)
#define FOREACH(list, cond, body)