New bossfight layout with fake 'paper cutouts' to work out how the UI would work.

This commit is contained in:
Zed A. Shaw 2025-09-24 01:29:36 -04:00
parent a4fdfb779f
commit d398b042a7
13 changed files with 79 additions and 20 deletions

View file

@ -78,7 +78,7 @@ namespace components {
struct BossFight {
std::string background;
std::optional<std::string> stage;
std::optional<std::string> floor;
std::string weapon_sound;
};
@ -147,7 +147,7 @@ namespace components {
using ComponentMap = std::unordered_map<std::string, ReflFuncSignature>;
ENROLL_COMPONENT(Tile, display, foreground, background);
ENROLL_COMPONENT(BossFight, background, stage, weapon_sound);
ENROLL_COMPONENT(BossFight, background, floor, weapon_sound);
ENROLL_COMPONENT(Sprite, name, width, height, scale);
ENROLL_COMPONENT(Curative, hp);
ENROLL_COMPONENT(LightSource, strength, radius);