X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=blobdiff_plain;f=advent.h;h=8150aa25accacfca6526ddcb41303f610f0e5f99;hp=56dcbe5fe0a29257d80a7f83cdbaa73e19d803ce;hb=8fe07c8bf36b1c06e8cf8689c04629df0fe51504;hpb=ff9c73a37d898d824aa9f8ecd4b670acd84d37e7 diff --git a/advent.h b/advent.h index 56dcbe5..8150aa2 100644 --- a/advent.h +++ b/advent.h @@ -182,8 +182,10 @@ struct game_t { turn_t trnluz; // # points lost so far due to turns used turn_t turns; // counts commands given (ignores yes/no) char zzword[TOKLEN + 1]; // randomly generated magic word from bird - int abbrev[NLOCATIONS + 1]; // has location been seen? - int atloc[NLOCATIONS + 1]; // head of object linked list per location + struct { + int abbrev; // has location been seen? + int atloc; // head of object linked list per location + } locs[NLOCATIONS + 1]; struct { int seen; // true if dwarf has seen him loc_t loc; // location of dwarves, initially hard-wired in