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
92 #define BULLET_STARTING_YM 8
96 #define YM_FOR_JUMP 40
97 #define KILL_BOUNCE_YM 8
103 #define BOUNCY_BRICK_MAX_OFFSET 8
104 #define BOUNCY_BRICK_SPEED 4
109 #define TUX_SAFE_TIME 16
112 /* Size constraints: */
114 #define OFFSCREEN_DISTANCE 256
116 #define LEVEL_WIDTH 375
121 #define NUM_BOUNCY_DISTROS 8
122 #define NUM_BROKEN_BRICKS 32
123 #define NUM_BOUNCY_BRICKS 4
124 #define NUM_BAD_GUYS 128
125 #define NUM_FLOATING_SCORES 6
126 #define NUM_UPGRADES 2
127 #define NUM_BULLETS 3
132 #define SCORE_BRICK 5
133 #define SCORE_DISTRO 25
138 typedef struct bouncy_distro_type {
140 } bouncy_distro_type;
142 typedef struct broken_brick_type {
143 int alive, x, y, xm, ym;
146 typedef struct bouncy_brick_type {
147 int alive, x, y, offset, offset_m, shape;
150 typedef struct bad_guy_type {
151 int alive, mode, dying, timer, kind, seen, dir, x, y, xm, ym;
154 typedef struct floating_score_type {
155 int alive, timer, x, y, value;
156 } floating_score_type;
158 typedef struct upgrade_type {
159 int alive, kind, height, x, y, xm, ym;
162 typedef struct bullet_type {
163 int alive, x, y, xm, ym;
167 /* Function prototypes: */