solid_t From game.h

solid_tは以下の0〜3の値をとる。
typedef enum
{
SOLID_NOT,		// no interaction with other objects
SOLID_TRIGGER,		// only touch when inside, after moving
SOLID_BBOX,		// touch on edge
SOLID_BSP		// bsp clip, touch on edge
} solid_t;

qboolean From q_shared.h

qbooleanはfalse(0)、true(1)の値をとる。
typedef enum {false, true}	qboolean;

byte From q_shared.h

byteはunsigned char(0〜255)の型を表す。
typedef unsigned char byte;

vec_t From q_shared.h

vec_tはfloatの型宣言と同じ意味。
typedef float vec_t;

vec3_t From q_shared.h

vec3_tは3個のfloat型要素から成る配列であり、主にベクトル、座標の表現に使用される{x,y,z}。
typedef vec_t vec3_t[3];

link_s From game.h

link_s構造体は以下のとおりlink_t型として定義され、使用されている。
// link_t is only used for entity area links now
typedef struct link_s
{
	struct link_s	*prev, *next;
} link_t;

mmove_t From g_local.h

以下の構造体はmmove_t型として定義され、使用されている。
typedef struct
{
	int		firstframe;
	int		lastframe;
	mframe_t	*frame;
	void		(*endfunc)(edict_t *self);
} mmove_t;

mframe_t From g_local.h

以下の構造体はmframe_t型として定義され、使用されている。
typedef struct
{
	void	(*aifunc)(edict_t *self, float dist);
	float	dist;
	void	(*thinkfunc)(edict_t *self);
} mframe_t;

pmtype_t From q_shared.h

pmtype_tは以下の0〜4の値をとる。
// pmove_state_t is the information necessary for client side movement
// prediction
typedef enum
{
	// can accelerate and turn
	PM_NORMAL,
	PM_SPECTATOR,
	// no acceleration or turning
	PM_DEAD,
	PM_GIB,		// different bounding box
	PM_FREEZE
} pmtype_t;

client_respawn_t From g_local.h

以下の構造体はclient_respawn_t型として定義され、使用されている。
// client data that staus across deathmatch respawns
typedef struct
{
	int		enterframe;		// level.framenum the client entered the game
	int		score;			// frags, etc
	vec3_t		cmd_angles;		// angles sent over in the last command
} client_respawn_t;

weaponstate_t From g_local.h

weaponstate_tは以下の0〜3の値をとる。
typedef enum
{
	WEAPON_READY, 
	WEAPON_ACTIVATING,
	WEAPON_DROPPING,
	WEAPON_FIRING
} weaponstate_t;

e-mail:ponpoko@axcx.com