Searched refs:MAXOCLASSES (Results 1 - 25 of 32) sorted by relevance

12

/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/include/
H A Dobjclass.h142 #define MAXOCLASSES 18 macro
144 #define ALLOW_COUNT (MAXOCLASSES+1) /* Can be used in the object class */
145 #define ALL_CLASSES (MAXOCLASSES+2) /* input to getobj(). */
146 #define ALLOW_NONE (MAXOCLASSES+3) /* */
148 #define BURNING_OIL (MAXOCLASSES+1) /* Can be used as input to explode. */
149 #define MON_EXPLODE (MAXOCLASSES+2) /* Exploding monster (e.g. gas spore) */
152 extern const char def_oc_syms[MAXOCLASSES]; /* default class symbols */
153 extern uchar oc_syms[MAXOCLASSES]; /* current class symbols */
H A Dflag.h101 char inv_order[MAXOCLASSES];
102 char pickup_types[MAXOCLASSES];
H A Ddecl.h27 E NEARDATA int bases[MAXOCLASSES];
234 E const char def_oc_syms[MAXOCLASSES]; /* default class symbols */
235 E uchar oc_syms[MAXOCLASSES]; /* current class symbols */
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/include/
H A Dobjclass.h142 #define MAXOCLASSES 18 macro
144 #define ALLOW_COUNT (MAXOCLASSES+1) /* Can be used in the object class */
145 #define ALL_CLASSES (MAXOCLASSES+2) /* input to getobj(). */
146 #define ALLOW_NONE (MAXOCLASSES+3) /* */
148 #define BURNING_OIL (MAXOCLASSES+1) /* Can be used as input to explode. */
149 #define MON_EXPLODE (MAXOCLASSES+2) /* Exploding monster (e.g. gas spore) */
152 extern const char def_oc_syms[MAXOCLASSES]; /* default class symbols */
153 extern uchar oc_syms[MAXOCLASSES]; /* current class symbols */
H A Dflag.h101 char inv_order[MAXOCLASSES];
102 char pickup_types[MAXOCLASSES];
H A Ddecl.h27 E NEARDATA int bases[MAXOCLASSES];
234 E const char def_oc_syms[MAXOCLASSES]; /* default class symbols */
235 E uchar oc_syms[MAXOCLASSES]; /* current class symbols */
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/src/
H A Ddrawing.c22 uchar oc_syms[MAXOCLASSES] = DUMMY; /* the current object display symbols */
28 const char def_oc_syms[MAXOCLASSES] = {
615 * recognized, then MAXOCLASSES is returned. Used in detect.c invent.c,
623 for (i = 1; i < MAXOCLASSES; i++)
709 static uchar save_oc_syms[MAXOCLASSES] = DUMMY;
713 static const uchar r_oc_syms[MAXOCLASSES] = {
741 static const uchar IBM_r_oc_syms[MAXOCLASSES] = { /* a la EPYX Rogue */
872 for (i = 0; i < MAXOCLASSES; i++) {
H A Do_init.c126 for (i = 0; i < MAXOCLASSES; i++)
189 for (oclass = 1; oclass < MAXOCLASSES; oclass++) {
377 char *s, oclass, prev_class, classes[MAXOCLASSES];
H A Ddecl.c20 NEARDATA int bases[MAXOCLASSES] = DUMMY;
H A Doptions.c280 MAXOCLASSES, SET_IN_FILE },
282 MAXOCLASSES, SET_IN_GAME },
295 MAXOCLASSES, SET_IN_GAME },
354 static char def_inv_order[MAXOCLASSES] = {
524 for (i = 0; i < MAXOCLASSES; i++)
790 if (oc_sym == MAXOCLASSES ||
1417 if (length >= MAXOCLASSES)
1418 length = MAXOCLASSES-1; /* don't count RANDOM_OBJECT */
1650 char ocl[MAXOCLASSES + 1], tbuf[MAXOCLASSES
[all...]
H A Dinvent.c1191 char sym, *ip, olets[MAXOCLASSES+5], ilets[MAXOCLASSES+5];
1268 if (takeoff && oc_of_sym != MAXOCLASSES) {
1324 } else if (oc_of_sym == MAXOCLASSES) {
2028 for (i = 0; i < MAXOCLASSES; i++)
2598 int oclass = (let >= 1 && let < MAXOCLASSES) ? let : 0;
H A Dmakemon.c1659 MAXOCLASSES, MAXOCLASSES+1, RING_CLASS, WAND_CLASS, WEAPON_CLASS,
1752 if (s_sym >= MAXOCLASSES) {
1754 appear = s_sym == MAXOCLASSES ? S_upstair : S_dnstair;
H A Ddetect.c416 if (class < 0 || class >= MAXOCLASSES) {
880 if ((class = def_char_to_objclass(ch)) != MAXOCLASSES)
H A Dpickup.c291 static char valid_menu_classes[MAXOCLASSES + 2];
498 char oclasses[MAXOCLASSES];
2081 char select[MAXOCLASSES+1];
H A Dpager.c600 for (i = 1; i < MAXOCLASSES; i++) {
H A Dfiles.c1837 MAXOCLASSES-1, "OBJECTS");
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/
H A Ddrawing.c22 uchar oc_syms[MAXOCLASSES] = DUMMY; /* the current object display symbols */
28 const char def_oc_syms[MAXOCLASSES] = {
615 * recognized, then MAXOCLASSES is returned. Used in detect.c invent.c,
623 for (i = 1; i < MAXOCLASSES; i++)
709 static uchar save_oc_syms[MAXOCLASSES] = DUMMY;
713 static const uchar r_oc_syms[MAXOCLASSES] = {
741 static const uchar IBM_r_oc_syms[MAXOCLASSES] = { /* a la EPYX Rogue */
872 for (i = 0; i < MAXOCLASSES; i++) {
H A Do_init.c126 for (i = 0; i < MAXOCLASSES; i++)
189 for (oclass = 1; oclass < MAXOCLASSES; oclass++) {
377 char *s, oclass, prev_class, classes[MAXOCLASSES];
H A Ddecl.c20 NEARDATA int bases[MAXOCLASSES] = DUMMY;
H A Doptions.c280 MAXOCLASSES, SET_IN_FILE },
282 MAXOCLASSES, SET_IN_GAME },
295 MAXOCLASSES, SET_IN_GAME },
354 static char def_inv_order[MAXOCLASSES] = {
524 for (i = 0; i < MAXOCLASSES; i++)
790 if (oc_sym == MAXOCLASSES ||
1417 if (length >= MAXOCLASSES)
1418 length = MAXOCLASSES-1; /* don't count RANDOM_OBJECT */
1650 char ocl[MAXOCLASSES + 1], tbuf[MAXOCLASSES
[all...]
H A Dinvent.c1191 char sym, *ip, olets[MAXOCLASSES+5], ilets[MAXOCLASSES+5];
1268 if (takeoff && oc_of_sym != MAXOCLASSES) {
1324 } else if (oc_of_sym == MAXOCLASSES) {
2028 for (i = 0; i < MAXOCLASSES; i++)
2598 int oclass = (let >= 1 && let < MAXOCLASSES) ? let : 0;
H A Dmakemon.c1659 MAXOCLASSES, MAXOCLASSES+1, RING_CLASS, WAND_CLASS, WEAPON_CLASS,
1752 if (s_sym >= MAXOCLASSES) {
1754 appear = s_sym == MAXOCLASSES ? S_upstair : S_dnstair;
H A Ddetect.c416 if (class < 0 || class >= MAXOCLASSES) {
880 if ((class = def_char_to_objclass(ch)) != MAXOCLASSES)
H A Dpickup.c291 static char valid_menu_classes[MAXOCLASSES + 2];
498 char oclasses[MAXOCLASSES];
2081 char select[MAXOCLASSES+1];
H A Dpager.c600 for (i = 1; i < MAXOCLASSES; i++) {

Completed in 235 milliseconds

12