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
@@ -1,5 +1,6 @@
|
||||
#include "music_manager.h"
|
||||
#include "data.h"
|
||||
#include "game.h"
|
||||
#include "manager.h"
|
||||
#include <cmath>
|
||||
#include <cstdlib>
|
||||
@@ -346,7 +347,7 @@ bool MusicManager::pitch_effects_apply()
|
||||
|
||||
bool isChanged = false;
|
||||
for (SeedPitch seedPitch : SEED_PITCHES)
|
||||
if (!isChanged && g_game->_seedEffects.HasSeedEffect(seedPitch.seedEffect))
|
||||
if (!isChanged && g_game->seedEffects.HasSeedEffect(seedPitch.seedEffect))
|
||||
{
|
||||
pitch = seedPitch.pitch;
|
||||
isChanged = true;
|
||||
@@ -354,12 +355,12 @@ bool MusicManager::pitch_effects_apply()
|
||||
if (g_manager->state != MANAGER_STATE_GAME) return isChanged;
|
||||
|
||||
double frame = (int)g_manager->framecount;
|
||||
if (g_game->_dizzyIntensity > 0)
|
||||
if (g_game->dizzyIntensity > 0)
|
||||
{
|
||||
pitch = pitch_wobble(pitch, frame * DIZZY_WOBBLE_SPEED, g_game->_dizzyIntensity * DIZZY_WOBBLE_DEPTH);
|
||||
pitch = pitch_wobble(pitch, frame * DIZZY_WOBBLE_SPEED, g_game->dizzyIntensity * DIZZY_WOBBLE_DEPTH);
|
||||
isChanged = true;
|
||||
}
|
||||
if (g_game->_room->_descriptor->Flags & ROOM_FLAG_RED_ROOM)
|
||||
if (g_game->room->_descriptor->Flags & ROOM_FLAG_RED_ROOM)
|
||||
{
|
||||
pitch = pitch_wobble(pitch, frame * RED_ROOM_WOBBLE_SPEED, RED_ROOM_WOBBLE_DEPTH);
|
||||
isChanged = true;
|
||||
|
||||
Reference in new issue
Block a user