38 ent.
HP = std::max(ent.
HP, 0);
51 Actor* actor =
nullptr;
54 if (actor->
getTeam() == player.getTeam()) {
playermask_t G_TeamToPM(int team)
Generates the player bit mask for a given team.
Interface for g_client.cpp.
Actor * G_EdictsGetNextActor(Actor *lastEnt)
Iterate through the actor entities (even the dead!).
functions to handle the storage and lifecycle of all edicts in the game module.
void G_EventActorStats(const Edict &ent, playermask_t playerMask)
#define G_PlayerToPM(player)
void G_SendWoundStats(Edict *const ent)
Send wound stats to network buffer.
Local definitions for game module.
void G_SendStats(Edict &ent)
Send stats to network buffer.
void G_SendPlayerStats(const Player &player)
Write player stats to network buffer.