-typedef struct jumpnrun_shot {
- rectangle old_box;
- rectangle current_box;
- vec2d inertia;
- uint8_t tick;
-} jumpnrun_shot;
-
-static inline bool jumpnrun_shot_spawned(jumpnrun_shot const *shot) { return fixed_point_ne(shot->inertia.x, FIXED_INT(0)); }
-static inline void jumpnrun_shot_despawn(jumpnrun_shot *shot) { shot->inertia.x = FIXED_INT(0); }
-
-enum {
- JUMPNRUN_MAX_SHOTS = 2
-};
-
-typedef struct jumpnrun_game_state {
- jumpnrun_moveable player;
-
- uint8_t status;
- int left;
- uint8_t lives;
- uint8_t keys;
-
- jumpnrun_shot shots[JUMPNRUN_MAX_SHOTS];
-} jumpnrun_game_state;
-
-vec2d hacker_extents(void);