This commit is contained in:
t. boddy 2026-02-18 18:18:15 -05:00
parent 06648c2dc1
commit 06e8e735fb
12 changed files with 17 additions and 31 deletions

View file

@ -1,3 +1,13 @@
// forward declarations (defined in sfx.h, chrome.h, main.c)
void sfxPlayerShot();
void sfxEnemyShotA();
void sfxEnemyShotB();
void sfxEnemyShotC();
void sfxExplosion();
void sfxPickup();
void loadMap();
void loadGame();
u32 clock;
#define CLOCK_LIMIT 32000
#define PROP_COUNT 8
@ -23,7 +33,6 @@ u32 score;
#define MAP_W 38
#define MAP_H 3
char debugStr[8];
void EMPTY(s16 i){(void)i;}
bool started;
@ -62,7 +71,7 @@ struct playerStruct {
Vect2D_f32 pos, vel;
s16 shotAngle;
u8 lives, recoveringClock;
fix32 camera, yCamera;
fix32 camera;
Sprite* image;
};
struct playerStruct player;