McRogueFace/tests/regression
John McCardle 4b05a95efe feat: Add dynamic layer system for Grid (closes #147)
Implements ColorLayer and TileLayer classes with z_index ordering:
- ColorLayer: stores RGBA color per cell for overlays, fog of war, etc.
- TileLayer: stores sprite index per cell with optional texture
- z_index < 0: renders below entities
- z_index >= 0: renders above entities

Python API:
- grid.add_layer(type, z_index, texture) - create layer
- grid.remove_layer(layer) - remove layer
- grid.layers - list of layers sorted by z_index
- grid.layer(z_index) - get layer by z_index
- layer.at(x,y) / layer.set(x,y,value) - cell access
- layer.fill(value) - fill entire layer

Layers are allocated separately from UIGridPoint, reducing memory
for grids that don't need all features. Base grid retains walkable/
transparent arrays for TCOD pathfinding.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-28 21:35:38 -05:00
..
issue_9_minimal_test.py refactor: comprehensive test suite overhaul and demo system 2025-11-25 23:37:05 -05:00
issue_9_rendertexture_resize_test.py refactor: comprehensive test suite overhaul and demo system 2025-11-25 23:37:05 -05:00
issue_9_test.py refactor: comprehensive test suite overhaul and demo system 2025-11-25 23:37:05 -05:00
issue_37_simple_test.py refactor: comprehensive test suite overhaul and demo system 2025-11-25 23:37:05 -05:00
issue_37_test.py refactor: comprehensive test suite overhaul and demo system 2025-11-25 23:37:05 -05:00
issue_76_test.py refactor: comprehensive test suite overhaul and demo system 2025-11-25 23:37:05 -05:00
issue_79_color_properties_test.py refactor: comprehensive test suite overhaul and demo system 2025-11-25 23:37:05 -05:00
issue_99_texture_font_properties_test.py refactor: comprehensive test suite overhaul and demo system 2025-11-25 23:37:05 -05:00
issue_146_fov_returns_none.py fix: Remove O(n²) list-building from compute_fov() (closes #146) 2025-11-28 21:26:32 -05:00
issue_147_grid_layers.py feat: Add dynamic layer system for Grid (closes #147) 2025-11-28 21:35:38 -05:00
test_type_preservation_solution.py refactor: comprehensive test suite overhaul and demo system 2025-11-25 23:37:05 -05:00