-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathlevel.h
More file actions
14 lines (11 loc) · 699 Bytes
/
Copy pathlevel.h
File metadata and controls
14 lines (11 loc) · 699 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef LEVEL_H
#define LEVEL_H
#include "character.h"
#include "projectile.h"
enum {lvl_Benchmark = -2, lvl_Practise_Arena = -1, lvl_Survival = 0};
extern int level;
extern bool superpower;
void init_level(int Tick, SDL_Surface *screen, struct character **chars, struct character **player, struct character **boss, struct character **Woody, struct projectile **projs);
int spawn_or_kill (int Tick, SDL_Surface *screen, struct character **chars, struct character *player, struct character **Woody, struct character **boss, int *enemies_killed, bool *levelup, bool *retry, struct projectile **projs);
void Total_hp(struct character *chars, enum side side, long *hp, long *maxhp);
#endif //LEVEL_H