UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
q_sizes.h File Reference

Go to the source code of this file.

Macros

#define EYE_STAND   15
 
#define EYE_CROUCH   3
 
#define PLAYER_STAND   20
 
#define PLAYER_CROUCH   5
 
#define PLAYER_DEAD   -12
 
#define PLAYER_MIN   -24
 
#define PLAYER_WIDTH   9
 
#define PLAYER_STANDING_HEIGHT   (PLAYER_STAND - PLAYER_MIN)
 
#define PLAYER_CROUCHING_HEIGHT   (PLAYER_CROUCH - PLAYER_MIN)
 
#define PLAYER2x2_WIDTH   18
 
#define BOX_DELTA_WIDTH   11
 
#define BOX_DELTA_LENGTH   11
 
#define BOX_DELTA_HEIGHT   27
 

Macro Definition Documentation

#define BOX_DELTA_HEIGHT   27

Definition at line 28 of file q_sizes.h.

#define BOX_DELTA_LENGTH   11

Definition at line 27 of file q_sizes.h.

#define BOX_DELTA_WIDTH   11

Definition at line 26 of file q_sizes.h.

#define EYE_CROUCH   3

Definition at line 5 of file q_sizes.h.

Referenced by G_ActorGetEyeVector().

#define EYE_STAND   15

Definition at line 4 of file q_sizes.h.

Referenced by G_ActorGetEyeVector(), and fireDef_s::getShotOrigin().

#define PLAYER2x2_WIDTH   18

Width of a 2x2 unit.

Todo:
may need some tweaks.

Definition at line 23 of file q_sizes.h.

Referenced by G_Actor2x2Spawn(), and G_ActorSetMaxs().

#define PLAYER_CROUCH   5

Definition at line 7 of file q_sizes.h.

Referenced by CL_ActorVis(), G_ActorSetMaxs(), G_ActorVis(), and fireDef_s::getShotOrigin().

#define PLAYER_CROUCHING_HEIGHT   (PLAYER_CROUCH - PLAYER_MIN)

Definition at line 13 of file q_sizes.h.

Referenced by CL_GetHitProbability(), and Step::init().

#define PLAYER_DEAD   -12

Definition at line 8 of file q_sizes.h.

Referenced by CL_ActorVis(), G_ActorSetMaxs(), and G_ActorVis().

#define PLAYER_MIN   -24
#define PLAYER_STAND   20
#define PLAYER_STANDING_HEIGHT   (PLAYER_STAND - PLAYER_MIN)

Definition at line 12 of file q_sizes.h.

Referenced by CL_GetHitProbability(), Step::init(), and RT_CanActorStandHere().

#define PLAYER_WIDTH   9