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>
16 lines
416 B
C++
16 lines
416 B
C++
#pragma once
|
|
|
|
#include "kage_graphics.h"
|
|
#include <string_view>
|
|
|
|
// The images preloaded ahead of their sprites (entity preloads, .anm2 spritesheets), held by their mounted path until
|
|
// a purge finds nothing else using them.
|
|
namespace TextureCache
|
|
{
|
|
void Add(KAGE::Graphics::ImagePtr image);
|
|
bool Has(std::string_view path);
|
|
void Release(std::string_view path);
|
|
void Purge();
|
|
void Preload(std::string_view path);
|
|
}
|