diff options
| author | Philip <philip@philip-linuxlaptop.(none)> | 2010-11-07 04:15:45 (GMT) |
|---|---|---|
| committer | Philip <philip@philip-linuxlaptop.(none)> | 2010-11-07 04:15:45 (GMT) |
| commit | fd79639c5d5165d07f454b2e146154f78cec957c (patch) | |
| tree | 3fceb8f0864e1bb4de21685ea0fa8dde9f42b337 /includes | |
| parent | 3ad216f95310822837e423c4e6e96fea51a8c0b2 (diff) | |
| download | powder-fd79639c5d5165d07f454b2e146154f78cec957c.zip powder-fd79639c5d5165d07f454b2e146154f78cec957c.tar.gz | |
compressed code, yay and a grid for rule sets.
Diffstat (limited to 'includes')
| -rw-r--r-- | includes/powder.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/includes/powder.h b/includes/powder.h index 08aeea0..0b749f7 100644 --- a/includes/powder.h +++ b/includes/powder.h @@ -386,7 +386,20 @@ static part_state pstates[PT_NUM] = /* HSWC */ {ST_NONE, PT_NONE, 0.0f, PT_NONE, 0.0f, PT_NONE, 0.0f, PT_NONE, 0.0f}, /* IRON */ {ST_SOLID, PT_NONE, 0.0f, PT_LAVA, 1687.0f, PT_NONE, 0.0f, PT_NONE, 0.0f}, }; - +static int grule[NGOL][10] = +{ +// 0,1,2,3,4,5,6,7,8,9 live=1 spawn=2 spawn&live=3 + {0,0,0,0,0,0,0,0,0,0},//blank + {0,0,1,3,0,0,0,0,0,0},//GOL + {0,0,1,3,0,0,2,0,0,0},//HLIF + {0,0,0,2,3,3,1,1,0,0},//ASIM + {0,1,1,2,0,1,2,0,0,0},//2x2 + {0,0,0,3,1,0,3,3,3,0},//DANI + {0,1,0,3,0,3,0,2,1,0},//AMOE + {0,0,1,2,1,1,2,0,2,0},//MOVE + {0,0,1,3,0,2,0,2,1,0},//PGOL + {0,0,0,2,0,3,3,3,3,0},//DMOE +}; extern int isplayer; extern float player[27]; |
