Curation round 15: restart and mods, Brimstone and Tech X, room gaps, eight bosses, the Womb and Mom's Heart, the Forgotten and tainted starts, alt path enemies and exits

This commit is contained in:
shweet committed 2026-11-20 20:54:59 -05:00
1 parent 6e3da161fc
commit 78a2680134
128 files changed
+13196 -2933

No files matched your search

+11 -1
View File
@@ -4,6 +4,9 @@
#include "homing_laser.h"
#include <vector>
// The distances a knife has no use for yet: removed or shown once it flies past them.
constexpr float KNIFE_DISTANCE_NONE = -1;
// Construction and destruction (00960b50, 00960a70) are the defaults.
// Field accessors (004d7790, 004d77a0, 0060cf10, 0060cfb0, 0085de90, 0085deb0, 0085dec0) are the public fields.
// A knife (Lua's EntityKnife): Mom's Knife and the swung weapons (bones, clubs, swords), with the tear effects they
@@ -14,6 +17,10 @@ struct Entity_Knife : Entity
std::vector<uint32_t> hitList;
TearFlags tearFlags;
TearFlags usedTearFlags;
EntityPtr brimstoneLaser;
EntityPtr linkedKnife;
EntityPtr spinEffect;
EntityPtr techLaser;
Vector anchorPosition{};
Vector initPosition{};
float basePosOffsetY = 0;
@@ -29,9 +36,12 @@ struct Entity_Knife : Entity
float pathOffset = 0;
float pathProgress = 0;
float rotation = 0;
float removeDistance = KNIFE_DISTANCE_NONE;
float rotationOffset = 0;
float scale = 0;
float showDistance = KNIFE_DISTANCE_NONE;
int pathSegment = 0;
short spinsLeft = 0;
bool isDeadEyeHit = false;
bool isFlying = false;
bool isMultidimensionalApplied = false;
@@ -50,7 +60,7 @@ struct Entity_Knife : Entity
bool HandleCollision(Entity* collider, bool isLow) override;
int GetBaseVariant();
void* GetHitEntities();
std::vector<uint32_t>& GetHitEntities();
void InitHomingPath(Vector direction, Entity* source, float pathOffset);
void copy_parent_state(Entity_Knife* source);
uint32_t spawn_child_knife();