2013-07-12 16:52:19 +00:00
|
|
|
#ifndef _G_ACTIVE_H
|
|
|
|
#define _G_ACTIVE_H
|
|
|
|
#include "g_local.h"
|
|
|
|
|
2014-03-18 23:44:36 +00:00
|
|
|
/**
|
|
|
|
* @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 );
|
|
|
|
|
2014-03-18 23:44:36 +00:00
|
|
|
/**
|
|
|
|
* @brief Places a decoy of the player.
|
|
|
|
* @param ent The player.
|
|
|
|
*/
|
2014-02-21 18:17:10 +00:00
|
|
|
qboolean PlaceDecoy(gentity_t *ent);
|
|
|
|
|
2014-03-18 23:44:36 +00:00
|
|
|
/**
|
|
|
|
* @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 */
|