-
Site admin.
-
Joined on
2020-09-17
this is part of the automated documentation suite; it's generated from inline details throughout the C++ definitions of mcrfpy
Partial Implementation Complete
The perspective/visibility system is now functional via commits c5b4200 and a529e5e:
What's implemented:
entity.gridstatetracks visible/discovered…
Progress Update: FOV/Perspective System Complete
Commits c5b4200 and a529e5e implement the per-agent perspective rendering infrastructure:
New API
FOV Configuration:
- `mcrfpy.FOV…
Commit 018e735 implements Phase 2 layer operations:
ColorLayer:
fill_rect(pos, size, color)- Fill rectangular region with a color- `draw_fov(source, radius=None, fov=None, visible=None,…
Commit 018e735 implements Phase 1:
- Created
mcrfpy.FOVIntEnum with all TCOD FOV algorithms (BASIC, DIAMOND, SHADOW, PERMISSIVE_0-8, RESTRICTIVE, SYMMETRIC_SHADOWCAST) - Added `mcrfpy.default_f…
Refined Design - Entity Knowledge / Visible Entities
New Entity Method
entity.visible_entities(fov=None) # Returns iterable, not list
fov=Noneusesgrid.fov(the…
Refined Design - Batch Operations for Grid Layers
Core Problem Solved
The anti-pattern of O(n) Python/C++ boundary crossings:
# BAD: 30,000 calls for 100x100 grid
for y in…
Refined Design - CellView API Integration
After design discussion, #114 is being expanded to encompass the Perspective System for layer-based FOV rendering.
New Scope
**Phase 1: FOV…
Event Handler Complexity Event handlers run on the main thread and block rendering
From john/McRogueFace/wiki/Input-and-Events.-
Providing consistent state is the challenge, but…