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

37 lines
733 B
C
Raw Normal View History

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[]
);
2024-02-25 20:48:19 +00:00
void buildCollisionGrids(
struct BulletPosition rabbitBulletPosition[],
struct RabbitPosition *rabbitPosition,
struct EnemyPosition enemyPosition[]
);
2024-02-25 21:59:04 +00:00
void attemptToFireEnemyBullets(
struct EnemyPosition[],
struct BulletPosition enemyBulletPosition[],
struct RabbitPosition*
);
void advanceEnemyBullets(
struct BulletPosition[]
);