• Site admin.

  • Joined on 2020-09-17
john commented on issue john/McRogueFace#134 2025-11-26 16:12:38 +00:00
Create libtcod-headless fork for SDL-free builds

Initial Implementation Complete

Created 2.2.1-headless branch with commit 3b4b65dc:

Changes Made

CMakeLists.txt:

  • Disabled vcpkg toolchain file by default (commented out, can be…
john opened issue john/McRogueFace#135 2025-11-26 15:45:10 +00:00
Upgrade embedded Python from 3.12 to 3.14
john opened issue john/McRogueFace#134 2025-11-26 15:44:18 +00:00
Create libtcod-headless fork for SDL-free builds
john pushed to at john/McRogueFace 2025-11-26 15:26:30 +00:00
19ded088b0 feat: Exit on first Python callback exception (closes #133)
john opened issue john/McRogueFace#133 2025-11-26 14:54:16 +00:00
Add --continue-after-exceptions flag; exit on first exception by default
john pushed to at john/McRogueFace 2025-11-26 14:48:05 +00:00
9028bf485e fix: Correct test to use del for index-based removal
john pushed to at john/McRogueFace 2025-11-26 14:37:14 +00:00
f041a0c8ca feat: Add Vector convenience features - indexing, tuple comparison, floor
john pushed to at john/McRogueFace 2025-11-26 13:08:43 +00:00
afcb54d9fe fix: Make UICollection/EntityCollection match Python list semantics
john pushed to at john/McRogueFace 2025-11-26 10:24:55 +00:00
deb5d81ab6 feat: Add .find() method to UICollection and EntityCollection
john commented on issue john/McRogueFace#14 2025-11-26 10:23:52 +00:00
SFML Python Library

Superseded by Current Approach

Instead of exposing SFML directly, the codebase now:

  1. Native mcrfpy types wrap SFML objects:
    • mcrfpy.Color wraps sf::Color
    • mcrfpy.Vector
john commented on issue john/McRogueFace#20 2025-11-26 10:23:51 +00:00
UIGrid: replace vector member getter/setters

Complete - Read-Only is Correct

The grid_size property exists as a read-only getter returning (grid_x, grid_y) tuple.

Current API

grid.grid_size  # Returns (grid_x, grid_y)…
john commented on issue john/McRogueFace#1 2025-11-26 10:23:51 +00:00
Resize Event for Scene

Already Implemented

Resize events for Python Scene classes are fully implemented.

Implementation

  • PySceneClass::call_on_resize() in PySceneObject.cpp:201-213
  • `McRFPy_API::triggerRes…
john commented on issue john/McRogueFace#10 2025-11-26 10:23:50 +00:00
Visibility: skip render or click inputs

Already Implemented

This feature was implemented as part of the Phase 1 UIDrawable improvements.

Current Implementation

  • visible property on all UIDrawable subclasses (UIDrawable.h:81
john closed issue john/McRogueFace#40 2025-11-26 10:23:49 +00:00
UIDrawable overwriting - search and replace by name
john closed issue john/McRogueFace#41 2025-11-26 10:23:48 +00:00
Use UIDrawable names as tags / .find on a collection
john commented on issue john/McRogueFace#40 2025-11-26 10:23:12 +00:00
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…

john commented on issue john/McRogueFace#41 2025-11-26 10:23:11 +00:00
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 =
john commented on issue john/McRogueFace#16 2025-11-26 10:16:03 +00:00
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…

john commented on issue john/McRogueFace#15 2025-11-26 10:14:23 +00:00
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…
john closed issue john/McRogueFace#15 2025-11-26 10:14:23 +00:00
UIGridPointState Collection