X-Git-Url: https://git.yukkurigames.com/?p=rogue-pphs.git;a=blobdiff_plain;f=rogue.h;h=47dfd8e81b12cc81a88f785f2c1c5394f00c4bc2;hp=b79c5f91cf02aecb0c60737037fa9958ebe36524;hb=a5ae529c042443657bd548d52084c3350edcf49e;hpb=4df411e3cd3cc20be5c9fc896da749be643783d1 diff --git a/rogue.h b/rogue.h index b79c5f9..47dfd8e 100644 --- a/rogue.h +++ b/rogue.h @@ -3,7 +3,7 @@ * * @(#)rogue.h 3.38 (Berkeley) 6/15/81 * - * Rogue: Exploring the Dungeons of Doom + * Rogue: Exploring the Cavern of Cuties * Copyright (C) 1980, 1981 Michael Toy, Ken Arnold and Glenn Wichman * All rights reserved. * @@ -73,6 +73,7 @@ #define ISMULT(type) (type == POTION || type == SCROLL || type == FOOD) #define rndchoice(a) (a[rnd(sizeof(a)/sizeof((a)[0]))]) #define hash(i) ((unsigned)(i)*2654435761u) + /* * Things that appear on the screens */ @@ -338,6 +339,8 @@ struct trap { extern struct trap traps[MAXTRAPS]; #define NUM_FEATURES 6 +#define MAYBE_INTERESTED 1 +#define INTERESTED 20 /* * Structure describing a fighting being @@ -440,7 +443,7 @@ extern int lastscore; /* Score before this turn */ extern int no_food; /* Number of levels without food */ extern int seed; /* Random number seed */ extern int count; /* Number of times to repeat command */ -extern int dnum; /* Dungeon number */ +extern int dnum; /* Cavern number */ extern int fung_hit; /* Number of time fungi has hit */ extern int quiet; /* Number of quiet turns */ extern int max_level; /* Deepest player has gone */ @@ -511,6 +514,11 @@ char *tr_name(), *new(); char *charge_str(),*vowelstr(), *inv_name(); char *ctime(), *num(), *ring_num(); +int readchar(WINDOW *win); +int md_readchar(WINDOW *win); +int wait_for(WINDOW *win, register char ch); +char *killname(register char monst); + struct room *roomin(); coord *rndmove();