X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=init.c;h=d7789ad7ce85aa17a9f23bb4b0d9165107a26e7e;hb=9437ccca36057e2ba4b6f4b407304f23f14ab4c4;hp=36f00b198e4f3986591c68d7a20019d35a79155c;hpb=87961483a22111329eac6967705190ccd72330f6;p=open-adventure.git diff --git a/init.c b/init.c index 36f00b1..d7789ad 100644 --- a/init.c +++ b/init.c @@ -131,7 +131,7 @@ * apply to players whose scores are higher than the previous N but not * higher than this N. Note that these scores probably change with every * modification (and particularly expansion) of the program. - * SECTION 11: Hints. Each line contains a hint number (add 10 to get cond + * Section 11: Hints. Each line contains a hint number (add 10 to get cond * bit; see section 9), the number of turns he must be at the right loc(s) * before triggering the hint, the points deducted for taking the hint, * the message number (section 6) of the question, and the message number @@ -352,16 +352,10 @@ void initialise(void) * game.limit Lifetime of lamp (not set here) * maximum_deaths Number of reincarnation messages available (up to 5) * game.numdie Number of times killed so far - * game.thresh Next #turns threshhold (-1 if none) - * game.trndex Index in TRNVAL of next threshold (db section 14) * game.trnluz # points lost so far due to number of turns used * game.turns Tallies how many commands he's given (ignores yes/no) * Logicals were explained earlier */ game.turns = 0; - game.trndex = 1; - game.thresh = -1; - if (TRNVLS > 0) - game.thresh = MOD(TRNVAL[1], 100000) + 1; game.trnluz = 0; game.lmwarn = false; game.iwest = 0;