OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:which_kind
(Results
1 - 12
of
12
) sorted by relevancy
/src/games/rogue/
object.c
311
if (obj->
which_kind
== RATION) {
318
retstring = is_wood[obj->
which_kind
] ? "staff " : "wand ";
321
switch(obj->
which_kind
) {
335
retstring = id_weapons[obj->
which_kind
].title;
429
obj->
which_kind
= PROTECT_ARMOR;
431
obj->
which_kind
= HOLD_MONSTER;
433
obj->
which_kind
= CREATE_MONSTER;
435
obj->
which_kind
= IDENTIFY;
437
obj->
which_kind
= TELEPORT;
439
obj->
which_kind
= SLEEP
[
all
...]
pack.c
122
(obj->
which_kind
== SCARE_MONSTER) &&
221
if ((obj->what_is == FOOD) && (obj->
which_kind
== FRUIT)) {
228
(op->
which_kind
== obj->
which_kind
)) {
232
((obj->
which_kind
== ARROW) ||
233
(obj->
which_kind
== DAGGER) ||
234
(obj->
which_kind
== DART) ||
235
(obj->
which_kind
== SHURIKEN)) &&
462
id_table[obj->
which_kind
].title, 1, 1)) {
463
id_table[obj->
which_kind
].id_status = CALLED
[
all
...]
use.c
97
switch(obj->
which_kind
) {
184
if (id_potions[obj->
which_kind
].id_status != CALLED) {
185
id_potions[obj->
which_kind
].id_status = IDENTIFIED;
209
switch(obj->
which_kind
) {
248
id_scrolls[obj->
which_kind
].id_status = IDENTIFIED;
289
if (id_scrolls[obj->
which_kind
].id_status != CALLED) {
290
id_scrolls[obj->
which_kind
].id_status = IDENTIFIED;
292
vanish(obj, (obj->
which_kind
!= SLEEP), &rogue.pack);
388
id_table[obj->
which_kind
].id_status = IDENTIFIED;
414
if ((obj->
which_kind
== FRUIT) || rand_percent(60))
[
all
...]
inventory.c
527
sbuf_addstr(s, id_table[obj->
which_kind
].title);
554
objtype_id_status = id_table[obj->
which_kind
].id_status;
566
if (obj->
which_kind
== RATION) {
583
sbuf_addstr(&db, id_table[obj->
which_kind
].title);
588
sbuf_addstr(&db, id_table[obj->
which_kind
].real);
594
sbuf_addstr(&db, id_table[obj->
which_kind
].title);
600
sbuf_addstr(&db, id_table[obj->
which_kind
].real);
606
sbuf_addstr(&db, id_table[obj->
which_kind
].title);
612
sbuf_addstr(&db, id_table[obj->
which_kind
].real);
621
sbuf_addstr(&db, id_table[obj->
which_kind
].title)
[
all
...]
throw.c
134
if ((weapon->
which_kind
== ARROW) &&
135
(rogue.weapon && (rogue.weapon->
which_kind
== BOW))) {
140
((weapon->
which_kind
== DAGGER) ||
141
(weapon->
which_kind
== SHURIKEN) ||
142
(weapon->
which_kind
== DART))) {
ring.c
214
ring->
which_kind
= get_rand(0, (RINGS - 1));
218
switch(ring->
which_kind
) {
299
switch(ring->
which_kind
) {
init.c
161
obj->
which_kind
= RINGMAIL;
170
obj->
which_kind
= MACE;
179
obj->
which_kind
= BOW;
188
obj->
which_kind
= ARROW;
zap.c
103
if ((wand->
which_kind
== COLD) || (wand->
which_kind
== FIRE)) {
104
bounce((short)wand->
which_kind
, d, row, col, 0);
107
if (wand->
which_kind
== DRAIN_LIFE) {
112
zap_monster(monster, wand->
which_kind
);
rogue.h
212
#define drop_percent
which_kind
230
unsigned short
which_kind
; /* item carry/drop % */
member in struct:obj
score.c
564
wc = obj->
which_kind
;
spec_hit.c
107
(rogue.armor->
which_kind
== LEATHER)) {
monster.c
549
if ((obj->what_is == SCROL) && (obj->
which_kind
== SCARE_MONSTER)) {
Completed in 17 milliseconds
Indexes created Thu Oct 23 22:10:10 GMT 2025