Searched refs:GEM_CLASS (Results 1 - 25 of 58) sorted by relevance

123

/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/src/
H A Do_init.c55 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 Ddothrow.c28 { 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 Du_init.c36 { 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 Dobjnam.c143 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 Dengrave.c406 GEM_CLASS, RING_CLASS, 0 };
558 case GEM_CLASS:
1053 (otmp->oclass == GEM_CLASS) )
H A Dweapon.c285 if (Is_weapon || otmp->oclass == GEM_CLASS ||
413 if (otmp->oclass == GEM_CLASS &&
1077 obj->oclass != GEM_CLASS)
H A Dmkobj.c35 { 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 Dmonmove.c568 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 Dshknam.c201 {{85, RING_CLASS}, {10, GEM_CLASS}, {5, AMULET_CLASS}, {0, 0}},
H A Dend.c460 } else if (obj->oclass == GEM_CLASS && obj->otyp < LUCKSTONE) {
841 if (objects[typ].oc_class != GEM_CLASS || typ <= LAST_GEM) {
H A Dapply.c12 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 Do_init.c55 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 Ddothrow.c28 { 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 Du_init.c36 { 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 Dobjnam.c143 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 Dengrave.c406 GEM_CLASS, RING_CLASS, 0 };
558 case GEM_CLASS:
1053 (otmp->oclass == GEM_CLASS) )
H A Dweapon.c285 if (Is_weapon || otmp->oclass == GEM_CLASS ||
413 if (otmp->oclass == GEM_CLASS &&
1077 obj->oclass != GEM_CLASS)
H A Dmkobj.c35 { 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 Dmonmove.c568 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 Dshknam.c201 {{85, RING_CLASS}, {10, GEM_CLASS}, {5, AMULET_CLASS}, {0, 0}},
H A Dend.c460 } 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 Dobjclass.h137 #define GEM_CLASS 13 macro
H A Dobj.h150 otmp->oclass == GEM_CLASS) && \
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/include/
H A Dobjclass.h137 #define GEM_CLASS 13 macro
H A Dobj.h150 otmp->oclass == GEM_CLASS) && \

Completed in 357 milliseconds

123