Xonotic
elimination.qh File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void EliminatedPlayers_Init (float(entity) isEliminated_func)
 

Variables

entity eliminatedPlayers
 

Function Documentation

◆ EliminatedPlayers_Init()

void EliminatedPlayers_Init ( float(entity isEliminated_func)

Definition at line 27 of file elimination.qc.

References backtrace, eliminatedPlayers, EliminatedPlayers_SendEntity(), and new_pure.

Referenced by freezetag_Initialize(), and REGISTER_MUTATOR().

28 {
30  {
31  backtrace("Can't spawn eliminatedPlayers again!");
32  return;
33  }
35  eliminatedPlayers.isEliminated = isEliminated_func;
36 }
bool EliminatedPlayers_SendEntity(entity this, entity to, float sendflags)
Definition: elimination.qc:7
#define backtrace(msg)
Definition: log.qh:105
entity eliminatedPlayers
Definition: elimination.qh:3
#define new_pure(class)
purely logical entities (.origin doesn't work)
Definition: oo.qh:62
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ eliminatedPlayers