dfhack/library/include/df/custom/block_burrow.methods.inc

21 lines
477 B
PHTML

inline bool getassignment( const df::coord2d &xy )
{
return tile_bitmask.getassignment(xy);
}
inline bool getassignment( int x, int y )
{
return tile_bitmask.getassignment(x,y);
}
inline void setassignment( const df::coord2d &xy, bool bit )
{
return tile_bitmask.setassignment(xy, bit);
}
inline void setassignment( int x, int y, bool bit )
{
return tile_bitmask.setassignment(x, y, bit);
2012-04-15 04:32:25 -06:00
}
bool has_assignments()
{
return tile_bitmask.has_assignments();
2012-04-15 04:32:25 -06:00
}