18 #ifndef HEADER_SUPERTUX_SUPERTUX_TITLE_SCREEN_HPP 19 #define HEADER_SUPERTUX_SUPERTUX_TITLE_SCREEN_HPP 21 #include "supertux/screen.hpp" 22 #include "video/surface_ptr.hpp" 38 virtual void setup()
override;
39 virtual void leave()
override;
49 std::unique_ptr<CodeController> m_controller;
50 std::unique_ptr<GameSession> m_titlesession;
51 std::string m_copyright_text;
52 std::string m_videosystem_name;
Definition: controller.hpp:56
Abstract base class for code the MainLoop runs exclusively and full-screen.
Definition: screen.hpp:29
virtual void draw(Compositor &compositor) override
gets called once per frame.
Definition: title_screen.cpp:109
Definition: compositor.hpp:29
Definition: savegame.hpp:66
virtual void update(float dt_sec, const Controller &controller) override
gets called for once (per logical) frame.
Definition: title_screen.cpp:133
This is a dummy controller that doesn't react to any user input but should be controlled by code...
Definition: codecontroller.hpp:24
Screen that displays the SuperTux logo, lets players start a new game, etc.
Definition: title_screen.hpp:32
virtual void setup() override
gets called before this screen gets activated (which is at least once before the first draw or update...
Definition: title_screen.cpp:87
virtual void leave() override
gets called when the current screen is temporarily suspended
Definition: title_screen.cpp:101
Screen that runs a Level, where Players run and jump through Sectors.
Definition: game_session.hpp:41