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

/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/include/
H A Dvision.h14 #define COULD_SEE 0x1 /* location could be seen, if it were lit */ macro
31 #define couldsee(x,y) (viz_array[y][x] & COULD_SEE)
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/include/
H A Dvision.h14 #define COULD_SEE 0x1 /* location could be seen, if it were lit */ macro
31 #define couldsee(x,y) (viz_array[y][x] & COULD_SEE)
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/src/
H A Dvision.c309 /* If dark, set COULD_SEE so various spells work -dlc */
317 next[zy][zx] = COULD_SEE | IN_SIGHT;
320 next[zy][zx] = COULD_SEE;
337 next[zy][zx] = COULD_SEE | IN_SIGHT;
389 * We would need to scan once to set all IN_SIGHT and COULD_SEE
590 next_array[row][col] = IN_SIGHT | COULD_SEE;
604 next_row[col] = IN_SIGHT | COULD_SEE;
724 else if ((next_row[col] & COULD_SEE)
761 } else if ((next_row[col] & COULD_SEE) && lev->waslit) {
788 || ((next_row[col] & COULD_SEE)
[all...]
H A Dlight.c182 * we can use the COULD_SEE bits already calcualted
192 if (row[x] & COULD_SEE)
H A Ddig.c76 (IN_SIGHT|COULD_SEE) : /* short-circuit vision recalc */
77 COULD_SEE;
H A Dmklev.c1512 (IN_SIGHT|COULD_SEE) : /* short-circuit vision recalc */
1513 COULD_SEE;
H A Dvault.c414 viz_array[y][x] = IN_SIGHT|COULD_SEE;
H A Dcmd.c700 COULD_SEE, IN_SIGHT, TEMP_LIT);
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/
H A Dvision.c309 /* If dark, set COULD_SEE so various spells work -dlc */
317 next[zy][zx] = COULD_SEE | IN_SIGHT;
320 next[zy][zx] = COULD_SEE;
337 next[zy][zx] = COULD_SEE | IN_SIGHT;
389 * We would need to scan once to set all IN_SIGHT and COULD_SEE
590 next_array[row][col] = IN_SIGHT | COULD_SEE;
604 next_row[col] = IN_SIGHT | COULD_SEE;
724 else if ((next_row[col] & COULD_SEE)
761 } else if ((next_row[col] & COULD_SEE) && lev->waslit) {
788 || ((next_row[col] & COULD_SEE)
[all...]
H A Dlight.c182 * we can use the COULD_SEE bits already calcualted
192 if (row[x] & COULD_SEE)
H A Ddig.c76 (IN_SIGHT|COULD_SEE) : /* short-circuit vision recalc */
77 COULD_SEE;
H A Dmklev.c1512 (IN_SIGHT|COULD_SEE) : /* short-circuit vision recalc */
1513 COULD_SEE;
H A Dvault.c414 viz_array[y][x] = IN_SIGHT|COULD_SEE;
H A Dcmd.c700 COULD_SEE, IN_SIGHT, TEMP_LIT);

Completed in 87 milliseconds