heretic2-sdk/Toolkit/Programming/GameCode/game/g_weapon.h

32 lines
1.3 KiB
C
Raw Normal View History

1998-11-24 00:00:00 +00:00
//
1999-03-18 00:00:00 +00:00
// g_weapon.h
1998-11-24 00:00:00 +00:00
//
// Heretic II
// Copyright 1998 Raven Software
//
#ifndef P_WEAPON_H
#define P_WEAPON_H
// ************************************************************************************************
// WeaponThink_XXX
// ---------------
// Player-weapon think functions, each corresponding to one weapon type. Made visible here so that
// they can be referenced from 'g_items.c'.
// ************************************************************************************************
void WeaponThink_SwordStaff(edict_t *Caster,char *Format,...);
void WeaponThink_FlyingFist(edict_t *Caster,char *Format,...);
void WeaponThink_MagicMissileSpread(edict_t *Caster,char *Format,...);
void WeaponThink_SphereOfAnnihilation(edict_t *Caster,char *Format,...);
void WeaponThink_Maceballs(edict_t *Caster,char *Format,...);
void WeaponThink_Firewall(edict_t *Caster,char *Format,...);
void WeaponThink_Ripper(edict_t *Caster,char *Format,...);
void WeaponThink_Blast(edict_t *Caster,char *Format,...);
void WeaponThink_RedRainBow(edict_t *Caster, char *Format,...);
void WeaponThink_PhoenixBow(edict_t *Caster, char *Format,...);
void WeaponThink_HellStaff(edict_t *Caster, char *Format,...);
extern void AlertMonsters (edict_t *self, edict_t *enemy, float lifetime, qboolean ignore_shadows);
#endif // P_WEAPON_H