parent
dda3e11477
commit
f2bea0209b
6 changed files with 51 additions and 27 deletions
@ -1,7 +1,7 @@ |
||||
CFLAGS=-I. -lncurses -lm
|
||||
|
||||
nZombies: |
||||
all: |
||||
gcc -o nZombies *.c $(CFLAGS)
|
||||
|
||||
clean: |
||||
@rm *.o nZombies
|
||||
@rm nZombies
|
||||
|
@ -1,10 +1,15 @@ |
||||
#ifndef _INITIALIZE_WORLD |
||||
#define _INITIALIZE_WORLD |
||||
|
||||
#define MAX_ALIVE 1000 |
||||
#define MAX_ALIVE 10000 |
||||
#include <structs.h> |
||||
#include <screen.h> |
||||
|
||||
|
||||
struct Entity allEntities[MAX_ALIVE]; |
||||
|
||||
|
||||
#define INITIAL_SPAWN_NUM 10 |
||||
void initializeWorld(); |
||||
|
||||
#endif |
||||
|
Loading…
Reference in new issue