monsterinfo_t From g_local.h

以下の構造体はmoveinfo_t型として定義され、使用されている。
typedef struct
{
	mmove_t		*currentmove;
	int		aiflags;
	int		nextframe;
	float		scale;

	void		(*stand)(edict_t *self);
	void		(*idle)(edict_t *self);
	void		(*search)(edict_t *self);
	void		(*walk)(edict_t *self);
	void		(*run)(edict_t *self);
	void		(*dodge)(edict_t *self, edict_t *other, float eta);
	void		(*attack)(edict_t *self);
	void		(*melee)(edict_t *self);
	void		(*sight)(edict_t *self, edict_t *other);
	qboolean	(*checkattack)(edict_t *self);

	float		pausetime;
	float		attack_finished;

	vec3_t		saved_goal;
	float		search_time;
	float		trail_time;
	vec3_t		last_sighting;
	int		attack_state;
	int		lefty;
	float		idle_time;
	int		linkcount;

	int		power_armor_type;
	int		power_armor_power;
} monsterinfo_t;

e-mail:ponpoko@axcx.com