client_persistant_t From g_local.h
以下の構造体はclient_persistant_t型として定義され、使用されている。
// client data that stays across multiple level loads
typedef struct
{
char userinfo[MAX_INFO_STRING];
char netname[16];
char sounddir[MAX_QPATH]; // player/male, etc
int hand;
// values saved and restored from edicts when changing levels
int health;
int max_health;
int selected_item;
int inventory[MAX_ITEMS];
// ammo capacities
int max_bullets;
int max_shells;
int max_rockets;
int max_grenades;
int max_cells;
int max_slugs;
gitem_t *weapon;
} client_persistant_t;
e-mail:ponpoko@axcx.com