Searched refs:sy (Results 1 - 25 of 51) sorted by relevance

123

/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/src/
H A Dshknam.c246 mkshobj_at(shp, sx, sy)
249 int sx, sy;
256 !MON_AT(sx, sy) && (ptr = mkclass(S_MIMIC,0)) &&
257 (mtmp = makemon(ptr,sx,sy,NO_MM_FLAGS)) != 0) {
266 (void) mksobj_at(-atype, sx, sy, TRUE, TRUE);
268 (void) mkobj_at(atype, sx, sy, TRUE);
339 register int sh, sx, sy; local
345 sy = doors[sh].y;
350 if (isok(sx-1,sy) && !levl[sx-1][sy]
435 register int sx, sy, sh; local
[all...]
H A Dmkmap.c158 * exactly matching levl[sx][sy].typ and walls are included as well.
161 flood_fill_rm(sx, sy, rmno, lit, anyroom)
163 register int sy;
170 schar fg_typ = levl[sx][sy].typ;
174 (anyroom ? IS_ROOM(levl[sx][sy].typ) : levl[sx][sy].typ == fg_typ) &&
175 (int) levl[sx][sy].roomno != rmno)
179 /* assume sx,sy is valid */
181 if(sy < min_ry) min_ry = sy;
274 int sx, sy; local
[all...]
H A Dmkroom.c231 register int sx,sy,i; local
275 for(sy = sroom->ly; sy <= sroom->hy; sy++) {
277 if ((int) levl[sx][sy].roomno != rmno ||
278 levl[sx][sy].edge ||
280 distmin(sx, sy, doors[sh].x, doors[sh].y) <= 1))
282 } else if(!SPACE_POS(levl[sx][sy].typ) ||
286 (sy == sroom->ly && doors[sh].y == sy
450 register int sx,sy,i,eelct = 0; local
[all...]
H A Dallmain.c585 (glyph_to_cmap(level.locations[upstair.sx][upstair.sy].glyph) ==
587 glyph_to_cmap(level.locations[upstair.sx][upstair.sy].glyph) ==
593 (glyph_to_cmap(level.locations[sstairs.sx][sstairs.sy].glyph) ==
595 glyph_to_cmap(level.locations[sstairs.sx][sstairs.sy].glyph) ==
603 (glyph_to_cmap(level.locations[dnstair.sx][dnstair.sy].glyph) ==
605 glyph_to_cmap(level.locations[dnstair.sx][dnstair.sy].glyph) ==
611 (glyph_to_cmap(level.locations[sstairs.sx][sstairs.sy].glyph) ==
613 glyph_to_cmap(level.locations[sstairs.sx][sstairs.sy].glyph) ==
H A Dexplode.c405 scatter(sx,sy,blastforce,scflags, obj)
406 int sx,sy; /* location of objects to scatter */
423 while ((otmp = individual_object ? obj : level.objects[sx][sy]) != 0) {
442 place_object(otmp, sx, sy);
443 if ((otmp = sobj_at(BOULDER, sx, sy)) != 0) {
446 place_object(otmp, sx, sy);
451 if ((trap = t_at(sx,sy)) && trap->ttyp == STATUE_TRAP)
455 place_object(otmp, sx, sy); /* put fragments on floor */
463 if (breaks(otmp, (xchar)sx, (xchar)sy)) used_up = TRUE;
472 stmp->oy = sy;
[all...]
H A Dmail.c155 if (couldsee(upstair.sx, upstair.sy)) {
157 startp->y = upstair.sy;
160 if (couldsee(dnstair.sx, dnstair.sy)) {
162 startp->y = dnstair.sy;
H A Dzap.c3068 zhitu(type, nd, fltxt, sx, sy)
3071 xchar sx, sy;
3078 shieldeff(sx, sy);
3087 shieldeff(sx, sy);
3102 shieldeff(sx, sy);
3140 shieldeff(sx, sy);
3144 shieldeff(sx, sy);
3156 shieldeff(sx, sy);
3273 buzz(type,nd,sx,sy,dx,dy)
3275 register xchar sx,sy;
[all...]
H A Dpriest.c187 priestini(lvl, sroom, sx, sy, sanctum)
190 int sx, sy;
197 if(MON_AT(sx+1, sy))
198 (void) rloc(m_at(sx+1, sy), FALSE); /* insurance */
201 sx + 1, sy, NO_MM_FLAGS);
204 EPRI(priest)->shralign = Amask2align(levl[sx][sy].altarmask);
206 EPRI(priest)->shrpos.y = sy;
H A Dhack.c63 register xchar rx, ry, sx, sy; local
68 sx = u.ux + u.dx, sy = u.uy + u.dy; /* boulder starting position */
69 while ((otmp = sobj_at(BOULDER, sx, sy)) != 0) {
71 if (otmp != level.objects[sx][sy]) movobj(otmp, sx, sy);
77 if (Blind) feel_location(sx, sy);
87 if (Blind) feel_location(sx, sy);
104 if (Blind) feel_location(sx,sy);
106 The(xname(otmp)), surface(sx, sy));
117 if (Blind) feel_location(sx, sy);
[all...]
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/
H A Dshknam.c246 mkshobj_at(shp, sx, sy)
249 int sx, sy;
256 !MON_AT(sx, sy) && (ptr = mkclass(S_MIMIC,0)) &&
257 (mtmp = makemon(ptr,sx,sy,NO_MM_FLAGS)) != 0) {
266 (void) mksobj_at(-atype, sx, sy, TRUE, TRUE);
268 (void) mkobj_at(atype, sx, sy, TRUE);
339 register int sh, sx, sy; local
345 sy = doors[sh].y;
350 if (isok(sx-1,sy) && !levl[sx-1][sy]
435 register int sx, sy, sh; local
[all...]
H A Dmkmap.c158 * exactly matching levl[sx][sy].typ and walls are included as well.
161 flood_fill_rm(sx, sy, rmno, lit, anyroom)
163 register int sy;
170 schar fg_typ = levl[sx][sy].typ;
174 (anyroom ? IS_ROOM(levl[sx][sy].typ) : levl[sx][sy].typ == fg_typ) &&
175 (int) levl[sx][sy].roomno != rmno)
179 /* assume sx,sy is valid */
181 if(sy < min_ry) min_ry = sy;
274 int sx, sy; local
[all...]
H A Dmkroom.c231 register int sx,sy,i; local
275 for(sy = sroom->ly; sy <= sroom->hy; sy++) {
277 if ((int) levl[sx][sy].roomno != rmno ||
278 levl[sx][sy].edge ||
280 distmin(sx, sy, doors[sh].x, doors[sh].y) <= 1))
282 } else if(!SPACE_POS(levl[sx][sy].typ) ||
286 (sy == sroom->ly && doors[sh].y == sy
450 register int sx,sy,i,eelct = 0; local
[all...]
H A Dallmain.c585 (glyph_to_cmap(level.locations[upstair.sx][upstair.sy].glyph) ==
587 glyph_to_cmap(level.locations[upstair.sx][upstair.sy].glyph) ==
593 (glyph_to_cmap(level.locations[sstairs.sx][sstairs.sy].glyph) ==
595 glyph_to_cmap(level.locations[sstairs.sx][sstairs.sy].glyph) ==
603 (glyph_to_cmap(level.locations[dnstair.sx][dnstair.sy].glyph) ==
605 glyph_to_cmap(level.locations[dnstair.sx][dnstair.sy].glyph) ==
611 (glyph_to_cmap(level.locations[sstairs.sx][sstairs.sy].glyph) ==
613 glyph_to_cmap(level.locations[sstairs.sx][sstairs.sy].glyph) ==
H A Dexplode.c405 scatter(sx,sy,blastforce,scflags, obj)
406 int sx,sy; /* location of objects to scatter */
423 while ((otmp = individual_object ? obj : level.objects[sx][sy]) != 0) {
442 place_object(otmp, sx, sy);
443 if ((otmp = sobj_at(BOULDER, sx, sy)) != 0) {
446 place_object(otmp, sx, sy);
451 if ((trap = t_at(sx,sy)) && trap->ttyp == STATUE_TRAP)
455 place_object(otmp, sx, sy); /* put fragments on floor */
463 if (breaks(otmp, (xchar)sx, (xchar)sy)) used_up = TRUE;
472 stmp->oy = sy;
[all...]
H A Dmail.c155 if (couldsee(upstair.sx, upstair.sy)) {
157 startp->y = upstair.sy;
160 if (couldsee(dnstair.sx, dnstair.sy)) {
162 startp->y = dnstair.sy;
H A Dzap.c3068 zhitu(type, nd, fltxt, sx, sy)
3071 xchar sx, sy;
3078 shieldeff(sx, sy);
3087 shieldeff(sx, sy);
3102 shieldeff(sx, sy);
3140 shieldeff(sx, sy);
3144 shieldeff(sx, sy);
3156 shieldeff(sx, sy);
3273 buzz(type,nd,sx,sy,dx,dy)
3275 register xchar sx,sy;
[all...]
H A Dpriest.c187 priestini(lvl, sroom, sx, sy, sanctum)
190 int sx, sy;
197 if(MON_AT(sx+1, sy))
198 (void) rloc(m_at(sx+1, sy), FALSE); /* insurance */
201 sx + 1, sy, NO_MM_FLAGS);
204 EPRI(priest)->shralign = Amask2align(levl[sx][sy].altarmask);
206 EPRI(priest)->shrpos.y = sy;
/seL4-refos-master/libs/libmuslc/src/math/
H A Dremquo.c10 int sy = uy.i>>63; local
73 if (sy)
80 *quo = sx^sy ? -(int)q : (int)q;
H A Dremquof.c10 int sy = uy.i>>31; local
73 if (sy)
80 *quo = sx^sy ? -(int)q : (int)q;
H A Dremquol.c15 int sy = uy.i.se >> 15; local
114 if (sy)
121 *quo = sx^sy ? -(int)q : (int)q;
/seL4-refos-master/seL4_tools/elfloader-tool/include/arch-arm/64/mode/
H A Dassembler.h96 dsb sy
145 dsb sy
/seL4-refos-master/tools/elfloader/include/arch-arm/64/mode/
H A Dassembler.h96 dsb sy
145 dsb sy
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/include/
H A Ddecl.h110 #define ydnstair (dnstair.sy)
112 #define yupstair (upstair.sy)
116 #define ydnladder (dnladder.sy)
118 #define yupladder (upladder.sy)
H A Ddungeon.h32 xchar sx, sy; /* x / y location of the stair */ member in struct:stairway
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/include/
H A Ddecl.h110 #define ydnstair (dnstair.sy)
112 #define yupstair (upstair.sy)
116 #define ydnladder (dnladder.sy)
118 #define yupladder (upladder.sy)

Completed in 95 milliseconds

123