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>
This commit is contained in:
shweetandClaude Opus 5.5 committed 2026-11-19 21:44:40 -05:00
1 parent 9d4d4f5c64
commit 2b108ca729
5 files changed
+25103 -2

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
#include "classes.h"
// The Linux entry point hands over to the game's own main.
int main(int argc, char** argv)
{
return IsaacMain(argc, (uint8_t**)argv);
}