Curation round 7: Game::Start, level generation, Room, Camera, the Entity hierarchy, Entity_Player, the run frame
Six agents took over Game::Start, Level::SetNextStage, BossPool, save_game_state, level generation to the first room (place_special_rooms, RoomDescriptor, load_room), Room, Camera, Entity/EntityList/EntityRef with a curated skeleton of every Entity_* subclass, Entity_Player, Game::Render, Manager::Update's run branch, RoomTransition, ItemInfoHUD and StatHUD. Integration wrote FirstTrinketOwner and room_shape_get_door_grid_index (checked against the decompile for every shape and slot) and folded the duplicated constants. A run now generates its floor, loads the start room and draws the HUD (under gdb); Isaac renders correctly when drawn, the room itself waits for Room::Render. 2479 functions taken over. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
addd027977
commit
b85591bdf4
146 files changed
+20124
-200863
No files matched your search
@@ -368,7 +368,7 @@ stubs, dataStubs = [], [] # (owner, declaration, address): everything src/ has
|
||||
def class_emit(cls, stack=()):
|
||||
if cls in done or cls in stack or cls in PRELUDE_TYPES: return
|
||||
if cls in curatedClasses or cls.rpartition('::')[0] in curatedClasses: return # declared by src/ (a nested class with its outer one), only forward-declared here
|
||||
parent = base.get(cls) if base.get(cls) in names and base.get(cls) not in curatedClasses else None # a src/ parent stays bytes
|
||||
parent = base.get(cls) if base.get(cls) in names and base.get(cls) not in curatedClasses and (base.get(cls) or '').rpartition('::')[0] not in curatedClasses else None # a src/ parent (or one nested in a src/ class) stays bytes
|
||||
if parent: class_emit(parent, stack + (cls,))
|
||||
namespace, _, shortName = cls.rpartition('::')
|
||||
isNested = namespace in names # Cutscene::ANM2Part: declared inside Cutscene, defined after it
|
||||
|
||||
Reference in new issue
Block a user