master
parent ba3824bac4
commit 22d03e26b6
  1. 20
      bullet.h
  2. 0
      missile1.ase
  3. 0
      missile2.ase
  4. 0
      scarlet.png

@ -1,20 +0,0 @@
#pragma once
#include "type.h"
struct Bullet {
struct Vec2 pos;
int v;
int active;
};
struct Bullet_table {
int n;
struct Bullet *bullets;
};
void bullet_table_init(void);
void bullet_table_update(void);
void bullet_table_draw(int timer);
void bullet_destroy(struct Bullet *bullet);
void bullet_fire(int x, int y, int v);
int bullet_nb(void);
Loading…
Cancel
Save