/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/src/ |
H A D | o_init.c | 55 first = bases[GEM_CLASS]; 60 if (first > LAST_GEM || objects[first].oc_class != GEM_CLASS || 140 if (oclass == GEM_CLASS) { 199 oclass != GEM_CLASS) {
|
H A D | dothrow.c | 28 { ALLOW_COUNT, COIN_CLASS, ALL_CLASSES, GEM_CLASS, 0 }; 240 otmp->oclass == GEM_CLASS && 248 } else if (otmp->oclass == GEM_CLASS) { 962 else if (obj->oclass != GEM_CLASS) 1141 obj->oclass == GEM_CLASS) 1239 if (obj->oclass == GEM_CLASS && is_unicorn(mon->data)) { 1277 obj->oclass == GEM_CLASS) { 1631 obj->oclass != GEM_CLASS)
|
H A D | u_init.c | 36 { TOUCHSTONE, 0, GEM_CLASS, 1, 0 }, 53 { FLINT, 0, GEM_CLASS, 15, UNDEF_BLESS }, /* quan is variable */ 54 { ROCK, 0, GEM_CLASS, 3, 0 }, /* yields 18..33 */ 997 } else if (obj->oclass == GEM_CLASS &&
|
H A D | objnam.c | 143 if(ocl->oc_class == GEM_CLASS) 454 case GEM_CLASS: 1248 WAND_CLASS, RING_CLASS, POTION_CLASS, SCROLL_CLASS, GEM_CLASS, 1521 { "gray stone", GEM_CLASS, LUCKSTONE, FLINT }, 1522 { "grey stone", GEM_CLASS, LUCKSTONE, FLINT }, 2166 oclass = GEM_CLASS; 2181 if (objects[typ].oc_class == GEM_CLASS) goto typfnd; 2196 for(i = bases[GEM_CLASS]; i <= LAST_GEM; i++) {
|
H A D | engrave.c | 406 GEM_CLASS, RING_CLASS, 0 }; 558 case GEM_CLASS: 1053 (otmp->oclass == GEM_CLASS) )
|
H A D | weapon.c | 285 if (Is_weapon || otmp->oclass == GEM_CLASS || 413 if (otmp->oclass == GEM_CLASS && 1077 obj->oclass != GEM_CLASS)
|
H A D | mkobj.c | 35 { 8, GEM_CLASS}, 45 {18, GEM_CLASS}, 73 {10, GEM_CLASS}, 359 GEM_CLASS, SPBOOK_CLASS, WEAPON_CLASS, TOOL_CLASS, 0 457 case GEM_CLASS:
|
H A D | monmove.c | 568 static NEARDATA const char practical[] = { WEAPON_CLASS, ARMOR_CLASS, GEM_CLASS, FOOD_CLASS, 0 }; 574 static NEARDATA const char gem_class[] = { GEM_CLASS, 0 }; 835 (likegems && otmp->oclass == GEM_CLASS && 1335 if (obj->oclass != GEM_CLASS &&
|
H A D | shknam.c | 201 {{85, RING_CLASS}, {10, GEM_CLASS}, {5, AMULET_CLASS}, {0, 0}},
|
H A D | end.c | 460 } else if (obj->oclass == GEM_CLASS && obj->otyp < LUCKSTONE) { 841 if (objects[typ].oc_class != GEM_CLASS || typ <= LAST_GEM) {
|
H A D | apply.c | 12 WEAPON_CLASS, WAND_CLASS, GEM_CLASS, 0 }; 1163 static NEARDATA const char cuddly[] = { TOOL_CLASS, GEM_CLASS, 0 }; 1170 if (obj && obj->oclass == GEM_CLASS) { 1845 static const char justgems[3] = { ALLOW_NONE, GEM_CLASS, 0 }; 1874 obj->oclass == GEM_CLASS && !is_graystone(obj) && 1902 case GEM_CLASS: /* these have class-specific handling below */ 1906 } else if (obj->oclass == GEM_CLASS && (tstone->blessed ||
|
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/ |
H A D | o_init.c | 55 first = bases[GEM_CLASS]; 60 if (first > LAST_GEM || objects[first].oc_class != GEM_CLASS || 140 if (oclass == GEM_CLASS) { 199 oclass != GEM_CLASS) {
|
H A D | dothrow.c | 28 { ALLOW_COUNT, COIN_CLASS, ALL_CLASSES, GEM_CLASS, 0 }; 240 otmp->oclass == GEM_CLASS && 248 } else if (otmp->oclass == GEM_CLASS) { 962 else if (obj->oclass != GEM_CLASS) 1141 obj->oclass == GEM_CLASS) 1239 if (obj->oclass == GEM_CLASS && is_unicorn(mon->data)) { 1277 obj->oclass == GEM_CLASS) { 1631 obj->oclass != GEM_CLASS)
|
H A D | u_init.c | 36 { TOUCHSTONE, 0, GEM_CLASS, 1, 0 }, 53 { FLINT, 0, GEM_CLASS, 15, UNDEF_BLESS }, /* quan is variable */ 54 { ROCK, 0, GEM_CLASS, 3, 0 }, /* yields 18..33 */ 997 } else if (obj->oclass == GEM_CLASS &&
|
H A D | objnam.c | 143 if(ocl->oc_class == GEM_CLASS) 454 case GEM_CLASS: 1248 WAND_CLASS, RING_CLASS, POTION_CLASS, SCROLL_CLASS, GEM_CLASS, 1521 { "gray stone", GEM_CLASS, LUCKSTONE, FLINT }, 1522 { "grey stone", GEM_CLASS, LUCKSTONE, FLINT }, 2166 oclass = GEM_CLASS; 2181 if (objects[typ].oc_class == GEM_CLASS) goto typfnd; 2196 for(i = bases[GEM_CLASS]; i <= LAST_GEM; i++) {
|
H A D | engrave.c | 406 GEM_CLASS, RING_CLASS, 0 }; 558 case GEM_CLASS: 1053 (otmp->oclass == GEM_CLASS) )
|
H A D | weapon.c | 285 if (Is_weapon || otmp->oclass == GEM_CLASS || 413 if (otmp->oclass == GEM_CLASS && 1077 obj->oclass != GEM_CLASS)
|
H A D | mkobj.c | 35 { 8, GEM_CLASS}, 45 {18, GEM_CLASS}, 73 {10, GEM_CLASS}, 359 GEM_CLASS, SPBOOK_CLASS, WEAPON_CLASS, TOOL_CLASS, 0 457 case GEM_CLASS:
|
H A D | monmove.c | 568 static NEARDATA const char practical[] = { WEAPON_CLASS, ARMOR_CLASS, GEM_CLASS, FOOD_CLASS, 0 }; 574 static NEARDATA const char gem_class[] = { GEM_CLASS, 0 }; 835 (likegems && otmp->oclass == GEM_CLASS && 1335 if (obj->oclass != GEM_CLASS &&
|
H A D | shknam.c | 201 {{85, RING_CLASS}, {10, GEM_CLASS}, {5, AMULET_CLASS}, {0, 0}},
|
H A D | end.c | 460 } else if (obj->oclass == GEM_CLASS && obj->otyp < LUCKSTONE) { 841 if (objects[typ].oc_class != GEM_CLASS || typ <= LAST_GEM) {
|
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/include/ |
H A D | objclass.h | 137 #define GEM_CLASS 13 macro
|
H A D | obj.h | 150 otmp->oclass == GEM_CLASS) && \
|
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/include/ |
H A D | objclass.h | 137 #define GEM_CLASS 13 macro
|
H A D | obj.h | 150 otmp->oclass == GEM_CLASS) && \
|