#include <TitleScene.h>
Inheritance diagram for UI::TitleScene:
Public Member Functions | |
TitleScene () | |
virtual | ~TitleScene () |
void | take_input (Engine::InputReport &report) |
Take input from an input device. | |
void | update_logic (unsigned int milliseconds_elapsed) |
Process any status changes that occur due to elapsed time. | |
void | draw () |
Draw the scene using OpenGL commands. | |
void | do_sound () |
Update the audio. | |
virtual void | attach_main_loop (MainLoop &main_loop) |
Attach a Main loop object. | |
Private Attributes | |
float | t |
Track::Texture | logo_texture |
float | fps |
Menu * | main_menu |
SubMenuItem | mi_single_player |
SubMenuItem | mi_multiplayer |
ReplayStartMenuItem | mi_replay |
MenuItem | mi_options |
MenuItem | mi_quit |
MenuItem | mi_sp_grand_prix |
MenuItem | mi_sp_time_trial |
MenuItem | mi_sp_practice |
GameStartMenuItem | mi_mp_c0 |
GameStartMenuItem | mi_mp_c1 |
GameStartMenuItem | mi_mp_c2 |
GameStartMenuItem | mi_mp_c3 |
GameStartMenuItem | mi_mp_c4 |
This is the first Engine::Scene to be created. It provides acess to the main menu.
Definition at line 32 of file TitleScene.h.
UI::TitleScene::TitleScene | ( | ) |
Definition at line 27 of file TitleScene.cpp.
UI::TitleScene::~TitleScene | ( | ) | [virtual] |
Definition at line 70 of file TitleScene.cpp.
void UI::TitleScene::attach_main_loop | ( | MainLoop & | main_loop | ) | [virtual] |
Attach a Main loop object.
If the scene wishes to end, it can notify the main loop obect by calling exit.
Reimplemented from Engine::Scene.
Definition at line 175 of file TitleScene.cpp.
void UI::TitleScene::do_sound | ( | ) | [virtual] |
void UI::TitleScene::draw | ( | ) | [virtual] |
Draw the scene using OpenGL commands.
Must go from any state to ready for a buffer swap.
Implements Engine::Scene.
Definition at line 90 of file TitleScene.cpp.
void UI::TitleScene::take_input | ( | Engine::InputReport & | report | ) | [virtual] |
Take input from an input device.
report | An input report, which may be freed immediately after the call returns. |
Implements Engine::Scene.
Definition at line 74 of file TitleScene.cpp.
void UI::TitleScene::update_logic | ( | unsigned int | milliseconds_elapsed | ) | [virtual] |
Process any status changes that occur due to elapsed time.
milliseconds_elapsed | time in milliseconds since last update_logic. |
Implements Engine::Scene.
Definition at line 80 of file TitleScene.cpp.
float UI::TitleScene::fps [private] |
Definition at line 45 of file TitleScene.h.
Track::Texture UI::TitleScene::logo_texture [private] |
Definition at line 44 of file TitleScene.h.
Menu* UI::TitleScene::main_menu [private] |
Definition at line 48 of file TitleScene.h.
GameStartMenuItem UI::TitleScene::mi_mp_c0 [private] |
Definition at line 60 of file TitleScene.h.
GameStartMenuItem UI::TitleScene::mi_mp_c1 [private] |
Definition at line 61 of file TitleScene.h.
GameStartMenuItem UI::TitleScene::mi_mp_c2 [private] |
Definition at line 62 of file TitleScene.h.
GameStartMenuItem UI::TitleScene::mi_mp_c3 [private] |
Definition at line 63 of file TitleScene.h.
GameStartMenuItem UI::TitleScene::mi_mp_c4 [private] |
Definition at line 64 of file TitleScene.h.
SubMenuItem UI::TitleScene::mi_multiplayer [private] |
Definition at line 51 of file TitleScene.h.
MenuItem UI::TitleScene::mi_options [private] |
Definition at line 53 of file TitleScene.h.
MenuItem UI::TitleScene::mi_quit [private] |
Definition at line 54 of file TitleScene.h.
ReplayStartMenuItem UI::TitleScene::mi_replay [private] |
Definition at line 52 of file TitleScene.h.
SubMenuItem UI::TitleScene::mi_single_player [private] |
Definition at line 50 of file TitleScene.h.
MenuItem UI::TitleScene::mi_sp_grand_prix [private] |
Definition at line 56 of file TitleScene.h.
MenuItem UI::TitleScene::mi_sp_practice [private] |
Definition at line 58 of file TitleScene.h.
MenuItem UI::TitleScene::mi_sp_time_trial [private] |
Definition at line 57 of file TitleScene.h.
float UI::TitleScene::t [private] |
Definition at line 43 of file TitleScene.h.
Generated at Mon Sep 6 00:41:19 2010 by Doxygen version 1.4.7 for Racer version svn335.