Curation round 6: boot finished, the run starts; HUD, pause screen, minimap, preloads, floor generation
Six agents took over OnlineEmotes (emote wheel), OnlineStatsScreen's deeds, VictoryRunPrompt, RevivePlayerMenu, HUD, PauseScreen, Minimap, PreloadManager, ProceduralItemManager, Game::LoadBossRushXml, GameState's loading, the menu loose ends, Manager::StartNewGame, LevelGenerator and Level (Game now derives from Level). Integration: completion_widget.h breaks an include loop, call sites moved to the new APIs. --mute (main.cpp) keeps the mixer running at zero gain. build/isaac reaches the main menu by itself (input skips the intro); under gdb, picking a character calls StartNewGame and stops at Game::Start. 1611 functions taken over, boot path 287/615. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
fed6918a10
commit
addd027977
94 files changed
+7453
-43389
No files matched your search
+10
-3
@@ -1,6 +1,7 @@
|
||||
#include "classes.h"
|
||||
#include "data.h"
|
||||
#include "gl.h"
|
||||
#include "kage_sound.h"
|
||||
#include "lua_engine.h"
|
||||
#include "manager.h"
|
||||
#include "platform.h"
|
||||
@@ -13,6 +14,7 @@
|
||||
constexpr const char* GAME_VERSION = "J460";
|
||||
constexpr const char* LOCALHOST_FLAG = "--localhost_match";
|
||||
constexpr const char* RESOURCES_FLAG = "--resources";
|
||||
constexpr const char* MUTE_FLAG = "--mute";
|
||||
constexpr const char* LOG_FILE = "log.txt";
|
||||
constexpr const char* LOCALHOST_LOG = "localhost/log_";
|
||||
constexpr const char* CLAMP_COLOR_EXTENSION = "GL_ARB_color_buffer_float";
|
||||
@@ -74,10 +76,15 @@ int IsaacMain(int argc, uint8_t** argv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
// The Linux entry point: "--resources <dir>" says where the imported game files are, then the game's own main runs.
|
||||
// The Linux entry point: "--resources <dir>" says where the imported game files are, "--mute" plays nothing, then the
|
||||
// game's own main runs.
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
for (int i = 1; i + 1 < argc; i++)
|
||||
if (std::strcmp(argv[i], RESOURCES_FLAG) == 0) dataDirectory = std::string(argv[i + 1]) + "/";
|
||||
for (int i = 1; i < argc; i++)
|
||||
{
|
||||
if (std::strcmp(argv[i], MUTE_FLAG) == 0) KAGE::Sound::manager.isMuted = true;
|
||||
else if (std::strcmp(argv[i], RESOURCES_FLAG) == 0 && i + 1 < argc)
|
||||
dataDirectory = std::string(argv[i + 1]) + "/";
|
||||
}
|
||||
return IsaacMain(argc, (uint8_t**)argv);
|
||||
}
|
||||
Reference in new issue
Block a user