Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use NonEmpty Grid throughout structure overlay logic #2004

Open
kostmo opened this issue Jul 1, 2024 · 0 comments
Open

Use NonEmpty Grid throughout structure overlay logic #2004

kostmo opened this issue Jul 1, 2024 · 0 comments
Labels
Z-Feature A new feature to be added to the game.

Comments

@kostmo
Copy link
Member

kostmo commented Jul 1, 2024

See comment

@kostmo kostmo added the Z-Feature A new feature to be added to the game. label Jul 1, 2024
mergify bot pushed a commit that referenced this issue Nov 29, 2024
Implements overlap resolution for pre-placed recognized structures.

Also introduces a `NonEmptyGrid` type, towards #2004.

## Testing
```
scripts/play.sh --scenario data/scenarios/Testing/1575-structure-recognizer/2201-initial-recognition-overlap.yaml --autoplay
```
## Other changes

* Enrich structure logging (e.g. `OriginalName` -> `OrientedStructure`)
* Consolidate record fields (e.g. in `LocatedStructure`)
* Introduce `zipNumberedNE` function
* Rename some functions (e.g. `mapIndexedMembers` -> `mapWithCoords`)
* Use `StructureName`, remove `OriginalName`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Z-Feature A new feature to be added to the game.
Projects
None yet
Development

No branches or pull requests

1 participant