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:
1 parent
76c594f9a0
commit
e9de039d0f
151 files changed
+14996
-5208
No files matched your search
+50
-4
@@ -193,6 +193,19 @@ enum PlayerItemId : int
|
||||
COLLECTIBLE_COMPASS = 21,
|
||||
COLLECTIBLE_BREAKFAST = 25,
|
||||
COLLECTIBLE_BIBLE = 33,
|
||||
COLLECTIBLE_GIMPY = 225,
|
||||
COLLECTIBLE_INFESTATION_2 = 234,
|
||||
COLLECTIBLE_QUINTS = 661,
|
||||
COLLECTIBLE_BONE_SPURS = 683,
|
||||
COLLECTIBLE_HUNGRY_SOUL = 684,
|
||||
COLLECTIBLE_DOLLAR = 18,
|
||||
COLLECTIBLE_ROTTEN_MEAT = 26,
|
||||
COLLECTIBLE_BLOOD_BAG = 119,
|
||||
COLLECTIBLE_IV_BAG = 135,
|
||||
COLLECTIBLE_CRYSTAL_BALL = 158,
|
||||
COLLECTIBLE_PORTABLE_SLOT = 177,
|
||||
COLLECTIBLE_BUDDY_IN_A_BOX = 518,
|
||||
COLLECTIBLE_BATTERY_PACK = 603,
|
||||
COLLECTIBLE_BOOK_OF_BELIAL = 34,
|
||||
COLLECTIBLE_NECRONOMICON = 35,
|
||||
COLLECTIBLE_POOP = 36,
|
||||
@@ -236,6 +249,7 @@ enum PlayerItemId : int
|
||||
COLLECTIBLE_BOBS_CURSE = 140,
|
||||
COLLECTIBLE_NOTCHED_AXE = 147,
|
||||
COLLECTIBLE_IPECAC = 149,
|
||||
COLLECTIBLE_MULLIGAN = 151,
|
||||
COLLECTIBLE_MUTANT_SPIDER = 153,
|
||||
COLLECTIBLE_PEEPER = 155,
|
||||
COLLECTIBLE_BLOODY_LUST = 157,
|
||||
@@ -250,6 +264,7 @@ enum PlayerItemId : int
|
||||
COLLECTIBLE_GNAWED_LEAF = 210,
|
||||
COLLECTIBLE_BALL_OF_BANDAGES = 207,
|
||||
COLLECTIBLE_GUPPYS_COLLAR = 212,
|
||||
COLLECTIBLE_POLYPHEMUS = 169,
|
||||
COLLECTIBLE_ANEMIC = 214,
|
||||
COLLECTIBLE_ANTI_GRAVITY = 222,
|
||||
COLLECTIBLE_PYROMANIAC = 223,
|
||||
@@ -257,6 +272,7 @@ enum PlayerItemId : int
|
||||
COLLECTIBLE_MONSTROS_LUNG = 229,
|
||||
COLLECTIBLE_BALL_OF_TAR = 231,
|
||||
COLLECTIBLE_STOP_WATCH = 232,
|
||||
COLLECTIBLE_TINY_PLANET = 233,
|
||||
COLLECTIBLE_E_COLI = 236,
|
||||
COLLECTIBLE_KEY_PIECE_1 = 238,
|
||||
COLLECTIBLE_KEY_PIECE_2 = 239,
|
||||
@@ -312,6 +328,8 @@ enum PlayerItemId : int
|
||||
COLLECTIBLE_SERPENTS_KISS = 393,
|
||||
COLLECTIBLE_MARKED = 394,
|
||||
COLLECTIBLE_TECH_X = 395,
|
||||
COLLECTIBLE_TRACTOR_BEAM = 397,
|
||||
COLLECTIBLE_EVIL_EYE = 410,
|
||||
COLLECTIBLE_LUSTY_BLOOD = 411,
|
||||
COLLECTIBLE_CAMBION_CONCEPTION = 412,
|
||||
COLLECTIBLE_IMMACULATE_CONCEPTION = 413,
|
||||
@@ -361,6 +379,7 @@ enum PlayerItemId : int
|
||||
COLLECTIBLE_SOCKS = 571,
|
||||
COLLECTIBLE_EYE_OF_THE_OCCULT = 572,
|
||||
COLLECTIBLE_DIRTY_MIND = 576,
|
||||
COLLECTIBLE_DAMOCLES = 577,
|
||||
COLLECTIBLE_RED_KEY = 580,
|
||||
COLLECTIBLE_WAVY_CAP = 582,
|
||||
COLLECTIBLE_BOOK_OF_VIRTUES = 584,
|
||||
@@ -449,6 +468,14 @@ enum PlayerItemId : int
|
||||
TRINKET_SAFETY_CAP = 44,
|
||||
TRINKET_ACE_OF_SPADES = 45,
|
||||
TRINKET_POKER_CHIP = 76,
|
||||
TRINKET_CRICKET_LEG = 185,
|
||||
TRINKET_AAA_BATTERY = 3,
|
||||
TRINKET_FISH_HEAD = 29,
|
||||
TRINKET_BOBS_BLADDER = 71,
|
||||
TRINKET_KARMA = 85,
|
||||
TRINKET_PAY_TO_WIN = 112,
|
||||
TRINKET_ROTTEN_PENNY = 126,
|
||||
TRINKET_BETHS_ESSENCE = 182,
|
||||
TRINKET_SECOND_HAND = 78,
|
||||
TRINKET_MOMS_LOCKET = 87,
|
||||
TRINKET_CURSED_SKULL = 43,
|
||||
@@ -581,9 +608,8 @@ enum PlayerChallenge : int
|
||||
CHALLENGE_RED_REDEMPTION = 44
|
||||
};
|
||||
|
||||
// How far a held item's sprite rises over the head, and the Missing Pages form's index.
|
||||
// How far a held item's sprite rises over the head.
|
||||
constexpr float HELD_SPRITE_RISE = -4;
|
||||
constexpr int PLAYER_FORM_MISSING_PAGES = 15;
|
||||
|
||||
// One active item slot: the item, its charges and the data it keeps between uses.
|
||||
struct ActiveItemDesc
|
||||
@@ -687,6 +713,24 @@ struct History
|
||||
void remove_index_refs(int index);
|
||||
};
|
||||
|
||||
// A familiar as it follows its player into a saved run or through Curse of the Mist (FamiliarData).
|
||||
struct FamiliarData
|
||||
{
|
||||
Vector formationTargetOffset{};
|
||||
float health = 0;
|
||||
int coins = 0;
|
||||
int hearts = 0;
|
||||
int keys = 0;
|
||||
int roomClearCount = 0;
|
||||
int state = 0;
|
||||
int subtype = 0;
|
||||
int variant = 0;
|
||||
uint32_t dropSeed = 0;
|
||||
uint32_t initSeed = 0;
|
||||
bool isNotCountedAsFollower = false;
|
||||
bool isSubtype55555 = false;
|
||||
};
|
||||
|
||||
// Coins, keys, bombs and charges, as Curse of the Mist keeps them aside.
|
||||
struct ConsumableData
|
||||
{
|
||||
@@ -943,7 +987,7 @@ public:
|
||||
std::shared_ptr<PlayerHUD> playerHUD;
|
||||
std::vector<Entity*> contactHitList;
|
||||
std::vector<Entity*> darkArtsHitList;
|
||||
std::vector<Entity_Familiar*> curseMistFamiliars;
|
||||
std::vector<FamiliarData> curseMistFamiliars;
|
||||
std::vector<int> pendingWisps;
|
||||
std::deque<int> echoChamberItems;
|
||||
EntityDesc friendBallEnemy;
|
||||
@@ -1284,7 +1328,7 @@ public:
|
||||
void AddJarHearts(int amount);
|
||||
void AddGoldenKey();
|
||||
void RemoveGoldenKey();
|
||||
void restore_curse_mist_backup(int* backup);
|
||||
void restore_curse_mist_backup(const ConsumableData& backup);
|
||||
Entity* AddBlueFlies(int amount, Vector pos, Entity* target);
|
||||
void RemoveBlueFly();
|
||||
void AddLeprosy();
|
||||
@@ -1497,6 +1541,8 @@ public:
|
||||
bool try_end_astral_projection();
|
||||
void fire_saturnus_tears();
|
||||
int GetMaxInventorySize();
|
||||
Entity_Pickup* DropCollectible(int collectible, Entity_Pickup* existing, bool isRemoveFromForm);
|
||||
Entity_Pickup* DropCollectibleByHistoryIndex(int index, Entity_Pickup* existing);
|
||||
bool CanAddCollectibleToInventory(int id);
|
||||
void SetPocketActiveItem(int collectible, int slot, bool keepInPools);
|
||||
void get_salvation_scale();
|
||||
|
||||
Reference in new issue
Block a user