Searched refs:LAST_GEM (Results 1 - 14 of 14) sorted by relevance

/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/src/
H A Do_init.c60 if (first > LAST_GEM || objects[first].oc_class != GEM_CLASS ||
62 raw_printf("Not enough gems? - first=%d j=%d LAST_GEM=%d",
63 first, j, LAST_GEM);
66 for (j = first; j <= LAST_GEM; j++) {
67 objects[j].oc_prob = (171+j-first)/(LAST_GEM+1-first);
H A Dend.c14 /* these probably ought to be generated by makedefs, like LAST_GEM */
22 gems[LAST_GEM+1 - FIRST_GEM + 1], /* 1 extra for glass */
461 i = min(obj->otyp, LAST_GEM + 1) - FIRST_GEM;
841 if (objects[typ].oc_class != GEM_CLASS || typ <= LAST_GEM) {
H A Dmthrowu.c330 singleobj->otyp <= LAST_GEM+9 /* 9 glass colors */
332 if (singleobj->otyp > LAST_GEM) {
H A Dobjnam.c2180 typ = LAST_GEM + rnd(9);
2196 for(i = bases[GEM_CLASS]; i <= LAST_GEM; i++) {
H A Dmon.c250 obj = mksobj_at((LAST_GEM + rnd(9)), x, y, TRUE, FALSE);
H A Dshk.c1865 switch(obj->otyp - LAST_GEM) {
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/
H A Do_init.c60 if (first > LAST_GEM || objects[first].oc_class != GEM_CLASS ||
62 raw_printf("Not enough gems? - first=%d j=%d LAST_GEM=%d",
63 first, j, LAST_GEM);
66 for (j = first; j <= LAST_GEM; j++) {
67 objects[j].oc_prob = (171+j-first)/(LAST_GEM+1-first);
H A Dend.c14 /* these probably ought to be generated by makedefs, like LAST_GEM */
22 gems[LAST_GEM+1 - FIRST_GEM + 1], /* 1 extra for glass */
461 i = min(obj->otyp, LAST_GEM + 1) - FIRST_GEM;
841 if (objects[typ].oc_class != GEM_CLASS || typ <= LAST_GEM) {
H A Dmthrowu.c330 singleobj->otyp <= LAST_GEM+9 /* 9 glass colors */
332 if (singleobj->otyp > LAST_GEM) {
H A Dobjnam.c2180 typ = LAST_GEM + rnd(9);
2196 for(i = bases[GEM_CLASS]; i <= LAST_GEM; i++) {
H A Dmon.c250 obj = mksobj_at((LAST_GEM + rnd(9)), x, y, TRUE, FALSE);
H A Dshk.c1865 switch(obj->otyp - LAST_GEM) {
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/include/
H A Donames.h433 #define LAST_GEM (JADE) macro
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/include/
H A Donames.h433 #define LAST_GEM (JADE) macro

Completed in 180 milliseconds