mirror of
https://github.com/cliffe/BreakEscape.git
synced 2026-02-22 03:38:03 +00:00
Updated room positioning algorithm to ensure all connecting rooms are properly aligned to the grid and have at least one Grid Unit overlap with the connecting edge of the parent room. Changes: - positionNorthMultiple/positionSouthMultiple: Position rooms as a group, align the starting position to grid, then place rooms side-by-side without individual alignment to prevent gaps - positionEastMultiple/positionWestMultiple: Similar approach for vertical stacking of rooms along east/west edges This ensures: - All rooms maintain proper grid alignment - Connected rooms have guaranteed minimum overlap - No gaps between adjacent rooms in multi-room connections - Room layouts match the examples in planning notes Addresses alignment issues described in new_room_layout documentation where rooms need to be positioned against the connecting edge with at least one GU overlap.