void set_blocked(int startx, int starty, int endx, int endy, int lift, int ztiles, bool set) { need_cache()->set_blocked(startx, starty, endx, endy, lift, ztiles, set); }
void Chunk_cache::set_blocked ( int startx, int starty, int endx, int endy, int lift, int ztiles, int set ) { if (set) { for (int y = starty; y <= endy; y++) for (int x = startx; x <= endx; x++) set_blocked_tile(x, y, lift, ztiles); } else { for (int y = starty; y <= endy; y++) for (int x = startx; x <= endx; x++) clear_blocked_tile(x, y, lift, ztiles); } }
	void set_blocked(int startx, int starty, int endx, int endy,						int lift, int ztiles, bool set)		{ need_cache()->set_blocked(startx, starty, endx, endy,							lift, ztiles, set); }