diff options
author | quou <quou@disroot.org> | 2024-10-02 18:47:37 +1000 |
---|---|---|
committer | quou <quou@disroot.org> | 2024-10-02 18:47:37 +1000 |
commit | 4d94823a1523db6dc218bdc0d86689616c13599d (patch) | |
tree | cfc6dc5bf3cbfff9c0a31b7939441d86116eff29 /obj.h | |
parent | 911f57c63ec6de6fb5704c97130b65e676b2c16e (diff) |
Gun special
Diffstat (limited to 'obj.h')
-rw-r--r-- | obj.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -45,6 +45,16 @@ void update_player( void ren_player(const Player* p, struct Renderer* r); typedef struct { + int x, y, w; + int life; +} Laser; + +void init_laser(Laser* l); +void activate_laser(Laser* l, int x, int y); +void update_laser(Laser* l); +void ren_laser(const Laser* l, struct Renderer* r); + +typedef struct { int x, y; int frame, anim; int bmp; |