About screen: version and build of this copy, the game's licence status and the third-party software with its licence texts. Opened from the main menu or the command palette.
More...
#include <about_scene.h>
|
| | AboutScene (GUIView *guiView_ptr, bool inCareer) |
| |
| void | onEnter () override |
| | Called when the scene is entered/becomes active.
|
| |
| void | update (float) override |
| | Updates scene logic.
|
| |
| void | render () override |
| | Renders the scene.
|
| |
| SceneID | getID () const override |
| | Gets the ID of the scene.
|
| |
| | GUIScene (GUIView *guiView_ptr) |
| | Constructs a new GUIScene.
|
| |
| virtual | ~GUIScene ()=default |
| | Destroys the GUIScene.
|
| |
| virtual void | handleEvent (const SDL_Event &event) |
| | Handles SDL events for the scene.
|
| |
| virtual void | onExit () |
| | Called when the scene is exited/becomes inactive.
|
| |
| virtual void | onResume () |
| | Called when an overlay above this scene closes and it becomes the active scene again. Screens use it to refresh cached view models after a match, a transfer or any other state change made elsewhere.
|
| |
| virtual void | onResize (int width, int height) |
| | Called when the window is resized.
|
| |
| virtual std::optional< NavEntry > | historyEntry () const |
| | How to open this screen again from the navigation history, or nothing for scenes outside it (menus, team selection, the live match).
|
| |
About screen: version and build of this copy, the game's licence status and the third-party software with its licence texts. Opened from the main menu or the command palette.
◆ AboutScene()
| AboutScene::AboutScene |
( |
GUIView * |
guiView_ptr, |
|
|
bool |
inCareer |
|
) |
| |
- Parameters
-
| inCareer | Leaving pops back to the career (else the main menu). |
◆ getID()
| SceneID AboutScene::getID |
( |
| ) |
const |
|
inlineoverridevirtual |
Gets the ID of the scene.
- Returns
- The SceneID of this scene.
GUIView uses this identifier to apply match-specific event and scene behavior.
Implements GUIScene.
◆ leave()
| void AboutScene::leave |
( |
| ) |
|
|
private |
◆ onEnter()
| void AboutScene::onEnter |
( |
| ) |
|
|
overridevirtual |
Called when the scene is entered/becomes active.
Reimplemented from GUIScene.
◆ render()
| void AboutScene::render |
( |
| ) |
|
|
overridevirtual |
◆ renderBuild()
| void AboutScene::renderBuild |
( |
| ) |
|
|
private |
◆ renderThirdParty()
| void AboutScene::renderThirdParty |
( |
| ) |
|
|
private |
◆ update()
| void AboutScene::update |
( |
float |
deltaTime | ) |
|
|
inlineoverridevirtual |
Updates scene logic.
- Parameters
-
| deltaTime | The time elapsed since the last update. |
Implements GUIScene.
◆ build_line
| std::string AboutScene::build_line |
|
private |
◆ in_career
| bool AboutScene::in_career = false |
|
private |
◆ licence_texts
| std::vector<std::string> AboutScene::licence_texts |
|
private |
Licence texts, one per component (empty when the file is missing).
◆ version_line
| std::string AboutScene::version_line |
|
private |
The documentation for this class was generated from the following files: