The regional splash screens, drawn with converted models or the Japanese title image.
More...
#include <intro.h>
|
| | ~Intro () |
| | Release splash-screen resources before their renderer is destroyed.
|
| | Intro (const Intro &)=delete |
| | Prevent copying renderer-bound splash-screen resources.
|
| Intro & | operator= (const Intro &)=delete |
| | Prevent assignment of renderer-bound splash-screen resources.
|
| void | Restart () |
| | Start the splash screens again from the first logo, fading in.
|
| IntroEnd | Update (float seconds, const IntroButtons &buttons) |
| | Advance the splash screens by a frame.
|
| void | Draw (SceneRenderer &renderer) const |
| | Draw the frame.
|
| void | DrawProgress (SceneRenderer &renderer, float width, float height) const |
| | Draw pack-sequence progress after screen filters, or omit it for regional splash screens.
|
| bool | ShowsProgress () const |
| bool | PlayingVideo () const |
The regional splash screens, drawn with converted models or the Japanese title image.
◆ ~Intro()
| coastline::Intro::~Intro |
( |
| ) |
|
Release splash-screen resources before their renderer is destroyed.
◆ Intro()
| coastline::Intro::Intro |
( |
const Intro & | | ) |
|
|
delete |
Prevent copying renderer-bound splash-screen resources.
◆ Load()
Read the models, the lights, the fonts, and the sounds of the splash screens.
- Parameters
-
| renderer | The renderer that draws them. |
| release | The selected cartridge directory, n64/base of the prepared assets. |
| region | The chosen title region, or empty to read converted metadata. |
| assets | The prepared asset root for pack-defined sequences, or empty. |
| settings | The merged asset-pack settings, or an empty object. |
- Returns
- The splash screens, or nothing with the reason logged.
◆ operator=()
| Intro & coastline::Intro::operator= |
( |
const Intro & | | ) |
|
|
delete |
Prevent assignment of renderer-bound splash-screen resources.
◆ Restart()
| void coastline::Intro::Restart |
( |
| ) |
|
Start the splash screens again from the first logo, fading in.
◆ Update()
Advance the splash screens by a frame.
- Parameters
-
| seconds | The nonnegative elapsed frame time, in seconds. |
| buttons | The buttons held on the first controller. |
- Returns
- Where the splash screens go, once they have faded out.
◆ Draw()
Draw the frame.
- Parameters
-
| renderer | The renderer of the frame, between Begin() and End(). |
◆ DrawProgress()
| void coastline::Intro::DrawProgress |
( |
SceneRenderer & | renderer, |
|
|
float | width, |
|
|
float | height ) const |
Draw pack-sequence progress after screen filters, or omit it for regional splash screens.
- Parameters
-
| renderer | The overlay renderer, between Begin() and RenderInto(). |
| width | Output width in pixels. |
| height | Output height in pixels. |
◆ ShowsProgress()
| bool coastline::Intro::ShowsProgress |
( |
| ) |
const |
- Returns
- Whether the current pack-sequence entry displays progress.
◆ PlayingVideo()
| bool coastline::Intro::PlayingVideo |
( |
| ) |
const |
- Returns
- Whether a pack movie currently replaces menu music.
The documentation for this class was generated from the following file: