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

27 lines
438 B
C
Raw Permalink Normal View History

2024-02-28 17:50:57 +00:00
#ifndef __SPAWN_H__
#define __SPAWN_H__
#include "game.h"
#include "movement.h"
void maybeSpawnEnemy(
struct GlobalGameState*, struct EnemyPosition[], struct RabbitPosition*
);
struct EnemySpawningDetails {
struct EnemyPosition *enemyPosition;
int gate;
int difficulty;
int spawnX;
int spawnY;
};
struct SpawnPointRange {
int left, width;
int top, height;
};
extern struct SpawnPointRange spawnPointRanges[];
#endif