Curation round 4: popups, Seeds/Random, Game, KeyConfigs, offline NetplayManager, Console, TextureCache, render passes
Six agents took over PopupButtons/PopupQueue/AchievementOverlay, Seeds with the global Random (now seeded from the clock as in the original), Game (g_game exists from Manager::Init on), KeyConfigs, an offline NetplayManager, Console's output and printing, TextureCache, the color-mod and sprite shader passes, mod shaders and reload_resource_paths. An integration pass moved callers to the new APIs (0 errors, 0 warnings with -Wall -Wextra). build/isaac loads the 34 installed mods and stops at ScoreSheet::ScoreSheet in Game's constructor; with the remaining stubs skipped under gdb the intro cutscene plays through and the main menu's frame loop runs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
ddf913f304
commit
fd8b965350
110 files changed
+6500
-40129
No files matched your search
@@ -426,7 +426,7 @@ void ScoreSheet::add_pickup_points(int variant, int subType, Vector *position)
|
||||
if (g_game->_isRoomRespawned == 0) {
|
||||
points = 0;
|
||||
if ((variant == 100) && (subType == -1)) {
|
||||
isGFuel = (GHIDRA_CAST<Seeds *>((&g_game->_seedEffects)))->Seeds::HasSeedEffect(0x4f);
|
||||
isGFuel = Seeds::HasSeedEffect(&g_game->_seedEffects,0x4f);
|
||||
if (isGFuel != 0) {
|
||||
points = (game->_stage + 4) * 200;
|
||||
}
|
||||
@@ -441,7 +441,7 @@ void ScoreSheet::add_pickup_points(int variant, int subType, Vector *position)
|
||||
local_14.y = position->y - 8.0;
|
||||
local_1c.x = 0.0;
|
||||
local_1c.y = -2.0;
|
||||
pointsText = (GHIDRA_CAST<Game *>((g_game)))->Game::SpawnEx(0x2329,2,&local_14,&local_1c,GHIDRA_CAST<Entity *>(0x0),0,seed,0);
|
||||
pointsText = Game::SpawnEx(g_game,0x2329,2,&local_14,&local_1c,GHIDRA_CAST<Entity *>(0x0),0,seed,0);
|
||||
iVar1 = *GHIDRA_CAST<int *>(pointsText);
|
||||
(pointsText->_targetPosition).y = 0.0;
|
||||
(pointsText->_targetPosition).x = (float)points;
|
||||
@@ -529,7 +529,7 @@ void ScoreSheet::Calculate()
|
||||
local_14 = 0;
|
||||
stageParTimes[8] = uVar5;
|
||||
if (g_manager->_netplayManager == *GHIDRA_CAST<int *>((g_manager + 1))) {
|
||||
local_70 = (GHIDRA_CAST<Game *>((g_game)))->Game::GetPlayer(0);
|
||||
local_70 = Game::GetPlayer(g_game,0);
|
||||
}
|
||||
else {
|
||||
puStack_20 = GHIDRA_CAST<uint8_t *>((stageParTimes + 0x10));
|
||||
@@ -748,7 +748,7 @@ void ScoreSheet::Calculate()
|
||||
players = playersBegin;
|
||||
calculate_room_score(this);
|
||||
local_4c = GHIDRA_CAST<int *>(0x3c);
|
||||
challengeParams = (GHIDRA_CAST<Game *>((g_game)))->Game::GetChallengeParams();
|
||||
challengeParams = Game::GetChallengeParams(g_game);
|
||||
if ((challengeParams->_pathType == 3) || (*GHIDRA_CAST<int *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(this[0x1d])) + 0x1)))) == 0xe)) {
|
||||
local_80 = 0;
|
||||
parStageCount = GHIDRA_INT(local_70);
|
||||
|
||||
Reference in new issue
Block a user