7 bill@newbreedsoftware.com
8 http://www.newbreedsoftware.com/supertux/
10 April 11, 2000 - November 7, 2001
14 /* Direction (keyboard/joystick) states: */
32 /* Bounciness of distros: */
76 /* Speed constraints: */
78 #define MAX_WALK_XM 16
81 #define MAX_JUMP_COUNT 3
86 #define BULLET_STARTING_YM 8
90 #define YM_FOR_JUMP 40
91 #define KILL_BOUNCE_YM 8
97 #define BOUNCY_BRICK_MAX_OFFSET 8
98 #define BOUNCY_BRICK_SPEED 4
103 #define TUX_SAFE_TIME 16
106 /* Size constraints: */
108 #define OFFSCREEN_DISTANCE 256
110 #define LEVEL_WIDTH 375
115 #define NUM_BOUNCY_DISTROS 8
116 #define NUM_BROKEN_BRICKS 32
117 #define NUM_BOUNCY_BRICKS 4
118 #define NUM_BAD_GUYS 128
119 #define NUM_FLOATING_SCORES 6
120 #define NUM_UPGRADES 2
121 #define NUM_BULLETS 3
126 #define SCORE_BRICK 5
127 #define SCORE_DISTRO 25
132 typedef struct bouncy_distro_type {
134 } bouncy_distro_type;
136 typedef struct broken_brick_type {
137 int alive, x, y, xm, ym;
140 typedef struct bouncy_brick_type {
141 int alive, x, y, offset, offset_m, shape;
144 typedef struct bad_guy_type {
145 int alive, mode, dying, timer, kind, seen, dir, x, y, xm, ym;
148 typedef struct floating_score_type {
149 int alive, timer, x, y, value;
150 } floating_score_type;
152 typedef struct upgrade_type {
153 int alive, kind, height, x, y, xm, ym;
156 typedef struct bullet_type {
157 int alive, x, y, xm, ym;
161 /* Function prototypes: */