11 Commits
Author SHA1 Message Date
shweet 2d2c4536da XML only, rapidjson, and the decompilation workspace removed
Game data is XML only: the JSON form of documents, the DataFormat option and Anm2Ed's JSON .anm2 loader are gone.
DataNode wraps pugixml alone, resource_find takes one path, and the read padding simdjson needed is dropped.
simdjson is replaced by rapidjson (external/rapidjson, upstream master: REPENTOGON's pinned 2016 commit does not
build with clang) for REPENTOGON's own JSON save files, through json_save's document and member helpers.

The decompilation workspace is removed (analysis/, db/, dump/, notes/, project/, scripts/): generated-src's
classes.h and stubs.cpp move to src/generated/, the overlay moves to src/overlay/ (with its console commands in
commands.cpp), and the build adds ccache, mold, precompiled headers, an optional unity build and a build/<platform>/
folder linking the resources, mods and assets. Also included: the save folder and options.ini flags (--saves,
--options, --help), Steam Cloud left offline, and further REPENTOGON vanilla fixes and player and room behaviour.
2026-11-25 05:01:29 -05:00
shweet 6d8a43775d XML data layer: pugixml (external/pugixml, v1.15), a format-neutral DataNode API for every loader, DataFormat=auto|json|xml (default xml), KAGE's archive file system ported (index once, four unpackers, the original's mount order) so --resources can point at an install's resources/ with no import step, the original XML .anm2 loader beside Anm2Ed JSON, mods' own XML; 72 goldens identical from converted resources and from the install 2026-11-24 05:57:54 -05:00
shweet 2cc082f6ee REPENTOGON phase 0 (e2c5aec, GPL-2): ISAAC_REPENTOGON option (on), src/repentogon/ with the hidden REPENTOGON global switch, callback ids 1000-1499 with REPENTOGON's enable state and dispatch (priorities, optional and two-parameter filters, isolated errors), its scripts loaded from assets/repentogon/scripts, its options store and a vanilla-parity switch (on) in the overlay, scripts/repentogon_coverage.py and analysis/repentogon_coverage.tsv (2,834 rows) 2026-11-24 03:23:39 -05:00
shweet 78cb0775b0 Developer overlay from isaac-classic (ISAAC_OVERLAY, on by default): Dear ImGui docking (external/imgui), Unifont and Font Awesome in assets/fonts through git-lfs; Console, Game Options, Mods and Debug windows replace the drop-down console, always available, with no effect on EnableDebugConsole or achievements, and off under the harness. Resource paths: the game folder's own resources/ prefix and an absolute --resources directory resolve (the Fart animation failed to load with --resources) 2026-11-24 02:46:40 -05:00
shweet 7d3cf33c20 Sort src/ into subsystem folders (engine, game, level, level/grid, entity with player, npc, boss, familiar, effect, pickup and weapon, ui, ui/menu, lua, online), drop each folder's prefix from file names, include by path from src/, glob src/ recursively 2026-11-23 16:41:49 -05:00
shweet 76c594f9a0 Add Ogg, Vorbis and Theora as static decoder-only submodules for cutscene videos 2026-11-20 20:56:57 -05:00
shweetandClaude Opus 5.5 0afb31d503 external/: stb (stb_image for the game's PNGs, as in smack-a-brother)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 23:16:59 -05:00
shweetandClaude Opus 5.5 2b108ca729 Generated stubs: the build links into a Linux executable that runs as far as src/ goes
source_tree.py writes generated-src/stubs.cpp: every function, vtable slot and import src/ has not taken over, defined
as a stub that prints 'Reached <name> <address>, not reconstructed yet' and stops. CMake builds src/*.cpp + stubs into
the isaac executable, so each run names the next function to curate. src/main.cpp hands over to the game's IsaacMain.
Classes with only parameterised constructors get a defaulted one, so stub constructors of their holders compile.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 21:44:40 -05:00
shweetandClaude Opus 5.5 0b86c1071f external/: simdjson v5.1.1; the game reads JSON that an import tool makes from the player's install
Config and .anm2 data are converted from the install's XML (and packed archives) into a gitignored resources/ by a
tool in the gitignored tools/, as in smack-a-brother. The game has no XML parser.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 21:27:08 -05:00
shweetandClaude Opus 5.5 199c3d3d2b external/: SDL3 (release-3.4.20) and Lua 5.3.6 as static submodules, wired into CMake
SDL3 replaces GLFW, Win32 and OpenAL (window, OpenGL context, input, gamepads, audio), trimmed to those pieces as in
smack-a-brother. Lua 5.3 keeps the mod API. Online features become offline stubs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 21:14:59 -05:00
shweetandClaude Opus 5.5 3ce74c6e2d Reconstruction layout: generated-src/ (generated) and src/ (curated), CMake, the first takeover: RNG
The decompiled C++ tree moves to generated-src/ (classes.h, C++20); src/ is for code written by hand. A curated function
defines the generated declaration and starts its comment with its address, and source_tree.py stops emitting that body.
src/rng.cpp takes over RNG (SetSeed, the constructor, Next, RandomInt, RandomFloat, Shuffle) with the shift table read
from the exe as a constexpr array; src/log.h names KAGE_LogMessage's levels (1 INFO, 2 NET, 4 WARN, 8 ERROR, 16 ASSERT,
from its prefix jump table). CMakeLists.txt builds src/*.cpp against generated-src/classes.h (clean with -Wall -Wextra).
structs.hpp and headers.py are retired: scripts/merge_fields.py writes the merged field list, classes.h checks the layout.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 21:10:23 -05:00