UFO: Alien Invasion
Loading...
Searching...
No Matches
q_sizes.h
Go to the documentation of this file.
1#pragma once
2
3/* Sizes of the eye-levels and bounding boxes for actors/units. */
4#define EYE_STAND 15
5#define EYE_CROUCH 3
6#define PLAYER_STAND 20
7#define PLAYER_CROUCH 5
8#define PLAYER_DEAD -12
9#define PLAYER_MIN -24
10#define PLAYER_WIDTH 9
11
12#define PLAYER_STANDING_HEIGHT (PLAYER_STAND - PLAYER_MIN)
13#define PLAYER_CROUCHING_HEIGHT (PLAYER_CROUCH - PLAYER_MIN)
14
15#if 0
16#define EYE2x2_STAND 15
17#define EYE2x2_CROUCH 3
18#define PLAYER2x2_STAND 20
19#define PLAYER2x2_CROUCH 5
20#define PLAYER2x2_DEAD -12
21#define PLAYER2x2_MIN -24
22#endif
23#define PLAYER2x2_WIDTH 18
24
25/* field marker box */
26#define BOX_DELTA_WIDTH 11
27#define BOX_DELTA_LENGTH 11
28#define BOX_DELTA_HEIGHT 27