Seven agents took over LuaEngine (the mod API registration deferred), the rest of Manager (LoadConfigs, fonts, render surfaces, Update/Render), MusicManager/SFXManager, MenuManager with the title/save/game menus, Cutscene/NightmareScene/ Backdrop, RoomConfig (src/rooms ported and retired) with ItemPool, and PersistentGameData (the original binary save format) with InfoDisplay. An integration pass moved call sites to the new APIs, declared the taken-over free functions, fixed two data.cpp crashes (an empty children array, null attribute strings), and made the generator keep a header's own name where a prototype names another address. Clean build (0 warnings with -Wall -Wextra). build/isaac runs the game's Lua scripts (without the mod API yet) and stops at reload_resource_paths. 901 functions taken over, boot path 204/615. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
21 lines
491 B
C++
21 lines
491 B
C++
#pragma once
|
|
|
|
#include "anm2.h"
|
|
|
|
// The title screen (Menu_Title): the title drawing at its place on the menu sheet, on the sheet the save files have
|
|
// earned. Its update and render are inlined in MenuManager's.
|
|
class Menu_Title
|
|
{
|
|
public:
|
|
ANM2 titleScreenSprite;
|
|
Vector position{};
|
|
bool isAllSlotsDeadGod = false;
|
|
bool isAnySlotComplete = false;
|
|
|
|
void Init(Vector menuPosition);
|
|
void sprite_load();
|
|
void load_graphics();
|
|
void Update();
|
|
void Render();
|
|
};
|