Curation round 5: Game construction, FXLayers, PlayerManager, the menus; the main menu renders

Eight agents took over ScoreSheet, DeathmatchManager, giantbook and boss overlays, FXLayers, PlayerManager, the menu
manager with the save and prompt flow, twelve menus (character wheel, options, challenges, daily (offline), special
seeds, leaderboard (local), collection, bestiary, stats, controller select, key config, cutscenes), console text input
and gamepad hot-plug through platform listeners. Integration moved input to device ids.
KAGE's projection matrix now reaches the 'ProjectionMatrix' uniform the basic shaders from afterbirthp.a declare, as
well as the exe's 'Transform', which takes the color-mod and HQ4X passes from black to correct output.
Under gdb with stubs skipped, the intro, title, file select, main menu and character wheel render as in the game.
1330 functions taken over, boot path 261/615. build/isaac stops at OnlineEmotes::init in Game::LoadConfigXmls.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
shweetandClaude Opus 5.5 committed 2026-11-20 02:59:23 -05:00
1 parent fd8b965350
commit 233d5123e8
128 files changed
+10194 -36967

No files matched your search

+9 -1
View File
@@ -439,7 +439,8 @@ void Platform::fullscreen_set(FullscreenMode mode)
}
// Takes the window's events as GLFW's callbacks did: closing asks the game to quit, a new size (00a19bf0), position
// (00a19ca0) or focus (00a19d40) goes to its listeners and resets what depends on it, keys and gamepads go to input.
// (00a19ca0) or focus (00a19d40) goes to its listeners and resets what depends on it, each typed character goes to
// the text listeners, keys and gamepads go to input.
// Win32's topmost-while-focused fullscreen window has no SDL counterpart.
void Platform::events_poll()
{
@@ -471,6 +472,13 @@ void Platform::events_poll()
case SDL_EVENT_WINDOW_FOCUS_LOST:
for (auto& listener : focusListeners) listener(event.type == SDL_EVENT_WINDOW_FOCUS_GAINED);
break;
case SDL_EVENT_TEXT_INPUT:
{
const char* text = event.text.text;
while (uint32_t character = SDL_StepUTF8(&text, nullptr))
for (auto& listener : textListeners) listener(character);
break;
}
case SDL_EVENT_KEY_DOWN:
case SDL_EVENT_KEY_UP:
KAGE::Input::manager.key_set(event.key.scancode, event.key.down);