Searched refs:which_kind (Results 1 – 12 of 12) sorted by relevance
| /netbsd-src/games/rogue/ |
| H A D | object.c | 311 if (obj->which_kind == RATION) { in name_of() 318 retstring = is_wood[obj->which_kind] ? "staff " : "wand "; in name_of() 321 switch(obj->which_kind) { in name_of() 335 retstring = id_weapons[obj->which_kind].title; in name_of() 429 obj->which_kind = PROTECT_ARMOR; in gr_scroll() 431 obj->which_kind = HOLD_MONSTER; in gr_scroll() 433 obj->which_kind = CREATE_MONSTER; in gr_scroll() 435 obj->which_kind = IDENTIFY; in gr_scroll() 437 obj->which_kind = TELEPORT; in gr_scroll() 439 obj->which_kind = SLEEP; in gr_scroll() [all …]
|
| H A D | pack.c | 122 (obj->which_kind == SCARE_MONSTER) && in pick_up() 221 if ((obj->what_is == FOOD) && (obj->which_kind == FRUIT)) { in check_duplicate() 228 (op->which_kind == obj->which_kind)) { in check_duplicate() 232 ((obj->which_kind == ARROW) || in check_duplicate() 233 (obj->which_kind == DAGGER) || in check_duplicate() 234 (obj->which_kind == DART) || in check_duplicate() 235 (obj->which_kind == SHURIKEN)) && in check_duplicate() 462 id_table[obj->which_kind].title, 1, 1)) { in call_it() 463 id_table[obj->which_kind].id_status = CALLED; in call_it() 464 (void)strlcpy(id_table[obj->which_kind].title, buf, in call_it() [all …]
|
| H A D | inventory.c | 527 sbuf_addstr(s, id_table[obj->which_kind].title); in desc_called() 554 objtype_id_status = id_table[obj->which_kind].id_status; in get_desc() 566 if (obj->which_kind == RATION) { in get_desc() 583 sbuf_addstr(&db, id_table[obj->which_kind].title); in get_desc() 588 sbuf_addstr(&db, id_table[obj->which_kind].real); in get_desc() 594 sbuf_addstr(&db, id_table[obj->which_kind].title); in get_desc() 600 sbuf_addstr(&db, id_table[obj->which_kind].real); in get_desc() 606 sbuf_addstr(&db, id_table[obj->which_kind].title); in get_desc() 612 sbuf_addstr(&db, id_table[obj->which_kind].real); in get_desc() 621 sbuf_addstr(&db, id_table[obj->which_kind].title); in get_desc() [all …]
|
| H A D | use.c | 97 switch(obj->which_kind) { in quaff() 184 if (id_potions[obj->which_kind].id_status != CALLED) { in quaff() 185 id_potions[obj->which_kind].id_status = IDENTIFIED; in quaff() 209 switch(obj->which_kind) { in read_scroll() 248 id_scrolls[obj->which_kind].id_status = IDENTIFIED; in read_scroll() 289 if (id_scrolls[obj->which_kind].id_status != CALLED) { in read_scroll() 290 id_scrolls[obj->which_kind].id_status = IDENTIFIED; in read_scroll() 292 vanish(obj, (obj->which_kind != SLEEP), &rogue.pack); in read_scroll() 388 id_table[obj->which_kind].id_status = IDENTIFIED; in idntfy() 414 if ((obj->which_kind == FRUIT) || rand_percent(60)) { in eat() [all …]
|
| H A D | throw.c | 134 if ((weapon->which_kind == ARROW) && in throw_at_monster() 135 (rogue.weapon && (rogue.weapon->which_kind == BOW))) { in throw_at_monster() 140 ((weapon->which_kind == DAGGER) || in throw_at_monster() 141 (weapon->which_kind == SHURIKEN) || in throw_at_monster() 142 (weapon->which_kind == DART))) { in throw_at_monster()
|
| H A D | init.c | 161 obj->which_kind = RINGMAIL; in player_init() 170 obj->which_kind = MACE; in player_init() 179 obj->which_kind = BOW; in player_init() 188 obj->which_kind = ARROW; in player_init()
|
| H A D | zap.c | 103 if ((wand->which_kind == COLD) || (wand->which_kind == FIRE)) { in zapp() 104 bounce((short)wand->which_kind, d, row, col, 0); in zapp() 107 if (wand->which_kind == DRAIN_LIFE) { in zapp() 112 zap_monster(monster, wand->which_kind); in zapp()
|
| H A D | ring.c | 214 ring->which_kind = get_rand(0, (RINGS - 1)); in gr_ring() 218 switch(ring->which_kind) { in gr_ring() 299 switch(ring->which_kind) { in ring_stats()
|
| H A D | rogue.h | 212 #define drop_percent which_kind 230 unsigned short which_kind; /* item carry/drop % */ member
|
| H A D | spec_hit.c | 107 (rogue.armor->which_kind == LEATHER)) { in rust()
|
| H A D | score.c | 564 wc = obj->which_kind; in get_value()
|
| H A D | monster.c | 538 if ((obj->what_is == SCROL) && (obj->which_kind == SCARE_MONSTER)) { in mon_can_go()
|