Searched refs:id_potions (Results 1 – 6 of 6) sorted by relevance
/netbsd/games/rogue/ |
H A D | inventory.c | 435 strlcpy(t, id_potions[j].title, sizeof(t)); in mix_colors() 436 strlcpy(id_potions[j].title, id_potions[k].title, in mix_colors() 437 sizeof(id_potions[j].title)); in mix_colors() 438 strlcpy(id_potions[k].title, t, sizeof(id_potions[k].title)); in mix_colors() 734 return(id_potions); in get_id_table()
|
H A D | use.c | 184 if (id_potions[obj->which_kind].id_status != CALLED) { in quaff() 185 id_potions[obj->which_kind].id_status = IDENTIFIED; in quaff() 594 return(id_potions[get_rand(0, POTIONS-1)].title); in get_ench_color()
|
H A D | save.c | 141 rw_id(id_potions, fp, POTIONS, 1); in save_into_file() 213 rw_id(id_potions, fp, POTIONS, 0); in restore()
|
H A D | score.c | 590 val = id_potions[wc].value * obj->quantity; in get_value() 623 id_potions[i].id_status = IDENTIFIED; in id_all()
|
H A D | rogue.h | 346 extern struct id id_potions[];
|
H A D | object.c | 83 struct id id_potions[POTIONS] = { variable
|