Curation round 14: console and Lua API, effects, lasers, enemies, eleven bosses, the Depths and Mom, status effects, the playable characters

This commit is contained in:
shweet committed 2026-11-20 19:04:41 -05:00
1 parent 8ae02a8422
commit 6e3da161fc
138 files changed
+16754 -6825

No files matched your search

+2 -13
View File
@@ -152,7 +152,6 @@ constexpr int TRINKET_ICE_CUBE_ID = 188;
constexpr int TRINKET_DEVILS_CROWN_ID = 185;
constexpr int NULLITEM_DAMOCLES_WEAKNESS = 64;
constexpr int CHALLENGE_ULTRA_HARD = 34;
constexpr int CHALLENGE_BEANS = 30;
constexpr int CHALLENGE_SLOW = 22;
constexpr int ACHIEVEMENT_BOSS_COLORS = 3;
@@ -186,9 +185,7 @@ constexpr unsigned int STATUS_SHARED = 1u << 31;
constexpr int TYPE_SPRITE_FLAG_A = 950;
constexpr int TYPE_SPRITE_FLAG_B = 960;
constexpr int VARIANT_SPRITE_FLAG_B = 4;
constexpr std::string_view CHAMPION_SUFFIX = "_champion";
constexpr std::string_view STATUS_EFFECTS_ANM2 = "gfx/StatusEffects.anm2";
constexpr size_t SHEET_EXTENSION_SIZE = 4;
// The target search: how far enemies look for players, and what pushes a player back or pulls a twin forward.
constexpr float TARGET_RANGE = 5000;
@@ -229,9 +226,6 @@ constexpr float SPEED_HALF = 0.5f;
constexpr float SPEED_WEAKENED = 0.65f;
constexpr float SPEED_VANISHING_TWIN = 0.75f;
// The champion color looks, sprite color, HP multiplier and scale, that the exe keeps at 00c354c0.
const ColorMod* champion_color_get(int championColor);
// 0043ef30 Shoots one plain shot at a random circle angle.
ProjectileParams::ProjectileParams() : circleAngle(random_unit() * PI_F) {}
@@ -679,8 +673,8 @@ void Entity_NPC::LoadEntityConfig()
// 006b9c10 A layer's sheet with the champion suffix and the stage's floor suffix put before its extension, the first
// of (both, champion only, floor only) a mod or the resources hold, else the sheet itself. isChampionSheet says
// whether the one found has the champion suffix.
static std::string sheet_path_resolve(const std::string& path, std::string_view floorSuffix,
std::string_view championSuffix, bool& isChampionSheet)
std::string sheet_path_resolve(const std::string& path, std::string_view floorSuffix, std::string_view championSuffix,
bool& isChampionSheet)
{
isChampionSheet = false;
if (path.size() < SHEET_EXTENSION_SIZE || (floorSuffix.empty() && championSuffix.empty())) return path;
@@ -2933,11 +2927,6 @@ void Entity_NPC::UpdatePickupGhosts()
if (pickupGhostsEntity) pickupGhostsEntity->Remove();
}
// 0096ce90
void Entity_NPC::SetAimAngle(float)
{
reconstruction_missing("Entity_NPC::SetAimAngle 0096ce90");
}
// 009a8b90
void Entity_NPC::render_debug(float*, int)