-
Site admin.
-
Joined on
2020-09-17
UIDrawable overwriting - search and replace by name
Use UIDrawable names as tags /
.find on a collection
UIDrawable overwriting - search and replace by name
Superseded by Issue #41
The original "only_one=True" concept from this issue has been addressed differently:
Instead of an only_one parameter on __init__, we now have a .find() method…
Use UIDrawable names as tags /
.find on a collection
Implementation Complete
The .find() method has been implemented on both UICollection and EntityCollection.
API
# Exact match - returns single element or None
element =…
Entity knowledge contents: make map data available directly through GridPointState
this is being deferred as the capability can already be provided in Python: a subclass of Entity could store its own map data based on last visible state. I'm interested in providing the…
UIGridPointState Collection
Current state:
- UIGridPointState exists with visible and discovered properties (src/UIGridPoint.cpp:157-201)
- Entity.at(x, y) returns a GridPointState for that cell
- Entity has gridstate…
SFML Python Library
Status: Superseded by alternative approach
- Instead of exposing SFML directly, the codebase now:
- Has mcrfpy.libtcod submodule for FOV/pathfinding (src/McRFPy_Libtcod.h)
- Exposes…
UIGrid: replace vector member getter/setters
Status: Partially addressed, no longer actionable
- grid_size exists as read-only property returning (grid_x, grid_y) tuple (src/UIGrid.cpp:810-812, 1462)
- grid_x and grid_y also available as…
UIGrid: replace vector member getter/setters
Resize Event for Scene
Status: Fully implemented
- on_resize(width, height) method on Python Scene classes (src/PySceneObject.cpp:201-213)
- McRFPy_API::triggerResize() function handles the event propagation…
Visibility: skip render or click inputs
Visibility: skip render or click inputs
Status: Fully implemented
- visible property exists on UIDrawable (src/UIDrawable.h:81)
- Template getters/setters in src/UIBase.h:109-123
- opacity property also implemented (UIBase.h:125-150) …
Geometry helper module for orbital mechanics and spatial calculations
Circle drawing primitives for range visualization