| 741 | } |
| 742 | |
| 743 | static void init_extents(df::building::T_room &room, const df::coord &pos, |
| 744 | const df::coord2d &size) |
| 745 | { |
| 746 | room.extents = new df::building_extents_type[size.x*size.y]; |
| 747 | room.x = pos.x; |
| 748 | room.y = pos.y; |
| 749 | room.width = size.x; |
| 750 | room.height = size.y; |
| 751 | |
| 752 | memset(room.extents, 1, size.x*size.y); |
| 753 | } |
| 754 | |
| 755 | bool Buildings::checkFreeTiles(df::coord pos, df::coord2d size, |
| 756 | df::building *bld, |
no outgoing calls
no test coverage detected