gitem_s Struct Reference

#include <bg_public.h>


Data Fields

char * classname
char * pickup_sound
char * world_model [MAX_ITEM_MODELS]
char * view_model
char * icon
int quantity
itemType_t giType
int giTag
char * precaches
char * sounds
char * description


Field Documentation

char* gitem_s::classname
 

Definition at line 1121 of file bg_public.h.

Referenced by BG_FindItem(), BG_FindItemForAmmo(), BG_FindItemForWeapon(), CG_DrawInvenSelect(), CG_InitG2Weapons(), CG_LoadingItem(), CG_RegisterWeapon(), Cmd_Give_f(), G_CallSpawn(), G_ItemDisabled(), ItemUse_UseDisp(), LaunchItem(), PlaceShield(), SP_gametype_item(), and Touch_Item().

char* gitem_s::description
 

Definition at line 1135 of file bg_public.h.

Referenced by UI_SiegeSetCvarsForClass().

int gitem_s::giTag
 

Definition at line 1131 of file bg_public.h.

Referenced by BeginAutoPathRoutine(), BG_CanItemBeGrabbed(), BG_FindItemForAmmo(), BG_FindItemForHoldable(), BG_FindItemForPowerup(), BG_FindItemForWeapon(), BG_GetItemIndexByTag(), BotHasAssociated(), CalculateWeightGoals(), CG_Init(), CG_InitG2Weapons(), CG_RegisterItemVisuals(), CG_RegisterWeapon(), FinishSpawningItem(), G_RMGPathing(), G_SpawnItem(), LaunchItem(), Pickup_Ammo(), Pickup_Armor(), Pickup_Health(), Pickup_Holdable(), Pickup_Powerup(), Pickup_Weapon(), Team_CheckDroppedItem(), Team_DroppedFlagThink(), Team_FreeEntity(), and Touch_Item().

itemType_t gitem_s::giType
 

Definition at line 1129 of file bg_public.h.

Referenced by BeginAutoPathRoutine(), BG_CanItemBeGrabbed(), BG_FindItemForAmmo(), BG_FindItemForHoldable(), BG_FindItemForPowerup(), BG_FindItemForWeapon(), BG_GetItemIndexByTag(), BotHasAssociated(), CalculateWeightGoals(), CG_EntityEvent(), CG_Init(), CG_InitG2Weapons(), CG_RegisterItemVisuals(), CG_RegisterWeapon(), FinishSpawningItem(), G_RMGPathing(), G_RunItem(), G_SpawnItem(), LaunchItem(), NPC_SearchForWeapons(), Pickup_Ammo(), Pickup_Armor(), Pickup_Health(), Pickup_Holdable(), Pickup_Weapon(), RespawnItem(), and Touch_Item().

char* gitem_s::icon
 

Definition at line 1125 of file bg_public.h.

Referenced by CG_DrawNewTeamInfo(), CG_Init(), CG_RegisterItemVisuals(), CG_RegisterWeapon(), and UI_SiegeSetCvarsForClass().

char* gitem_s::pickup_sound
 

Definition at line 1122 of file bg_public.h.

Referenced by CG_EntityEvent().

char* gitem_s::precaches
 

Definition at line 1133 of file bg_public.h.

int gitem_s::quantity
 

Definition at line 1128 of file bg_public.h.

Referenced by BG_CanItemBeGrabbed(), Pickup_Ammo(), Pickup_Armor(), Pickup_Health(), Pickup_Powerup(), Pickup_Weapon(), and TossClientWeapon().

char* gitem_s::sounds
 

Definition at line 1134 of file bg_public.h.

char* gitem_s::view_model
 

Definition at line 1124 of file bg_public.h.

Referenced by CG_RegisterWeapon().

char* gitem_s::world_model[MAX_ITEM_MODELS]
 

Definition at line 1123 of file bg_public.h.

Referenced by CG_InitG2Weapons(), CG_RegisterItemVisuals(), and CG_RegisterWeapon().


The documentation for this struct was generated from the following file: