Buttons on screens work and most screens now have a continue/quit button.

This commit is contained in:
Zed A. Shaw 2026-04-02 14:14:54 -04:00
parent 532366091b
commit 17f05e7093
9 changed files with 165 additions and 17 deletions

View file

@ -94,6 +94,7 @@ namespace components {
std::vector<std::string> layout;
json actors;
json fixtures;
json buttons;
};
struct Storyboard {
@ -168,7 +169,7 @@ namespace components {
using ComponentMap = std::unordered_map<std::string, ReflFuncSignature>;
ENROLL_COMPONENT(Tile, display, foreground, background);
ENROLL_COMPONENT(AnimatedScene, background, layout, actors, fixtures);
ENROLL_COMPONENT(AnimatedScene, background, layout, actors, fixtures, buttons);
ENROLL_COMPONENT(Sprite, name, scale);
ENROLL_COMPONENT(Curative, hp);
ENROLL_COMPONENT(LightSource, strength, radius);