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
@@ -0,0 +1,150 @@
|
||||
#include "entity_knife.h"
|
||||
#include "log.h"
|
||||
|
||||
// 009665e0 Sorts by its own depth, ignoring the sorting layer.
|
||||
int Entity_Knife::GetRenderZ()
|
||||
{
|
||||
return render_z_get(knifeDepthOffset + pos.y);
|
||||
}
|
||||
|
||||
// 009666c0 The first knife of its chain of knives.
|
||||
Entity* Entity_Knife::GetRootParent()
|
||||
{
|
||||
Entity* root = this;
|
||||
while (root->parent && root->parent->type == ENTITY_KNIFE) root = root->parent;
|
||||
return root;
|
||||
}
|
||||
|
||||
// The rest of Entity_Knife is not reconstructed yet.
|
||||
|
||||
// 00960c10
|
||||
void Entity_Knife::Init(int, int, int, uint32_t)
|
||||
{
|
||||
reconstruction_missing("Entity_Knife::Init 00960c10");
|
||||
}
|
||||
|
||||
// 00961b00
|
||||
void Entity_Knife::Update()
|
||||
{
|
||||
reconstruction_missing("Entity_Knife::Update 00961b00");
|
||||
}
|
||||
|
||||
// 00967db0
|
||||
void Entity_Knife::Interpolate()
|
||||
{
|
||||
reconstruction_missing("Entity_Knife::Interpolate 00967db0");
|
||||
}
|
||||
|
||||
// 00965d30
|
||||
void Entity_Knife::Render(const Vector&)
|
||||
{
|
||||
reconstruction_missing("Entity_Knife::Render 00965d30");
|
||||
}
|
||||
|
||||
// 009611d0
|
||||
void Entity_Knife::ClearReferences()
|
||||
{
|
||||
reconstruction_missing("Entity_Knife::ClearReferences 009611d0");
|
||||
}
|
||||
|
||||
// 009666f0
|
||||
bool Entity_Knife::HandleCollision(Entity*, bool)
|
||||
{
|
||||
reconstruction_missing("Entity_Knife::HandleCollision 009666f0");
|
||||
}
|
||||
|
||||
// 00960a20
|
||||
int Entity_Knife::GetBaseVariant()
|
||||
{
|
||||
reconstruction_missing("Entity_Knife::GetBaseVariant 00960a20");
|
||||
}
|
||||
|
||||
// 009612e0
|
||||
void* Entity_Knife::GetHitEntities()
|
||||
{
|
||||
reconstruction_missing("Entity_Knife::GetHitEntities 009612e0");
|
||||
}
|
||||
|
||||
// 00961320
|
||||
void Entity_Knife::InitHomingPath(Vector, Entity*, float)
|
||||
{
|
||||
reconstruction_missing("Entity_Knife::InitHomingPath 00961320");
|
||||
}
|
||||
|
||||
// 009614d0
|
||||
void Entity_Knife::copy_parent_state(Entity_Knife*)
|
||||
{
|
||||
reconstruction_missing("Entity_Knife::copy_parent_state 009614d0");
|
||||
}
|
||||
|
||||
// 00961870
|
||||
uint32_t Entity_Knife::spawn_child_knife()
|
||||
{
|
||||
reconstruction_missing("Entity_Knife::spawn_child_knife 00961870");
|
||||
}
|
||||
|
||||
// 00966650
|
||||
Entity_Player* Entity_Knife::GetPlayer()
|
||||
{
|
||||
reconstruction_missing("Entity_Knife::GetPlayer 00966650");
|
||||
}
|
||||
|
||||
// 00966ef0
|
||||
void Entity_Knife::Shoot(float, float)
|
||||
{
|
||||
reconstruction_missing("Entity_Knife::Shoot 00966ef0");
|
||||
}
|
||||
|
||||
// 00967180
|
||||
void Entity_Knife::UpdateHomingPath()
|
||||
{
|
||||
reconstruction_missing("Entity_Knife::UpdateHomingPath 00967180");
|
||||
}
|
||||
|
||||
// 00967650
|
||||
void Entity_Knife::update_target(float*)
|
||||
{
|
||||
reconstruction_missing("Entity_Knife::update_target 00967650");
|
||||
}
|
||||
|
||||
// 00967a70
|
||||
void Entity_Knife::apply_wiggle(float*)
|
||||
{
|
||||
reconstruction_missing("Entity_Knife::apply_wiggle 00967a70");
|
||||
}
|
||||
|
||||
// 00967d20
|
||||
void Entity_Knife::screen_wrap()
|
||||
{
|
||||
reconstruction_missing("Entity_Knife::screen_wrap 00967d20");
|
||||
}
|
||||
|
||||
// 00967fc0
|
||||
void Entity_Knife::Reset()
|
||||
{
|
||||
reconstruction_missing("Entity_Knife::Reset 00967fc0");
|
||||
}
|
||||
|
||||
// 009680d0
|
||||
void Entity_Knife::SetAttackAnimation()
|
||||
{
|
||||
reconstruction_missing("Entity_Knife::SetAttackAnimation 009680d0");
|
||||
}
|
||||
|
||||
// 00968430
|
||||
void Entity_Knife::SpinAttack(short, int)
|
||||
{
|
||||
reconstruction_missing("Entity_Knife::SpinAttack 00968430");
|
||||
}
|
||||
|
||||
// 00968660
|
||||
uint8_t Entity_Knife::drain_notched_axe(int)
|
||||
{
|
||||
reconstruction_missing("Entity_Knife::drain_notched_axe 00968660");
|
||||
}
|
||||
|
||||
// 009688d0
|
||||
void Entity_Knife::UpdateSwingHits()
|
||||
{
|
||||
reconstruction_missing("Entity_Knife::UpdateSwingHits 009688d0");
|
||||
}
|
||||
Reference in new issue
Block a user