Curation round 16: Mom's Knife and the bone club, sin minibosses and death rewards, slots and beggars, NPC rendering and twelve bosses, alt path visuals, the Forgotten's flight and tainted HUDs, Sheol and the Cathedral to the credits, familiars and transformations

This commit is contained in:
shweet committed 2026-11-20 22:44:36 -05:00
1 parent 76c594f9a0
commit e9de039d0f
151 files changed
+14996 -5208

No files matched your search

+11
View File
@@ -296,6 +296,16 @@ struct ANM2Base
bool isUnknown108 = false;
};
// What GetTexel samples: a screen position, where the sprite draws, the alpha a texel must reach and the layer it looks
// in (any for -1).
struct TexelQuery
{
Vector renderPos{};
Vector sample{};
float alphaThreshold = 0;
int layerId = -1;
};
// 004074c0, 00408170 Construction and destruction are the defaults.
// Sprite's field accessors (004073d0, 00407410, 00407420, 00407430, 00417200, 00417210, 00420160, 00420170, 00431300,
// 00435c60, 0043ee80, 00440e40, 00456340, 00456360, 0049cb40) are the public fields.
@@ -345,6 +355,7 @@ struct ANM2 : ANM2Base
bool IsEventTriggered(std::string_view eventName) const;
bool WasEventTriggered(std::string_view eventName) const;
KColor GetTexel(const TexelQuery& query) const;
LayerState* GetLayer(int layerId);
LayerState* GetLayer(std::string_view name);