Grid - Entity - GridPointState updates via TCOD #64
Labels
No labels
Alpha Release Requirement
Bugfix
Demo Target
Documentation
Major Feature
Minor Feature
priority:tier1-active
priority:tier2-foundation
priority:tier3-future
priority:tier4-deferred
Refactoring & Cleanup
system:animation
system:documentation
system:grid
system:input
system:performance
system:procgen
system:python-binding
system:rendering
system:ui-hierarchy
Tiny Feature
workflow:blocked
workflow:needs-benchmark
workflow:needs-documentation
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
john/McRogueFace#64
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
50 feat: grid / entity updates [depends on RAII, UIGrid fixes, UIEntity becoming UIDrawable, TCOD module]
Update the visible/discovered map of each entity based on the whole grid. While #16 is about connecting the Grid datatypes together correctly, and #30 is about moving entities on and off grids reliably, this issue is for setting discovered / visible flags on each GridPointState for each Entity, in accordance with TCOD algorithms for sight (using the GridPoints' transparent flag)
Dependencies:
The core functionality described in #64 is fully implemented:
The only major shortcoming related to this system is caching previously viewed tile state in discovered but not visible tiles. This is being left as an "exercise for the reader", as game devs can certainly populate a tile/color layer with the contents they wish to display in the perspective and make that layer empty/transparent in the visible area.