14#include <nlohmann/json.hpp>
53 const nlohmann::json &settings = nlohmann::json::object());
Attract-demo rotation for one front end.
Definition racedemo.h:29
void Restart()
Start the splash screens again from the first logo, fading in.
bool ShowsProgress() const
void DrawProgress(SceneRenderer &renderer, float width, float height) const
Draw pack-sequence progress after screen filters, or omit it for regional splash screens.
Intro(const Intro &)=delete
Prevent copying renderer-bound splash-screen resources.
void Draw(SceneRenderer &renderer) const
Draw the frame.
static std::unique_ptr< Intro > Load(SceneRenderer &renderer, const std::filesystem::path &release, std::string_view region={}, const std::filesystem::path &assets={}, const nlohmann::json &settings=nlohmann::json::object())
Read the models, the lights, the fonts, and the sounds of the splash screens.
Intro & operator=(const Intro &)=delete
Prevent assignment of renderer-bound splash-screen resources.
bool PlayingVideo() const
~Intro()
Release splash-screen resources before their renderer is destroyed.
IntroEnd Update(float seconds, const IntroButtons &buttons)
Advance the splash screens by a frame.
The renderer of a frame.
Definition scenerenderer.h:467
Definition assetimport.h:11
@ Running
Definition setupwizard.h:179
IntroEnd
Where the splash screens go once they fade out.
Definition intro.h:30
@ MainMenu
Definition intro.h:32