HomeSort by: relevance | last modified time | path
    Searched refs:rn1 (Results 1 - 12 of 12) sorted by relevancy

  /src/games/hack/
rnd.c 76 rn1(int x, int y) function in typeref:typename:int
hack.mkmaze.c 133 for (x = rn1(8, 11); x; x--) {
137 for (x = rn1(10, 2); x; x--) {
143 for (x = rn1(5, 7); x; x--) {
147 for (x = rn1(6, 7); x; x--) {
151 for (x = rn1(6, 7); x; x--)
hack.potion.c 120 Invis += rn1(15, 31);
142 nomul(-(rn1(10, 25)));
183 losestr(rn1(4, 3));
191 Confusion += rn1(7, 16);
215 Fast += rn1(10, 100);
222 Blind += rn1(100, 250);
hack.mkobj.c 128 otmp->quan = (otmp->otyp <= ROCK) ? rn1(6, 6) : 1;
170 otmp->spe = rn1(5,
hack.makemon.c 108 tmp = rn1(ct - ct / 2, ct / 2);
249 tx = rn1(COLNO - 3, 2);
hack.zap.c 228 (void) bhit(u.dx, u.dy, rn1(8, 6), 0, bhitm, bhito, obj);
517 range = rn1(7, 7);
714 tx = rn1(COLNO - 3, 2);
extern.h 536 int rn1(int, int);
hack.trap.c 199 u.utrap = rn1(6, 2);
hack.apply.c 362 u.utrap = rn1(4, 2);
hack.fight.c 458 nomul((u.ulevel > 6 || rn2(4)) ? rn1(20, -21) : -200);
hack.mon.c 691 losestr(rn1(3, 3));
693 losehp(rn1(10, 6), pname);
hack.mklev.c 132 if (dlevel >= rn1(3, 26)) { /* there might be several mazes */

Completed in 17 milliseconds