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: */
40 #define DISTROS_LIFEUP 100
81 /* Speed constraints: */
83 #define MAX_WALK_XM 16
86 #define MAX_JUMP_COUNT 3
91 #define BULLET_STARTING_YM 8
95 #define YM_FOR_JUMP 40
96 #define KILL_BOUNCE_YM 8
102 #define BOUNCY_BRICK_MAX_OFFSET 8
103 #define BOUNCY_BRICK_SPEED 4
108 #define TUX_SAFE_TIME 16
111 /* Size constraints: */
113 #define OFFSCREEN_DISTANCE 256
115 #define LEVEL_WIDTH 375
120 #define NUM_BOUNCY_DISTROS 8
121 #define NUM_BROKEN_BRICKS 32
122 #define NUM_BOUNCY_BRICKS 4
123 #define NUM_BAD_GUYS 128
124 #define NUM_FLOATING_SCORES 6
125 #define NUM_UPGRADES 2
126 #define NUM_BULLETS 3
131 #define SCORE_BRICK 5
132 #define SCORE_DISTRO 25
137 typedef struct bouncy_distro_type {
139 } bouncy_distro_type;
141 typedef struct broken_brick_type {
142 int alive, x, y, xm, ym;
145 typedef struct bouncy_brick_type {
146 int alive, x, y, offset, offset_m, shape;
149 typedef struct bad_guy_type {
150 int alive, mode, dying, timer, kind, seen, dir, x, y, xm, ym;
153 typedef struct floating_score_type {
154 int alive, timer, x, y, value;
155 } floating_score_type;
157 typedef struct upgrade_type {
158 int alive, kind, height, x, y, xm, ym;
161 typedef struct bullet_type {
162 int alive, x, y, xm, ym;
166 /* Function prototypes: */