-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlevels.h
35 lines (24 loc) · 1.13 KB
/
levels.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*******************************************************************************************
** Author: Chris Spravka
** Date: 15 OCT 2018
** Description: levels header file
*******************************************************************************************/
#ifndef LEVELS_H
#define LEVELS_H
#include <stdlib.h>
#include <ncurses.h>
#include <string.h>
#include <arpa/inet.h>
#include "interfaces.h"
#include "planet.h"
void initLevelData(struct levelData * level);
void procGen(struct gameState * state, struct library * lib, struct levelData * level);
void addEnemy(struct gameState * state, struct library * lib, int ID, int AIlevel);
void freeLevelDisps(struct levelData * level);
void spawnEnemies(struct gameState * state, struct library * lib, struct levelData * level);
void manageSprites(struct gameState * state, struct library * lib, struct levelData * level);
void genOpenSpaceBG(struct gameState * state, struct library * lib);
void initOpenSpaceBG(struct gameState * state, struct library * lib);
void genAsteroidBG(struct gameState * state, struct library * lib, struct levelData * level);
int getRand(int, int);
#endif