dos-vga-arena-shooter-game/combat.h

27 lines
543 B
C

void attemptToFireRabbitBullet(
struct RabbitPosition*,
struct RabbitWeaponry*,
struct BulletPosition[]
);
void advanceRabbitBullets(
struct BulletPosition[],
struct RabbitWeaponry*
);
void handleRabbitBulletToEnemyCollisions(
struct BulletPosition[],
struct EnemyPosition[]
);
void handleRabbitToEnemyCollisions(
struct RabbitPosition*,
struct EnemyPosition[]
);
void buildCollisionGrids(
struct BulletPosition rabbitBulletPosition[],
struct RabbitPosition *rabbitPosition,
struct EnemyPosition enemyPosition[]
);