comparison src/creep.h @ 11:c0bb53eaa6f4

Calculate distances from goal for all passible points for pathfinding purposes
author Mike Pavone <pavone@retrodev.com>
date Sun, 12 Jan 2014 17:05:53 -0800
parents 3ed112d64b1b
children 5c7f33441e43
comparison
equal deleted inserted replaced
9:5ec4707a3fd1 11:c0bb53eaa6f4
6 } creep_species; 6 } creep_species;
7 7
8 typedef struct { 8 typedef struct {
9 u16 index; 9 u16 index;
10 u16 health; 10 u16 health;
11 u16 waypoint;
11 u8 species; 12 u8 species;
12 u8 direction; 13 u8 direction;
13 } creep; 14 } creep;
14 15
15 #define MAX_CREEPS 40 16 #define MAX_CREEPS 40