Commit Graph

3 Commits

Author SHA1 Message Date
John McCardle 8e2c603c54 fix: Update cpython submodule to v3.14.0 and fix flaky tests
- Update cpython submodule from v3.12.2 to v3.14.0
- Fix test_timer_object.py: Add delTimer call to prevent double-cancel
- Fix test_viewport_scaling.py: Handle headless mode for window resize

Test suite now achieves 100% pass rate (129/129 tests).

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-26 18:43:32 -05:00
John McCardle 8854d5b366 feat: Replace libtcod with libtcod-headless fork (closes #134)
Replace upstream libtcod with jmccardle/libtcod-headless fork that:
- Builds without SDL dependency (NO_SDL compile flag)
- Uses vendored dependencies (lodepng, utf8proc, stb)
- Provides all core algorithms (FOV, pathfinding, BSP, noise)

Changes:
- Update .gitmodules to use libtcod-headless (2.2.1-headless branch)
- Add NO_SDL compile definition to CMakeLists.txt
- Remove old libtcod submodule

Build instructions: deps/libtcod symlink should point to
modules/libtcod-headless/src/libtcod (configured during build setup)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-26 11:22:48 -05:00
John McCardle 07b597d6f2 Refactor: Python 3.12, build libtcod & SFML from source. Cmake build. Directory cleanup
directories needed:
* build - for cmake output
* deps - stuff needed to compile McRogueface (headers)
	libtcod -> ../modules/libtcod/src/libtcod
	sfml -> ../modules/SFML/include/SFML
	python -> ../modules/cpython/Include
* lib - stuff needed to link McRogueFace (shared objects); also required at runtime
	libtcod -> `../modules/libtcod/buildsys/autotools/.libs/libtcod.so.1.0.24`
	sfml -> `../modules/SFML/build/lib/*`
	python -> `../modules/cpython/libpython3.12.so`; standard lib at ../modules/cpython/build/lib.linux-x86_64-3.12 & ../modules/cpython/Lib

You can get dependencies by:
 - Build from source (i.e. all submodules)
 - Go download them from each project's website
 - install packages from your distro and symlink them to deps/lib directories
2024-02-24 22:48:39 -05:00