Remove original layers and migrate Grids to entirely user-driven layer objects #150
Labels
No Label
Alpha Release Requirement
Bugfix
Demo Target
Documentation
Major Feature
Minor Feature
priority:tier1-active
priority:tier2-foundation
priority:tier3-future
Refactoring & Cleanup
system:animation
system:documentation
system:grid
system:input
system:performance
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 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: john/McRogueFace#150
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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?
See #147, #123
We've created an entirely additional arbitrary layer system, which has pros and cons compared to the base layer.
What would harmony look like?
~64x64-ishportion of the grid is what's marked dirty, and re-rendered; not the entire layer.Design Decision Summary
Named Layers as GridPoint Properties
Key Design Points
Protected names:
walkableandtransparentare grid-level properties for TCOD pathfinding/FOV. They cannot be used as layer names.Default layer: When
layersparameter is omitted, defaults to{"tilesprite": "tile"}- maintains backward compatibility withgrid.at(x,y).tilesprite = 5. Explicitlayers={}means NO rendering layers (entity storage + pathfinding only).Migration: Update tests to use explicit layer definitions. No deprecation machinery - just fix tests as migration path.
Unified Rendering Architecture
Implementation Tasks
layersdict parameter to Grid constructorwalkable/transparent