Curation round 17: Theora and Vorbis cutscene videos, Ludovico, Epic and Dr. Fetus, Tractor Beam and Eye of the Occult, familiars and blue spiders, fortune teller and restock, the Bag of Crafting and four tainted characters, ten enemies, water and the ultra secret door, Isaac, ???, the Lamb and Hush
This commit is contained in:
1 parent
e9de039d0f
commit
024cb12016
133 files changed
+13325
-2520
No files matched your search
@@ -13,6 +13,7 @@
|
||||
#include "game.h"
|
||||
#include "lua_engine.h"
|
||||
#include "manager.h"
|
||||
#include "entity_player_characters.h"
|
||||
#include "npc_ai.h"
|
||||
#include "platform.h"
|
||||
#include "room.h"
|
||||
@@ -66,11 +67,9 @@ constexpr int NULLITEM_TOOTH_AND_NAIL = 59;
|
||||
constexpr int PLAYER_FORM_COUNT_NEEDED = 3;
|
||||
constexpr int BABY_CROW = 12;
|
||||
constexpr int BLUE_FLY_MAX = 30;
|
||||
constexpr int MAGGY_SWING_READY = 3;
|
||||
|
||||
// The effects the combat code spawns (Lua's EffectVariant).
|
||||
constexpr int EFFECT_BISHOP_SHIELD = 160;
|
||||
constexpr int EFFECT_CHAIN_GIB = 163;
|
||||
constexpr int ROCK_PARTICLE_SUBTYPE = 0x10001;
|
||||
|
||||
// An iced enemy shatters into 3 to 6 shards at 3 to 5, a frozen one into its gibs and up to 2 more as rocks at 5, both
|
||||
@@ -86,7 +85,6 @@ constexpr float FROZEN_SHARD_SPEED = 5;
|
||||
|
||||
// The sounds the combat code plays (Lua's SoundEffect).
|
||||
constexpr int SOUND_DEATH_BURST_BONE = 27;
|
||||
constexpr int SOUND_DEATH_BURST_SMALL = 30;
|
||||
constexpr int SOUND_ROCKET_BLAST_DEATH = 141;
|
||||
constexpr int SOUND_GOODEATH = 207;
|
||||
constexpr int SOUND_BONE_BREAK = 500;
|
||||
@@ -1082,8 +1080,8 @@ static float player_contact_damage(Entity_Player& player, Entity& collider, bool
|
||||
return damage;
|
||||
}
|
||||
|
||||
// Part of 0078e1f0: the player's ways of touching that are not written yet: shoving an iced enemy, Tainted
|
||||
// Magdalene's swing, Mega Mush's stomp, Tainted Soul grabbing her body and the suplex grab.
|
||||
// Part of 0078e1f0: the player's ways of touching, Tainted Magdalene's hug, and those not written yet: shoving an iced
|
||||
// enemy, Mega Mush's stomp, Tainted Soul grabbing her body and the suplex grab.
|
||||
static void player_contact_missing_check(Entity_Player& player, Entity& collider)
|
||||
{
|
||||
bool isEnemyLike = Entity::is_enemy_type(collider.type) ||
|
||||
@@ -1091,9 +1089,7 @@ static void player_contact_missing_check(Entity_Player& player, Entity& collider
|
||||
bool isShoved = isEnemyLike && collider.HasEntityFlags(FLAG_ICE_FROZEN) && !collider.HasEntityFlags(FLAG_KNOCKED_BACK) &&
|
||||
vector_length_squared(player.velocity) > ICE_KNOCKBACK_SPEED_SQUARED;
|
||||
if (isShoved) reconstruction_missing("Entity_Player::HandleCollision 0078e1f0: shoving an iced enemy (AddKnockback)");
|
||||
if (player.playerType == PLAYER_MAGDALENE_B && collider.IsVulnerableEnemy(nullptr) &&
|
||||
player.maggySwingCooldown < MAGGY_SWING_READY && !collider.IsFriendly())
|
||||
reconstruction_missing("Entity_Player::HandleCollision 0078e1f0: Tainted Magdalene's swing");
|
||||
tainted_magdalene_hug(player, collider);
|
||||
if (player.temporaryEffects.HasCollectibleEffect(COLLECTIBLE_MEGA_MUSH))
|
||||
reconstruction_missing("Entity_Player::HandleCollision 0078e1f0: Mega Mush's stomp");
|
||||
if (player.playerType == PLAYER_THESOUL_B && collider.type == ENTITY_PLAYER &&
|
||||
|
||||
Reference in new issue
Block a user