Curation round 12: basement enemies, projectiles, tear flags, lighting and blend modes, actives, boss deaths, familiars, shops and secret rooms
This commit is contained in:
1 parent
698eeb74e9
commit
f8ce24fc6c
146 files changed
+16389
-3104
No files matched your search
@@ -13,63 +13,31 @@
|
||||
#include <string_view>
|
||||
#include <vector>
|
||||
|
||||
constexpr int COLLECTIBLE_1UP = 11;
|
||||
constexpr int COLLECTIBLE_POOP = 36;
|
||||
constexpr int COLLECTIBLE_YUM_HEART = 45;
|
||||
constexpr int COLLECTIBLE_SHOOP_DA_WHOOP = 49;
|
||||
constexpr int COLLECTIBLE_CHARM_VAMPIRE = 62;
|
||||
constexpr int COLLECTIBLE_BATTERY = 63;
|
||||
constexpr int COLLECTIBLE_DEAD_CAT = 81;
|
||||
constexpr int COLLECTIBLE_THE_NAIL = 83;
|
||||
constexpr int COLLECTIBLE_PEEPER = 155;
|
||||
constexpr int COLLECTIBLE_ANKH = 161;
|
||||
constexpr int COLLECTIBLE_GUPPYS_COLLAR = 212;
|
||||
constexpr int COLLECTIBLE_STARTER_DECK = 251;
|
||||
constexpr int COLLECTIBLE_LITTLE_BAGGY = 252;
|
||||
constexpr int COLLECTIBLE_JUDAS_SHADOW = 311;
|
||||
constexpr int COLLECTIBLE_LAZARUS_RAGS = 332;
|
||||
constexpr int COLLECTIBLE_POLYDACTYLY = 454;
|
||||
constexpr int COLLECTIBLE_WAVY_CAP = 582;
|
||||
constexpr int COLLECTIBLE_MOMS_BRACELET = 604;
|
||||
constexpr int COLLECTIBLE_VADE_RETRO = 653;
|
||||
constexpr int COLLECTIBLE_INNER_CHILD = 688;
|
||||
constexpr int TRINKET_AAA_BATTERY = 3;
|
||||
constexpr int TRINKET_BROKEN_ANKH = 28;
|
||||
constexpr int TRINKET_FISH_TAIL = 94;
|
||||
constexpr int TRINKET_LOCUST_OF_WRATH = 113;
|
||||
constexpr int TRINKET_LOCUST_OF_CONQUEST = 117;
|
||||
constexpr int TRINKET_BAT_WING = 118;
|
||||
constexpr int TRINKET_AZAZELS_STUMP = 162;
|
||||
constexpr int NULLITEM_BATWING_WINGS = 40;
|
||||
constexpr int NULLITEM_WAVY_CAP_1 = 71;
|
||||
constexpr int NULLITEM_BLOODY_BABYLON = 110;
|
||||
constexpr int NULLITEM_LAZARUS_SOUL_REVIVE = 113;
|
||||
constexpr int CARD_SOUL_LAZARUS = 89;
|
||||
constexpr int ACHIEVEMENT_THE_LOST = 82;
|
||||
constexpr int BABY_FOUND_SOUL = 59;
|
||||
constexpr int FAMILIAR_BLUE_FLY = 43;
|
||||
constexpr int FAMILIAR_BLOOD_BABY = 238;
|
||||
constexpr int CLOT_SUBTYPE_UNCOUNTED = 7;
|
||||
constexpr int SPECIAL_DAILY_SHUFFLED_ITEMS = 7;
|
||||
constexpr uint32_t QUEUED_TOUCHED = 0x1;
|
||||
|
||||
constexpr int SOUND_BLOOD_LASER = 5;
|
||||
constexpr int SOUND_BLOOD_LASER_LARGE = 7;
|
||||
constexpr int SOUND_FART = 37;
|
||||
constexpr int SOUND_ISAAC_HURT_GRUNT = 55;
|
||||
constexpr int SOUND_MONSTER_YELL_A = 119;
|
||||
constexpr int SOUND_POWERUP_SPEWER = 132;
|
||||
constexpr int SOUND_REDLIGHTNING_ZAP = 133;
|
||||
constexpr int SOUND_TEARIMPACTS = 150;
|
||||
constexpr int SOUND_VAMP_GULP = 157;
|
||||
constexpr int SOUND_BATTERYCHARGE = 170;
|
||||
constexpr int SOUND_BEEP = 171;
|
||||
constexpr int SOUND_ISAACDIES = 217;
|
||||
constexpr int SOUND_ITEMRECHARGE = 218;
|
||||
constexpr int SOUND_PLOP = 237;
|
||||
constexpr int SOUND_SPLATTER = 258;
|
||||
constexpr int SOUND_THUMBS_DOWN = 267;
|
||||
constexpr int SOUND_THUMBSUP = 268;
|
||||
|
||||
constexpr float DEATH_FRICTION = 0.6f;
|
||||
constexpr int DEATH_FRAME_TWIN_FALLS = 7;
|
||||
@@ -345,7 +313,7 @@ void Entity_Player::room_exit(bool isKeepHolyMantle)
|
||||
auto isClot = [this](Entity* entity)
|
||||
{
|
||||
bool isOwned = entity && entity->IsFamiliar() && static_cast<Entity_Familiar*>(entity)->player == this;
|
||||
return isOwned && entity->variant == FAMILIAR_BLOOD_BABY && entity->subtype != CLOT_SUBTYPE_UNCOUNTED &&
|
||||
return isOwned && entity->variant == Entity_Familiar::BLOOD_BABY && entity->subtype != CLOT_SUBTYPE_UNCOUNTED &&
|
||||
!entity->isDead;
|
||||
};
|
||||
EntityList_EL& persistent = game.room->entityList.persistentEL;
|
||||
@@ -478,7 +446,7 @@ void Entity_Player::preload_item_sounds()
|
||||
SFXManager& sfx = g_manager->sfxManager;
|
||||
|
||||
if (weaponTypes[WEAPON_TEARS])
|
||||
for (int sound : {SOUND_SPLATTER, SOUND_TEARIMPACTS}) sfx.Preload(sound);
|
||||
for (int sound : {SOUND_SPLATTER, SOUND_TEAR_IMPACTS}) sfx.Preload(sound);
|
||||
if (weaponTypes[WEAPON_LASER]) sfx.Preload(SOUND_REDLIGHTNING_ZAP);
|
||||
if (weaponTypes[WEAPON_BRIMSTONE]) sfx.Preload(SOUND_BLOOD_LASER_LARGE);
|
||||
if (HasCollectible(COLLECTIBLE_PEEPER)) sfx.Preload(SOUND_PLOP);
|
||||
@@ -486,7 +454,8 @@ void Entity_Player::preload_item_sounds()
|
||||
if (HasCollectible(COLLECTIBLE_SHOOP_DA_WHOOP)) sfx.Preload(SOUND_BLOOD_LASER);
|
||||
if (activeItems[0].item != 0)
|
||||
{
|
||||
for (int sound : {SOUND_BEEP, SOUND_ITEMRECHARGE}) sfx.Preload(sound);
|
||||
sfx.Preload(SOUND_BEEP);
|
||||
sfx.Preload(SOUND_ITEMRECHARGE);
|
||||
if (HasCollectible(COLLECTIBLE_BATTERY) || HasTrinket(TRINKET_AAA_BATTERY)) sfx.Preload(SOUND_BATTERYCHARGE);
|
||||
}
|
||||
if (HasCollectible(COLLECTIBLE_POOP)) sfx.Preload(SOUND_FART);
|
||||
@@ -527,7 +496,7 @@ void Entity_Player::spawn_locusts()
|
||||
for (int i = 0; i < count; i++)
|
||||
{
|
||||
EntitySpawn spawn = {.position = pos, .spawner = this, .subType = subType, .type = ENTITY_FAMILIAR,
|
||||
.variant = FAMILIAR_BLUE_FLY, .seed = Random()};
|
||||
.variant = Entity_Familiar::BLUE_FLY, .seed = Random()};
|
||||
Entity* locust = g_game->Spawn(spawn);
|
||||
locust->ClearEntityFlags(FLAG_APPEAR);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user