One of my first programming projects. I tried to learn C and use curses...it is quite embarrassing looking back at it now :D
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

23 lines
368 B

#ifndef _WORLD
#define _WORLD
#define MAX_ENTITIES 10000
#define MAX_ITEMS 100
#include <structs.h>
#include <screen.h>
#include <time.h>
struct Entity allEntities[MAX_ENTITIES];
struct Item allItems[MAX_ITEMS];
#define MAX_PROJECTILES 2
struct Projectile projectiles[MAX_PROJECTILES];
#define INITIAL_SPAWN_NUM 10
int zombieModifier;
int itemModifier;
#endif