예제 #1
0
/**
 * True if any projectable can pass through the square.
 *
 * This function is the logical negation of square_iswall().
 */
bool square_isprojectable(struct chunk *c, int y, int x) {
	if (!square_in_bounds(c, y, x)) return FALSE;
	return feat_is_projectable(c->squares[y][x].feat);
}
예제 #2
0
/**
 * True if any projectable can pass through the square.
 *
 * This function is the logical negation of square_iswall().
 */
bool square_isprojectable(struct chunk *c, int y, int x) {
	assert(square_in_bounds(c, y, x));
	return feat_is_projectable(c->squares[y][x].feat);
}