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:
1 parent
fd8b965350
commit
233d5123e8
128 files changed
+10194
-36967
No files matched your search
+4
-1
@@ -3,6 +3,7 @@
|
||||
#include "log.h"
|
||||
#include <SDL3/SDL_rect.h>
|
||||
#include <array>
|
||||
#include <cstdint>
|
||||
#include <functional>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -51,7 +52,8 @@ enum RenderbufferMode
|
||||
|
||||
// The engine's platform layer on SDL3: KAGE's System, the window half of its Graphics::Manager and the GLFW calls
|
||||
// under them, with the folders the game saves into and the 60 Hz frame pacing.
|
||||
// Listeners get the window's new size, position or focus, as the game registers them in IsaacStartup.
|
||||
// Listeners get the window's new size, position or focus, as the game registers them in IsaacStartup, and each
|
||||
// character typed while text input is on, as GLFW's char callback did.
|
||||
class Platform
|
||||
{
|
||||
public:
|
||||
@@ -62,6 +64,7 @@ public:
|
||||
std::vector<std::function<void(bool)>> focusListeners;
|
||||
std::vector<std::function<void(SDL_Point)>> positionListeners;
|
||||
std::vector<std::function<void(Size)>> sizeListeners;
|
||||
std::vector<std::function<void(uint32_t)>> textListeners;
|
||||
SDL_FPoint viewportOffset = {};
|
||||
SDL_Point windowPosition = {};
|
||||
Size drawingSize = {-1, -1};
|
||||
|
||||
Reference in new issue
Block a user