-
Notifications
You must be signed in to change notification settings - Fork 1
refactor: remove hardcoded barriers from predefined maps #198
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Problem or Motivation
Predefined maps define barriers as hardcoded Point<int> lists. When a room is edited and saved, these get merged with auto-barriers from painted tiles and the distinction is lost. On reload, the wall occlusion filter can't tell them apart, causing barriers to become invisible.
Proposed Solution
Clear the barriers lists from all predefined maps in predefined_maps.dart. Barriers should come exclusively from tiles painted in the editor (object-layer auto-barriers or structure-tool painting).
The L-Room and other maps with predefined barriers will need their walls re-created using the tile editor.
Acceptance Criteria
- All predefined maps have empty
barrierslists - Barrier rendering still works for editor-painted barriers
- Tests updated for new barrier counts
- All tests pass
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request