X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=blobdiff_plain;f=advent.h;h=f902a3eb5e36222c4672d5323d6c261703437c40;hp=7754923f5913c2f299df667ff0b59323d21e625b;hb=926a806db950bdb13fd24c8e85f93946c9ad7ee4;hpb=8f5c262e6dc953447f1a47b45aa045353d97f765 diff --git a/advent.h b/advent.h index 7754923..f902a3e 100644 --- a/advent.h +++ b/advent.h @@ -6,13 +6,12 @@ #include "dungeon.h" #define LINESIZE 1024 -#define TOKLEN 5 // # sigificant character sin a token */ +#define TOKLEN 5 // № sigificant characters in a token */ #define NDWARVES 6 // number of dwarves #define PIRATE NDWARVES // must be NDWARVES-1 when zero-origin #define DALTLC LOC_NUGGET // alternate dwarf location -#define INVLIMIT 7 // inverntory limit (# of objects) +#define INVLIMIT 7 // inverntory limit (№ of objects) #define INTRANSITIVE -1 // illegal object number -#define SPECIALBASE 300 // base number of special rooms #define GAMELIMIT 330 // base limit of turns #define NOVICELIMIT 1000 // limit of turns for novice #define WARNTIME 30 // late game starts at game.limit-this @@ -65,7 +64,6 @@ #define PCT(N) (randrange(100) < (N)) #define GSTONE(OBJ) ((OBJ) == EMERALD || (OBJ) == RUBY || (OBJ) == AMBER || (OBJ) == SAPPH) #define FOREST(LOC) CNDBIT(LOC, COND_FOREST) -#define SPECIAL(LOC) ((LOC) > SPECIALBASE) #define OUTSID(LOC) (CNDBIT(LOC, COND_ABOVE) || FOREST(LOC)) #define INDEEP(LOC) ((LOC) >= LOC_MISTHALL && !OUTSID(LOC)) #define BUG(x) bug(x, #x) @@ -162,7 +160,7 @@ struct game_t { long tally; long thresh; long trndex; - long trnluz; // # points lost so far due to number of turns used + long trnluz; // № points lost so far due to number of turns used long turns; // how many commands he's given (ignores yes/no) bool wzdark; // whether the loc he's leaving was dark char zzword[TOKLEN + 1]; // randomly generated magic word from bird