storyboard::UI now adapts the camera to fit the story beats, but really story should do that.

This commit is contained in:
Zed A. Shaw 2026-02-22 12:14:42 -05:00
parent d56b4bd335
commit 024d0cfae7
9 changed files with 123 additions and 19 deletions

View file

@ -13,7 +13,7 @@ namespace cinematic {
sf::FloatRect camera_bounds{{0,0},{SCREEN_WIDTH, SCREEN_HEIGHT}};
sf::View view;
Camera(sf::Vector2f base_size);
Camera(sf::Vector2f size, const std::string &name);
void resize(float width);
void scale(float ratio);