#include <g_local.h>
Public Attributes | |
char * | classname |
qboolean(* | pickup )(struct edict_s *ent, struct edict_s *other) |
void(* | use )(struct edict_s *ent, struct gitem_s *item) |
void(* | drop )(struct edict_s *ent, struct gitem_s *item) |
void(* | weaponthink )(struct edict_s *ent) |
char * | pickup_sound |
char * | world_model |
int | world_model_flags |
char * | view_model |
char * | icon |
char * | pickup_name |
int | count_width |
int | quantity |
char * | ammo |
int | flags |
int | weapmodel |
void * | info |
int | tag |
char * | precaches |
char* gitem_s::ammo |
Definition at line 254 of file g_local.h.
Referenced by ChangeWeapon(), Pickup_Weapon(), PrecacheItem(), and Use_Weapon().
char* gitem_s::classname |
Definition at line 238 of file g_local.h.
Referenced by Cmd_Give_f(), Drop_Item(), ED_CallSpawn(), FindItemByClassname(), G_SetClientSound(), and PrecacheItem().
Definition at line 241 of file g_local.h.
Referenced by Cmd_Drop_f(), Cmd_InvDrop_f(), and SpawnItem().
int gitem_s::flags |
Definition at line 255 of file g_local.h.
Referenced by Cmd_Give_f(), Cmd_WeapLast_f(), Cmd_WeapNext_f(), Cmd_WeapPrev_f(), Pickup_Ammo(), Pickup_Powerup(), player_die(), SelectNextItem(), SelectPrevItem(), SpawnItem(), Touch_Item(), and Use_Weapon().
char* gitem_s::icon |
Definition at line 249 of file g_local.h.
Referenced by G_SetStats(), PrecacheItem(), and Touch_Item().
void* gitem_s::info |
Definition at line 259 of file g_local.h.
Referenced by CheckArmor(), Cmd_Give_f(), and Pickup_Armor().
Definition at line 239 of file g_local.h.
Referenced by Cmd_Give_f(), SpawnItem(), and Touch_Item().
char* gitem_s::pickup_name |
Definition at line 250 of file g_local.h.
Referenced by FindItem(), SetItemNames(), TossClientWeapon(), trigger_key_use(), and Use_Weapon().
char* gitem_s::pickup_sound |
Definition at line 243 of file g_local.h.
Referenced by PrecacheItem(), and Touch_Item().
char* gitem_s::precaches |
Definition at line 262 of file g_local.h.
Referenced by PrecacheItem().
int gitem_s::quantity |
Definition at line 253 of file g_local.h.
Referenced by Cmd_Give_f(), Drop_Ammo(), Pickup_Adrenaline(), Pickup_Ammo(), Pickup_AncientHead(), Pickup_Bandolier(), Pickup_Pack(), Pickup_PowerArmor(), Pickup_Powerup(), Pickup_Weapon(), Use_Weapon(), and Weapon_Generic().
int gitem_s::tag |
Definition at line 260 of file g_local.h.
Referenced by Add_Ammo(), Drop_Ammo(), and Pickup_Armor().
Definition at line 240 of file g_local.h.
Referenced by Cmd_InvUse_f(), Cmd_Use_f(), Cmd_WeapLast_f(), Cmd_WeapNext_f(), Cmd_WeapPrev_f(), Pickup_PowerArmor(), Pickup_Powerup(), SelectNextItem(), SelectPrevItem(), and Touch_Item().
char* gitem_s::view_model |
Definition at line 246 of file g_local.h.
Referenced by ChangeWeapon(), PrecacheItem(), and PutClientInServer().
int gitem_s::weapmodel |
Definition at line 257 of file g_local.h.
Referenced by ChangeWeapon().
Definition at line 242 of file g_local.h.
Referenced by Think_Weapon().
char* gitem_s::world_model |
Definition at line 244 of file g_local.h.
Referenced by Drop_Item(), droptofloor(), and PrecacheItem().
int gitem_s::world_model_flags |
Definition at line 245 of file g_local.h.
Referenced by Drop_Item(), and SpawnItem().