UFO: Alien Invasion
Loading...
Searching...
No Matches
q_sizes.h File Reference
This graph shows which files directly or indirectly include this file:

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

◆ BOX_DELTA_HEIGHT

#define BOX_DELTA_HEIGHT   27

Definition at line 28 of file q_sizes.h.

◆ BOX_DELTA_LENGTH

#define BOX_DELTA_LENGTH   11

Definition at line 27 of file q_sizes.h.

◆ BOX_DELTA_WIDTH

#define BOX_DELTA_WIDTH   11

Definition at line 26 of file q_sizes.h.

◆ EYE_CROUCH

#define EYE_CROUCH   3

Definition at line 5 of file q_sizes.h.

Referenced by G_ActorGetEyeVector().

◆ EYE_STAND

#define EYE_STAND   15

Definition at line 4 of file q_sizes.h.

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

◆ PLAYER2x2_WIDTH

#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().

◆ PLAYER_CROUCH

#define PLAYER_CROUCH   5

Definition at line 7 of file q_sizes.h.

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

◆ PLAYER_CROUCHING_HEIGHT

#define PLAYER_CROUCHING_HEIGHT   (PLAYER_CROUCH - PLAYER_MIN)

Definition at line 13 of file q_sizes.h.

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

◆ PLAYER_DEAD

#define PLAYER_DEAD   -12

Definition at line 8 of file q_sizes.h.

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

◆ PLAYER_MIN

#define PLAYER_MIN   -24

◆ PLAYER_STAND

#define PLAYER_STAND   20

◆ PLAYER_STANDING_HEIGHT

#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().

◆ PLAYER_WIDTH

#define PLAYER_WIDTH   9