Curation round 23 (code only): the Mods menu and HUD pieces, Dogma and the Beast, Visage, Hornfel and other bosses, enemies and Entity_NPC branches, player revivals and missing methods, the player's frame, familiars, lasers, weapons and bombs, shared constants folded (115 duplicates, 385 gaps)

This commit is contained in:
shweet committed 2026-11-23 00:41:14 -05:00
1 parent b9405bfb31
commit 11c71fe041
208 files changed
+20487 -5741

No files matched your search

+15 -3
View File
@@ -55,6 +55,16 @@ constexpr int BLOOD_EXPLOSION_BURST = 2;
constexpr int BLOOD_EXPLOSION_SPLASH = 3;
constexpr int BLOOD_EXPLOSION_SPLASH_BIG = 4;
// Dogma's blackhole (171): its sparks (subtype 1) and swirls (2), and its states while open and closing.
constexpr int BLACKHOLE_SPARK = 1;
constexpr int BLACKHOLE_SWIRL = 2;
constexpr int BLACKHOLE_OPEN = 1;
constexpr int BLACKHOLE_CLOSING = 2;
// The enemy ghost's bursts (144): the Beast's crackwave's, and the larger one of Dogma's babies and the Beast's souls.
constexpr int ENEMY_GHOST_BURST = 1;
constexpr int ENEMY_GHOST_BLAST = 2;
// Poof02's lava splashes, small and large.
constexpr int POOF02_LAVA_SPLASH = 66;
constexpr int POOF02_LAVA_SPLASH_LARGE = 67;
@@ -330,12 +340,12 @@ struct Entity_Effect : Entity
static bool rift_attract_filter(int first, int second);
void update_mr_me();
void update_wave_chain();
static void moonlight_timer_callback(int);
static void moonlight_timer_callback(Entity_Effect* timer);
static bool IsPlayerCreep(int effectVariant);
static Entity_Effect* CreateTimer(void* fn, uint32_t delay, uint32_t times, bool isPersistent);
void update_variant178_shooter(bool isPositionOnly);
static Entity_Effect* CreateLootPreview(void* lootlist, const Vector& pos, Entity* owner, Entity_Effect* effect);
void setup_loot_preview(void* lootQueue);
static Entity_Effect* CreateLootPreview(LootList* lootList, const Vector& pos, Entity* owner, Entity_Effect* effect);
void setup_loot_preview(LootList* lootList);
};
// The most pickups a pickup ghost shows.
@@ -410,6 +420,8 @@ Entity_Effect* chain_lightning_spawn(const ChainLightning& chain);
struct Entity_Familiar;
bool is_familiar_charmable(Entity_Familiar& familiar);
int timer_times_get(Entity_Effect& timer);
// Sets a layer to draw additively (BlendMode::SetMode 2), or normally (1).
void layer_additive_set(LayerState& layer);
void layer_normal_set(LayerState& layer);