Curation round 2, wave B: ItemConfig, EntityConfig, mods, Manager and the KAGE platform on SDL3; boots to LuaEngine::Init

- item_config, entity_config and mod_manager take over their families as idiomatic classes (std containers,
  unique_ptr, bitset tear flags). Every big loader reads the imported JSON: entities2.xml gives 1349 entities.
- manager.h/.cpp take over Manager (g_manager) and IsaacStartup. Members are the curated subsystems by value.
- kage_graphics, kage_input and kage_sound take over KAGE's graphics (shaders, render targets, batches, PNG through
  stb_image), input (SDL3 keyboard, mouse, gamepads) and sound (SDL3 audio, wav and stb_vorbis ogg, pitch and volume).
- source_tree.py: classes inside a namespace block in src/ headers count as taken over, and a still-generated class's
  vtable slot keeps its stub unless src/ defines that exact method.
build/isaac opens the window, sets up GL 4.6, framebuffers and PulseAudio, logs the version, and stops at
LuaEngine::Init. 522 functions taken over, boot path 156/615.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
shweetandClaude Opus 5.5 committed 2026-11-20 00:03:39 -05:00
1 parent 346dc95e13
commit 28e2e48842
105 files changed
+7008 -31418

No files matched your search

-41
View File
@@ -394,44 +394,3 @@ ColorMod * Color::Lerp(ColorMod *out, ColorMod *from, ColorMod *to, float t)
out->_colorize[3] = invT * fromColorizeA + t * toColorizeA;
return out;
}
// 0069f990
void * Color::copy_constructor_ext(void *other)
{
float fVar1;
float fVar2;
float fVar3;
void *local_10;
uint8_t *puStack_c;
uint32_t local_8;
local_8 = 0xffffffff;
puStack_c = &LAB_00afa07b;
local_10 = ExceptionList;
ExceptionList = &local_10;
fVar1 = *GHIDRA_CAST<float *>((GHIDRA_CAST<char *>(other) + 4));
fVar2 = *GHIDRA_CAST<float *>((GHIDRA_CAST<char *>(other) + 8));
fVar3 = *GHIDRA_CAST<float *>((GHIDRA_CAST<char *>(other) + 0xc));
this->_tint[0] = *GHIDRA_CAST<float *>(other);
this->_tint[1] = fVar1;
this->_tint[2] = fVar2;
this->_tint[3] = fVar3;
fVar1 = *GHIDRA_CAST<float *>((GHIDRA_CAST<char *>(other) + 0x14));
fVar2 = *GHIDRA_CAST<float *>((GHIDRA_CAST<char *>(other) + 0x18));
fVar3 = *GHIDRA_CAST<float *>((GHIDRA_CAST<char *>(other) + 0x1c));
this->_colorize[0] = *GHIDRA_CAST<float *>((GHIDRA_CAST<char *>(other) + 0x10));
this->_colorize[1] = fVar1;
this->_colorize[2] = fVar2;
this->_colorize[3] = fVar3;
*GHIDRA_CAST<uint64_t *>(this->_offset) = *GHIDRA_CAST<uint64_t *>((GHIDRA_CAST<char *>(other) + 0x20));
this->_offset[2] = *GHIDRA_CAST<float *>((GHIDRA_CAST<char *>(other) + 0x28));
(GHIDRA_CAST<msvc::string *>((GHIDRA_CAST<char *>((this + 1)))))->msvc::string::string((void *)(GHIDRA_INT(other) + 0x2c));
local_8 = 0;
(GHIDRA_CAST<msvc::string *>((GHIDRA_CAST<char *>((this[1]._colorize + 2)))))->msvc::string::string((void *)(GHIDRA_INT(other) + 0x44));
local_8 = CONCAT31((*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(local_8)) + 0x1))),1);
(GHIDRA_CAST<msvc::string *>((GHIDRA_CAST<char *>((this[2]._tint + 1)))))->msvc::string::string((void *)(GHIDRA_INT(other) + 0x5c));
this[2]._colorize[3] = *GHIDRA_CAST<float *>((GHIDRA_CAST<char *>(other) + 0x74));
this[2]._offset[0] = *GHIDRA_CAST<float *>((GHIDRA_CAST<char *>(other) + 0x78));
ExceptionList = local_10;
return this;
}