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,102 @@
|
||||
#include "entity_projectile.h"
|
||||
#include "log.h"
|
||||
|
||||
constexpr int PROJECTILE_MEAT = 11;
|
||||
|
||||
// 00652f60 Only a Globin's meat shot holds the doors shut, unless nothing can stop it.
|
||||
bool Entity_Projectile::CanShutDoors()
|
||||
{
|
||||
return variant == PROJECTILE_MEAT && !(projectileFlags & PROJECTILE_CANT_BE_STOPPED);
|
||||
}
|
||||
|
||||
// 00456420 Raises it.
|
||||
void Entity_Projectile::AddHeight(float amount)
|
||||
{
|
||||
height = amount + height;
|
||||
}
|
||||
|
||||
// 00456450 Speeds its fall.
|
||||
void Entity_Projectile::AddFallingSpeed(float amount)
|
||||
{
|
||||
fallingSpeed = amount + fallingSpeed;
|
||||
}
|
||||
|
||||
// 00456470 Strengthens its gravity.
|
||||
void Entity_Projectile::AddFallingAccel(float amount)
|
||||
{
|
||||
fallingAccel = amount + fallingAccel;
|
||||
}
|
||||
|
||||
// 00456490 Sets projectile flags.
|
||||
void Entity_Projectile::AddProjectileFlags(uint64_t added)
|
||||
{
|
||||
projectileFlags |= added;
|
||||
}
|
||||
|
||||
// 006b82f0 Sets the flags it takes when its change timeout ends.
|
||||
void Entity_Projectile::AddChangeFlags(uint64_t added)
|
||||
{
|
||||
changeFlags |= added;
|
||||
}
|
||||
|
||||
// 0085e320 Grows it.
|
||||
void Entity_Projectile::AddScale(float amount)
|
||||
{
|
||||
scale = amount + scale;
|
||||
}
|
||||
|
||||
// The rest of Entity_Projectile is not reconstructed yet.
|
||||
|
||||
// 00652b90
|
||||
void Entity_Projectile::Init(int, int, int, uint32_t)
|
||||
{
|
||||
reconstruction_missing("Entity_Projectile::Init 00652b90");
|
||||
}
|
||||
|
||||
// 00653070
|
||||
void Entity_Projectile::Update()
|
||||
{
|
||||
reconstruction_missing("Entity_Projectile::Update 00653070");
|
||||
}
|
||||
|
||||
// 0065c510
|
||||
void Entity_Projectile::Interpolate()
|
||||
{
|
||||
reconstruction_missing("Entity_Projectile::Interpolate 0065c510");
|
||||
}
|
||||
|
||||
// 0065cb60
|
||||
void Entity_Projectile::Render(const Vector&)
|
||||
{
|
||||
reconstruction_missing("Entity_Projectile::Render 0065cb60");
|
||||
}
|
||||
|
||||
// 0065b670
|
||||
bool Entity_Projectile::HandleCollision(Entity*, bool)
|
||||
{
|
||||
reconstruction_missing("Entity_Projectile::HandleCollision 0065b670");
|
||||
}
|
||||
|
||||
// 00652fa0
|
||||
void Entity_Projectile::Reflect(Entity*, const Vector&)
|
||||
{
|
||||
reconstruction_missing("Entity_Projectile::Reflect 00652fa0");
|
||||
}
|
||||
|
||||
// 0065b500
|
||||
void Entity_Projectile::update_height_collision()
|
||||
{
|
||||
reconstruction_missing("Entity_Projectile::update_height_collision 0065b500");
|
||||
}
|
||||
|
||||
// 00675fc0
|
||||
void Entity_Projectile::SetHeight(float)
|
||||
{
|
||||
reconstruction_missing("Entity_Projectile::SetHeight 00675fc0");
|
||||
}
|
||||
|
||||
// 0067a080
|
||||
void Entity_Projectile::Deflect(Entity*, const Vector&)
|
||||
{
|
||||
reconstruction_missing("Entity_Projectile::Deflect 0067a080");
|
||||
}
|
||||
Reference in new issue
Block a user