Curation round 22: every NpcAI below type 400, Repentance bosses and Rotgut, the player's last branches, clots and familiars, bomb tear effects and chain lightning, Mother and Home to Dogma, Greed and Greedier, the new Anm2Ed JSON loader, shared IDs folded (135 duplicates)

This commit is contained in:
shweet committed 2026-11-22 21:57:51 -05:00
1 parent 6a11163842
commit b9405bfb31
198 files changed
+21859 -2999

No files matched your search

+35 -1
View File
@@ -50,6 +50,27 @@ constexpr int PULLING_PURPLE = 0;
constexpr int PULLING_GREY = 1;
constexpr int PULLING_RED = 2;
// A blood explosion's subtypes the shots and bosses splash with: a burst, a splash and a big splash.
constexpr int BLOOD_EXPLOSION_BURST = 2;
constexpr int BLOOD_EXPLOSION_SPLASH = 3;
constexpr int BLOOD_EXPLOSION_SPLASH_BIG = 4;
// Poof02's lava splashes, small and large.
constexpr int POOF02_LAVA_SPLASH = 66;
constexpr int POOF02_LAVA_SPLASH_LARGE = 67;
// The halos' subtypes several files spawn (EFFECT_HALO).
enum HaloSubtype
{
HALO_CURSE = 3,
HALO_STATIC = 4,
HALO_TELEKINESIS = 1,
HALO_SALVATION = 6,
HALO_STATIC_PRERENDERED = 7,
HALO_DARK_ARTS = 8,
HALO_BREATH_OF_LIFE = 9
};
// The effect variants several files name (Lua's EffectVariant).
enum EffectVariant : int
{
@@ -139,6 +160,7 @@ enum EffectVariant : int
EFFECT_PLAYER_CREEP_BLACKPOWDER = 92,
EFFECT_PENTAGRAM_BLACKPOWDER = 93,
EFFECT_CREEP_SLIPPERY_BROWN = 94,
EFFECT_GOLD_PARTICLE = 95,
EFFECT_HUSH_LASER = 96,
EFFECT_WATER_SPLASH = 99,
EFFECT_HUSH_ASHES = 100,
@@ -369,8 +391,20 @@ void effect_sound_play(int sound, SoundPlay play = {});
// carrying their twin.
bool is_player_free(Entity_Player& player);
// The tear flags an effect carries in its variant data.
// The tear flags an effect carries in its variant data, and laying them there.
TearFlags effect_tear_flags(const Entity_Effect& effect);
void effect_tear_flags_set(Entity_Effect& effect, const TearFlags& flags);
// A chain lightning to start (spawn_chain_lightning's arguments): where, its damage and tear flags, from whom.
struct ChainLightning
{
TearFlags tearFlags{};
Vector position{};
Entity* spawner = nullptr;
float damage = 0;
};
Entity_Effect* chain_lightning_spawn(const ChainLightning& chain);
// FUN_0060dae0: whether the Siren may charm a familiar.
struct Entity_Familiar;