#define GeneLen 128 typedef unsigned short Gene; typedef struct ind_rec { struct ind_rec *next, *prev; Gene gene[GeneLen]; unsigned short id, root_id, size, growing, nseeds; char dummy_pad[6]; } individual; typedef struct cell_rec { struct cell_rec *next, *prev, *wmap; struct ind_rec *ind; unsigned short d, state; double x, y; } cell; #define StopCellP(c) (c->state & 8)