Searched refs:y2 (Results 1 - 24 of 24) sorted by relevance

/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/include/
H A Dvision.h44 #define m_cansee(mtmp,x2,y2) clear_path((mtmp)->mx,(mtmp)->my,(x2),(y2))
H A Dsp_lev.h89 xchar x1, y1, x2, y2; member in struct:__anon705
101 xchar x1, y1, x2, y2; member in struct:__anon708
107 struct { xchar x1, y1, x2, y2; } inarea; member in struct:__anon709::__anon710
108 struct { xchar x1, y1, x2, y2; } delarea; member in struct:__anon709::__anon711
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/include/
H A Dvision.h44 #define m_cansee(mtmp,x2,y2) clear_path((mtmp)->mx,(mtmp)->my,(x2),(y2))
H A Dsp_lev.h89 xchar x1, y1, x2, y2; member in struct:__anon27
101 xchar x1, y1, x2, y2; member in struct:__anon30
107 struct { xchar x1, y1, x2, y2; } inarea; member in struct:__anon31::__anon32
108 struct { xchar x1, y1, x2, y2; } delarea; member in struct:__anon31::__anon33
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/src/
H A Ddbridge.c182 int x2,y2; local
186 x2 = x; y2 = y;
190 y2--;
194 y2++;
208 if (!IS_WALL(levl[x2][y2].typ))
212 levl[x2][y2].typ = DOOR;
213 levl[x2][y2].doormask = D_NODOOR;
216 levl[x2][y2].typ = DBWALL;
218 levl[x2][y2].wall_info = W_NONDIGGABLE;
221 levl[x2][y2]
753 int x2, y2; local
805 int x2, y2; local
843 int x2, y2; local
[all...]
H A Dextralev.c32 roguejoin(x1,y1,x2,y2, horiz)
33 int x1,y1,x2,y2;
47 for(y=MIN(y1,y2); y<=MAX(y1,y2); y++)
50 corr(x, y2);
52 middle = y1 + rn2(y2-y1+1);
57 for(y=MIN(middle,y2); y<=MAX(middle,y2); y++)
H A Dvision.c1129 #define q1_path(srow,scol,y2,x2,label) \
1135 dx = (x2) - x; dy = y - (y2); \
1173 #define q4_path(srow,scol,y2,x2,label) \
1179 dx = (x2) - x; dy = (y2) - y; \
1218 #define q2_path(srow,scol,y2,x2,label) \
1224 dx = x - (x2); dy = y - (y2); \
1262 #define q3_path(srow,scol,y2,x2,label) \
1268 dx = x - (x2); dy = (y2) - y; \
1320 _q1_path(srow,scol,y2,x2)
1321 int scol, srow, y2, x
[all...]
H A Dmkmaze.c121 wallification(x1, y1, x2, y2)
122 int x1, y1, x2, y2;
142 if (x1<0 || x2>=COLNO || x1>x2 || y1<0 || y2>=ROWNO || y1>y2)
143 panic("wallification: bad bounds (%d,%d) to (%d,%d)",x1,y1,x2,y2);
147 for(y = y1; y <= y2; y++) {
169 for(y = y1; y <= y2; y++) {
374 r->inarea.x2, r->inarea.y2,
376 r->delarea.x2, r->delarea.y2,
386 updest.hx = r->inarea.x2; updest.hy = r->inarea.y2;
[all...]
H A Dteleport.c185 tele_jump_ok(x1, y1, x2, y2)
186 int x1, y1, x2, y2;
192 !within_bounded_area(x2, y2, dndest.nlx, dndest.nly,
198 within_bounded_area(x2, y2, dndest.nlx, dndest.nly,
205 !within_bounded_area(x2, y2, updest.nlx, updest.nly,
210 within_bounded_area(x2, y2, updest.nlx, updest.nly,
H A Ddisplay.c1619 set_twall(x0,y0, x1,y1, x2,y2, x3,y3)
1620 int x0,y0, x1,y1, x2,y2, x3,y3;
1625 is_2 = check_pos(x2, y2, WM_T_BL);
1660 set_corn(x1,y1, x2,y2, x3,y3, x4,y4)
1661 int x1, y1, x2, y2, x3, y3, x4, y4;
1666 is_2 = check_pos(x2, y2, 1);
H A Dtrap.c1304 * Move obj from (x1,y1) to (x2,y2)
1311 launch_obj(otyp, x1, y1, x2, y2, style)
1313 register int x1,y1,x2,y2;
1330 otmp = sobj_at(otyp, x2, y2);
1337 x1 = x2; y1 = y2;
1338 x2 = tx; y2 = ty;
1357 dist = distmin(x1,y1,x2,y2);
1361 dy = sgn(y2 - y1);
1482 x2 = bhitpos.x, y2 = bhitpos.y; /* stops here */
1483 if (flooreffects(singleobj, x2, y2, "fal
[all...]
H A Dsp_lev.c100 * Make walls of the area (x1, y1, x2, y2) non diggable/non passwall-able
104 set_wall_property(x1,y1,x2,y2, prop)
105 xchar x1, y1, x2, y2;
110 for(y = y1; y <= y2; y++)
1680 register int hiy = tmpregion->y2;
2241 get_location(&tmplregion.inarea.x2, &tmplregion.inarea.y2,
2247 get_location(&tmplregion.delarea.x2, &tmplregion.delarea.y2,
2294 get_location(&tmpregion.x2, &tmpregion.y2, DRY|WET);
2325 tmpregion.x2, tmpregion.y2,
2407 get_location(&tmpdig.x2, &tmpdig.y2, DR
[all...]
H A Dzap.c653 int x2, y2; local
654 x2 = ghost->mx; y2 = ghost->my;
662 newsym(x2, y2);
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/
H A Ddbridge.c182 int x2,y2; local
186 x2 = x; y2 = y;
190 y2--;
194 y2++;
208 if (!IS_WALL(levl[x2][y2].typ))
212 levl[x2][y2].typ = DOOR;
213 levl[x2][y2].doormask = D_NODOOR;
216 levl[x2][y2].typ = DBWALL;
218 levl[x2][y2].wall_info = W_NONDIGGABLE;
221 levl[x2][y2]
753 int x2, y2; local
805 int x2, y2; local
843 int x2, y2; local
[all...]
H A Dextralev.c32 roguejoin(x1,y1,x2,y2, horiz)
33 int x1,y1,x2,y2;
47 for(y=MIN(y1,y2); y<=MAX(y1,y2); y++)
50 corr(x, y2);
52 middle = y1 + rn2(y2-y1+1);
57 for(y=MIN(middle,y2); y<=MAX(middle,y2); y++)
H A Dvision.c1129 #define q1_path(srow,scol,y2,x2,label) \
1135 dx = (x2) - x; dy = y - (y2); \
1173 #define q4_path(srow,scol,y2,x2,label) \
1179 dx = (x2) - x; dy = (y2) - y; \
1218 #define q2_path(srow,scol,y2,x2,label) \
1224 dx = x - (x2); dy = y - (y2); \
1262 #define q3_path(srow,scol,y2,x2,label) \
1268 dx = x - (x2); dy = (y2) - y; \
1320 _q1_path(srow,scol,y2,x2)
1321 int scol, srow, y2, x
[all...]
H A Dmkmaze.c121 wallification(x1, y1, x2, y2)
122 int x1, y1, x2, y2;
142 if (x1<0 || x2>=COLNO || x1>x2 || y1<0 || y2>=ROWNO || y1>y2)
143 panic("wallification: bad bounds (%d,%d) to (%d,%d)",x1,y1,x2,y2);
147 for(y = y1; y <= y2; y++) {
169 for(y = y1; y <= y2; y++) {
374 r->inarea.x2, r->inarea.y2,
376 r->delarea.x2, r->delarea.y2,
386 updest.hx = r->inarea.x2; updest.hy = r->inarea.y2;
[all...]
H A Dteleport.c185 tele_jump_ok(x1, y1, x2, y2)
186 int x1, y1, x2, y2;
192 !within_bounded_area(x2, y2, dndest.nlx, dndest.nly,
198 within_bounded_area(x2, y2, dndest.nlx, dndest.nly,
205 !within_bounded_area(x2, y2, updest.nlx, updest.nly,
210 within_bounded_area(x2, y2, updest.nlx, updest.nly,
H A Ddisplay.c1619 set_twall(x0,y0, x1,y1, x2,y2, x3,y3)
1620 int x0,y0, x1,y1, x2,y2, x3,y3;
1625 is_2 = check_pos(x2, y2, WM_T_BL);
1660 set_corn(x1,y1, x2,y2, x3,y3, x4,y4)
1661 int x1, y1, x2, y2, x3, y3, x4, y4;
1666 is_2 = check_pos(x2, y2, 1);
H A Dtrap.c1304 * Move obj from (x1,y1) to (x2,y2)
1311 launch_obj(otyp, x1, y1, x2, y2, style)
1313 register int x1,y1,x2,y2;
1330 otmp = sobj_at(otyp, x2, y2);
1337 x1 = x2; y1 = y2;
1338 x2 = tx; y2 = ty;
1357 dist = distmin(x1,y1,x2,y2);
1361 dy = sgn(y2 - y1);
1482 x2 = bhitpos.x, y2 = bhitpos.y; /* stops here */
1483 if (flooreffects(singleobj, x2, y2, "fal
[all...]
H A Dsp_lev.c100 * Make walls of the area (x1, y1, x2, y2) non diggable/non passwall-able
104 set_wall_property(x1,y1,x2,y2, prop)
105 xchar x1, y1, x2, y2;
110 for(y = y1; y <= y2; y++)
1680 register int hiy = tmpregion->y2;
2241 get_location(&tmplregion.inarea.x2, &tmplregion.inarea.y2,
2247 get_location(&tmplregion.delarea.x2, &tmplregion.delarea.y2,
2294 get_location(&tmpregion.x2, &tmpregion.y2, DRY|WET);
2325 tmpregion.x2, tmpregion.y2,
2407 get_location(&tmpdig.x2, &tmpdig.y2, DR
[all...]
H A Dzap.c653 int x2, y2; local
654 x2 = ghost->mx; y2 = ghost->my;
662 newsym(x2, y2);
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/sys/share/
H A Dlev_yacc.c75 int x2, y2;
1883 tmplreg[nlreg]->inarea.y2 = current_region.y2;
1892 tmplreg[nlreg]->delarea.y2 = current_region.y2;
1912 tmplreg[nlreg]->inarea.y2 = current_region.y2;
1921 tmplreg[nlreg]->delarea.y2 = current_region.y2;
1938 tmplreg[nlreg]->inarea.y2
[all...]
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/sys/share/
H A Dlev_yacc.c75 int x2, y2;
1883 tmplreg[nlreg]->inarea.y2 = current_region.y2;
1892 tmplreg[nlreg]->delarea.y2 = current_region.y2;
1912 tmplreg[nlreg]->inarea.y2 = current_region.y2;
1921 tmplreg[nlreg]->delarea.y2 = current_region.y2;
1938 tmplreg[nlreg]->inarea.y2
[all...]

Completed in 148 milliseconds