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:
1 parent
8ae02a8422
commit
6e3da161fc
138 files changed
+16754
-6825
No files matched your search
+39
-2
@@ -17,18 +17,22 @@
|
||||
#include <string_view>
|
||||
#include <vector>
|
||||
|
||||
struct DeliriousBoss;
|
||||
|
||||
constexpr int ACTIVE_SLOT_COUNT = 4;
|
||||
constexpr int BAG_OF_CRAFTING_SIZE = 8;
|
||||
constexpr int CHARGE_BAR_COUNT = 7;
|
||||
constexpr int COLLECTIBLE_VANILLA_COUNT = 733;
|
||||
constexpr int COOP_BABY_BUFF_COUNT = 8;
|
||||
constexpr int COSTUME_LAYER_COUNT = 15;
|
||||
constexpr int FORGOTTEN_BODY_ROOM_NONE = -99999;
|
||||
constexpr int HUD_HEART_FLASH_FRAMES = 4;
|
||||
constexpr int INVENTORY_SIZE = 16;
|
||||
constexpr int POCKET_SLOT_COUNT = 4;
|
||||
constexpr int POOP_SPELL_QUEUE_SIZE = 6;
|
||||
constexpr int TRINKET_SLOT_COUNT = 2;
|
||||
constexpr int WEAPON_SLOT_COUNT = 5;
|
||||
constexpr uint32_t QUEUED_TOUCHED = 0x1;
|
||||
constexpr uint32_t QUEUED_GOLDEN = 0x2;
|
||||
constexpr uint32_t TRINKET_GOLDEN_FLAG = 0x8000;
|
||||
constexpr uint8_t WILD_CARD_NONE = 0xff;
|
||||
@@ -233,6 +237,7 @@ enum PlayerItemId : int
|
||||
COLLECTIBLE_HOLY_WATER = 178,
|
||||
COLLECTIBLE_WHITE_PONY = 181,
|
||||
COLLECTIBLE_SACRED_HEART = 182,
|
||||
COLLECTIBLE_BLOOD_RIGHTS = 186,
|
||||
COLLECTIBLE_3_DOLLAR_BILL = 191,
|
||||
COLLECTIBLE_MOMS_KEY = 199,
|
||||
COLLECTIBLE_MIDAS_TOUCH = 202,
|
||||
@@ -250,6 +255,7 @@ enum PlayerItemId : int
|
||||
COLLECTIBLE_KEY_PIECE_1 = 238,
|
||||
COLLECTIBLE_KEY_PIECE_2 = 239,
|
||||
COLLECTIBLE_INFAMY = 242,
|
||||
COLLECTIBLE_20_20 = 245,
|
||||
COLLECTIBLE_BLUE_MAP = 246,
|
||||
COLLECTIBLE_BFFS = 247,
|
||||
COLLECTIBLE_STARTER_DECK = 251,
|
||||
@@ -280,6 +286,7 @@ enum PlayerItemId : int
|
||||
COLLECTIBLE_NEGATIVE = 328,
|
||||
COLLECTIBLE_LUDOVICO = 329,
|
||||
COLLECTIBLE_SOY_MILK = 330,
|
||||
COLLECTIBLE_LAZARUS_RAGS = 332,
|
||||
COLLECTIBLE_MIND = 333,
|
||||
COLLECTIBLE_BOOMERANG = 338,
|
||||
COLLECTIBLE_WOODEN_NICKEL = 349,
|
||||
@@ -321,7 +328,9 @@ enum PlayerItemId : int
|
||||
COLLECTIBLE_WAIT_WHAT = 484,
|
||||
COLLECTIBLE_METRONOME = 488,
|
||||
COLLECTIBLE_DEEP_POCKETS = 416,
|
||||
COLLECTIBLE_PLAN_C = 475,
|
||||
COLLECTIBLE_DUALITY = 498,
|
||||
COLLECTIBLE_EUCHARIST = 499,
|
||||
COLLECTIBLE_GREEDS_GULLET = 501,
|
||||
COLLECTIBLE_LITTLE_HORN = 503,
|
||||
COLLECTIBLE_BROKEN_MODEM = 514,
|
||||
@@ -347,6 +356,7 @@ enum PlayerItemId : int
|
||||
COLLECTIBLE_SOL = 588,
|
||||
COLLECTIBLE_LUNA = 589,
|
||||
COLLECTIBLE_URANUS = 596,
|
||||
COLLECTIBLE_ACT_OF_CONTRITION = 601,
|
||||
COLLECTIBLE_MOMS_BRACELET = 604,
|
||||
COLLECTIBLE_ETERNAL_D6 = 609,
|
||||
COLLECTIBLE_LARYNX = 611,
|
||||
@@ -424,6 +434,7 @@ enum PlayerItemId : int
|
||||
TRINKET_SAFETY_CAP = 44,
|
||||
TRINKET_ACE_OF_SPADES = 45,
|
||||
TRINKET_POKER_CHIP = 76,
|
||||
TRINKET_SECOND_HAND = 78,
|
||||
TRINKET_MOMS_LOCKET = 87,
|
||||
TRINKET_CURSED_SKULL = 43,
|
||||
TRINKET_MISSING_PAGE = 48,
|
||||
@@ -475,6 +486,7 @@ enum PlayerItemId : int
|
||||
TRINKET_MODELING_CLAY = 166,
|
||||
TRINKET_HOLLOW_HEART = 168,
|
||||
TRINKET_YOUR_SOUL = 173,
|
||||
TRINKET_NUMBER_MAGNET = 174,
|
||||
TRINKET_STRANGE_KEY = 175,
|
||||
TRINKET_RC_REMOTE = 179,
|
||||
TRINKET_FOUND_SOUL = 180,
|
||||
@@ -484,6 +496,7 @@ enum PlayerItemId : int
|
||||
NULLITEM_BLINDFOLD = 14,
|
||||
NULLITEM_BLANKFACE = 15,
|
||||
NULLITEM_CHRISTMAS = 16,
|
||||
NULLITEM_LAZARUS_BOOST = 49,
|
||||
NULLITEM_SPIN_TO_WIN = 50,
|
||||
NULLITEM_INTRUDER = 55,
|
||||
NULLITEM_TOOTH_AND_NAIL_STATUE = 59,
|
||||
@@ -504,6 +517,8 @@ enum PlayerItemId : int
|
||||
NULLITEM_SOUL_JACOB = 121,
|
||||
NULLITEM_JUDAS_BIRTHRIGHT_STAGE = 129,
|
||||
|
||||
PILLEFFECT_FULL_HEALTH = 5,
|
||||
PILLEFFECT_HEALTH_UP = 7,
|
||||
PILLEFFECT_TELEPILLS = 19
|
||||
};
|
||||
|
||||
@@ -524,6 +539,7 @@ enum PlayerAchievement : int
|
||||
ACHIEVEMENT_MAGDALENE_HOLDS_A_PILL = 332,
|
||||
ACHIEVEMENT_SAMSON_HOLDS_CHILDS_HEART = 334,
|
||||
ACHIEVEMENT_TEARS_UP_ITEMS = 378,
|
||||
ACHIEVEMENT_MYSTERY_EGG = 387,
|
||||
ACHIEVEMENT_GOLDEN_RAZOR = 583
|
||||
};
|
||||
|
||||
@@ -534,6 +550,8 @@ enum PlayerChallenge : int
|
||||
CHALLENGE_GUARDIAN = 30,
|
||||
CHALLENGE_PONG = 30,
|
||||
CHALLENGE_BACKASSWARDS = 31,
|
||||
CHALLENGE_APRILS_FOOL = 32,
|
||||
CHALLENGE_ULTRA_HARD = 34,
|
||||
CHALLENGE_BLOODY_MARY = 37,
|
||||
CHALLENGE_BAPTISM_BY_FIRE = 38,
|
||||
CHALLENGE_PICA_RUN = 41,
|
||||
@@ -609,6 +627,13 @@ struct CostumeSpriteDesc
|
||||
bool isOverwriteColor = false;
|
||||
};
|
||||
|
||||
// The skin colors the worn costumes leave the player's head and body.
|
||||
struct SkinColors
|
||||
{
|
||||
int body = -1;
|
||||
int head = -1;
|
||||
};
|
||||
|
||||
// The copies of a trinket smelted into the player, plain and golden.
|
||||
struct SmeltedTrinket
|
||||
{
|
||||
@@ -1098,6 +1123,10 @@ public:
|
||||
static PosVel GetMultiShotPositionVelocity(int loopIndex, WeaponType weaponType, const Vector& shotDirection,
|
||||
float shotSpeed, const Weapon_MultiShotParams& params);
|
||||
Vector GetTearMovementInheritance(const Vector& shotDirection, InheritMode mode);
|
||||
Vector GetCostumeNullPos(std::string_view nullName, bool isHeadScale, const Vector& direction);
|
||||
Vector GetLaserOffset(int laserOffsetId, const Vector& direction);
|
||||
Entity_Laser* FireTechLaser(const TechLaserShot& shot);
|
||||
Entity_Laser* FireBrimstone(const Vector& direction, Entity* source, float damageMultiplier);
|
||||
Vector delayed_shoot_direction();
|
||||
|
||||
void ClearReferences() override;
|
||||
@@ -1120,8 +1149,13 @@ public:
|
||||
void costume_layers_update();
|
||||
float body_costumes_walk(const CostumeWalk& walk);
|
||||
void body_costumes_speed_set(float speed);
|
||||
void costume_layers_map(int skinColor);
|
||||
void costume_layers_map(SkinColors& colors);
|
||||
void costume_skin_apply(CostumeSpriteDesc& costume, int skinColor);
|
||||
void skin_recolor(const SkinColors& colors);
|
||||
void eden_hair_apply(ANM2& hair);
|
||||
void coop_indicator_render();
|
||||
void collectible_revive(int collectible, bool isOwner);
|
||||
void forgotten_halves_hearts_move();
|
||||
int AddActiveCharge(int charge, int slot, bool isFlashHud, bool isOvercharge, bool isForce);
|
||||
void RemoveCollectible(int type, bool isIgnoreModifiers, int activeSlot, bool isRemoveFromForm);
|
||||
Entity_Familiar* AddWisp(int collectible, Vector position, bool isAdjustOrbitLayer, bool isDontUpdate);
|
||||
@@ -1137,6 +1171,8 @@ private:
|
||||
void sprites_load();
|
||||
void links_reset();
|
||||
void eden_stats_roll(RNG& rng);
|
||||
void eden_items_roll(RNG& rng);
|
||||
void magdalene_pill_add();
|
||||
std::optional<bool> collectible_lent(int collectibleType, ItemConfig_Item& item);
|
||||
std::optional<int> trinket_lent(uint32_t id, int multiplier);
|
||||
int trinket_bonus(uint32_t id, int multiplier);
|
||||
@@ -1197,7 +1233,7 @@ public:
|
||||
Entity_Familiar* AddItemWisp(int collectibleId, Vector position, bool isAdjustOrbitLayer);
|
||||
void trigger_book_of_belial_passive(int activeId, int charges);
|
||||
void TriggerBookOfVirtues(int collectibleId, int charge);
|
||||
void console_spawn(int* spawnSpec, bool isAddWisp);
|
||||
void console_spawn(const DeliriousBoss& boss, bool isAddWisp);
|
||||
void update_mini_mush_costume();
|
||||
void ResetDamageCooldown();
|
||||
Vector SpriteScale();
|
||||
@@ -1318,6 +1354,7 @@ public:
|
||||
void AnimatePitfallOut();
|
||||
void AnimateAppear();
|
||||
void AnimateTeleport(bool isUp);
|
||||
void Teleport(const Vector& position, bool isDoEffects, bool isTeleportTwinPlayers);
|
||||
void AnimateHappy();
|
||||
void AnimateSad();
|
||||
void AddPrettyFly();
|
||||
|
||||
Reference in new issue
Block a user