X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=blobdiff_plain;f=sst.h;h=5617ae3ce2b4964e4c55a6a1bb1a3963576ed4c8;hp=c93fbc5deccba64d4934c4c3259879e204a8ca3a;hb=02f05de93d48d0147cfffbb8e55ca7776ca09797;hpb=48763357ef69f0b711fc332b13e2170ab914d881 diff --git a/sst.h b/sst.h index c93fbc5..5617ae3 100644 --- a/sst.h +++ b/sst.h @@ -16,11 +16,11 @@ #define NEVENTS (8) typedef struct { - int x; /* Quadrant location of planet */ - int y; - int pclass; /* class M, N, or O (1, 2, or 3) */ - int crystals; /* has crystals */ - int known; /* =1 contents known, =2 shuttle on this planet */ + int x; /* Quadrant location of planet */ + int y; + int pclass; /* class M, N, or O (1, 2, or 3) */ + int crystals; /* has crystals */ + enum {unknown, known, shuttle_down} known; } planet; typedef struct { @@ -54,7 +54,7 @@ typedef struct { // original names. Gee, I could have done this with the d structure, // but I just didn't think of it back when I started. -EXTERN struct foo2 { +EXTERN struct { snapshot state; snapshot snapsht; char quad[11][11]; // contents of our quadrant