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:
shweet committed 2026-11-20 14:25:15 -05:00
1 parent 698eeb74e9
commit f8ce24fc6c
146 files changed
+16389 -3104

No files matched your search

+2 -5
View File
@@ -1,5 +1,6 @@
#include "grid_entity_trap_door.h"
#include "entity_effect.h"
#include "entity_familiar.h"
#include "entity_list.h"
#include "entity_player.h"
#include "game.h"
@@ -38,9 +39,6 @@ constexpr int STAGE_DEPTHS_II = 6;
constexpr int STAGE_CAVES_I = 3;
constexpr int STAGE_LAST_CHAPTER = 10;
constexpr int COLLECTIBLE_BROKEN_SHOVEL_1 = 550;
constexpr int COLLECTIBLE_KNIFE_PIECE_1 = 626;
constexpr int COLLECTIBLE_KNIFE_PIECE_2 = 627;
constexpr int GAME_STATE_BACKWARDS_PATH_INIT = 47;
// Mother's boss room in the special rooms.
@@ -54,7 +52,6 @@ constexpr float PLAYER_CLEARANCE = 50;
constexpr float REACH = 21;
constexpr float MOTHER_HOLE_REACH = 34;
constexpr float FORGOTTEN_BODY_RADIUS = 20;
constexpr int FAMILIAR_FORGOTTEN_BODY = 900;
constexpr int SOUND_SHOVEL_HOLE_OPEN = 917;
constexpr int SOUND_TRAP_DOOR_LEVEL = 1052;
@@ -166,7 +163,7 @@ static bool is_forgotten_body_on(const Vector& position)
float reach = FORGOTTEN_BODY_RADIUS + entity->size;
bool isNear = vector_length_squared(vector_sub(entity->pos, position)) < reach * reach;
if (isNear && !entity->HasEntityFlags(FLAG_NO_QUERY) && entity->type == ENTITY_FAMILIAR &&
entity->variant == FAMILIAR_FORGOTTEN_BODY)
entity->variant == Entity_Familiar::FORGOTTEN_BODY)
return true;
}
return false;