rpgxef/code/game/g_active.h

27 lines
694 B
C
Raw Normal View History

2013-07-12 16:52:19 +00:00
#ifndef _G_ACTIVE_H
#define _G_ACTIVE_H
#include "g_local.h"
/**
* @brief The detonation pack has been activated.
* @param self The detonation pack.
* @param inflictor The inflicting entity.
* @param attacker The attacking entity.
* @param damage Amount of damage.
* @param meansOfDeath The means of death.
*/
2013-07-12 16:52:19 +00:00
void detpack_shot( gentity_t* self, gentity_t* inflictor, gentity_t* attacker, int32_t damage, int32_t meansOfDeath );
/**
* @brief Places a decoy of the player.
* @param ent The player.
*/
2014-02-21 18:17:10 +00:00
qboolean PlaceDecoy(gentity_t *ent);
/**
* @brief Detonate a detonation pack.
* @param ent The detonation pack.
*/
void DetonateDetpack(gentity_t* ent);
2013-07-12 16:52:19 +00:00
#endif /* _G_ACTIVE_H */