xoreos
0.0.5
|
#include <game.h>
Public Member Functions | |
Game (SonicEngine &engine, ::Engines::Console &console) | |
~Game () | |
Module & | getModule () |
Return the module context. More... | |
void | run () |
Private Member Functions | |
bool | waitClick () |
bool | showLicenseSplash () |
bool | showTitle () |
bool | showMainMenu () |
bool | showQuote () |
bool | showChapter1 () |
void | runModule () |
Private Attributes | |
SonicEngine * | _engine |
Common::ScopedPtr< Module > | _module |
::Engines::Console * | _console |
Graphics::Aurora::FontHandle | _guiFont |
Graphics::Aurora::FontHandle | _quoteFont |
Engines::Sonic::Game::Game | ( | SonicEngine & | engine, |
::Engines::Console & | console | ||
) |
Definition at line 48 of file game.cpp.
References _engine, _guiFont, _quoteFont, Engines::Sonic::SonicEngine::getLanguage(), Aurora::kLanguageInvalid, Aurora::kLanguageJapanese, and Engines::Sonic::loadFont().
Module & Engines::Sonic::Game::getModule | ( | ) |
Return the module context.
Definition at line 65 of file game.cpp.
References _module.
Referenced by Engines::Sonic::Console::cmdGotoArea().
void Engines::Sonic::Game::run | ( | ) |
Definition at line 71 of file game.cpp.
References _console, _module, runModule(), showChapter1(), showLicenseSplash(), showMainMenu(), showQuote(), and showTitle().
|
private |
|
private |
Definition at line 224 of file game.cpp.
References GfxMan, Graphics::Renderable::hide(), Engines::Sonic::kBottomScreenX, Engines::Sonic::kBottomScreenY, Engines::Sonic::kScreenHeight, Engines::Sonic::kScreenWidth, Engines::Sonic::kTopScreenX, Engines::Sonic::kTopScreenY, Graphics::Aurora::GUIQuad::setPosition(), Graphics::Renderable::show(), and waitClick().
Referenced by run().
|
private |
Definition at line 108 of file game.cpp.
References GfxMan, Graphics::Renderable::hide(), Engines::Sonic::kBottomScreenX, Engines::Sonic::kBottomScreenY, Engines::Sonic::kScreenHeight, Engines::Sonic::kScreenWidth, Engines::Sonic::kTopScreenX, Engines::Sonic::kTopScreenY, Graphics::Aurora::GUIQuad::setPosition(), Graphics::Renderable::show(), and waitClick().
Referenced by run().
|
private |
Definition at line 151 of file game.cpp.
References _guiFont, GfxMan, Graphics::Renderable::hide(), Engines::Sonic::kBottomScreenX, Engines::Sonic::kBottomScreenY, Graphics::Aurora::kHAlignCenter, Engines::Sonic::kScreenHeight, Engines::Sonic::kScreenWidth, Engines::Sonic::kTopScreenX, Engines::Sonic::kTopScreenY, Graphics::Aurora::kVAlignBottom, Graphics::Aurora::kVAlignMiddle, Engines::Sonic::loadNCGR(), Graphics::Aurora::GUIQuad::setPosition(), Graphics::Aurora::Text::setPosition(), Graphics::Renderable::show(), TalkMan, and waitClick().
Referenced by run().
|
private |
Definition at line 199 of file game.cpp.
References _engine, _quoteFont, Engines::Sonic::SonicEngine::getLanguage(), GfxMan, Graphics::Renderable::hide(), Graphics::Aurora::kHAlignCenter, Graphics::Aurora::kHAlignLeft, Aurora::kLanguageInvalid, Aurora::kLanguageJapanese, Engines::Sonic::kScreenHeight, Engines::Sonic::kScreenWidth, Engines::Sonic::kTopScreenX, Engines::Sonic::kTopScreenY, Graphics::Aurora::kVAlignMiddle, Graphics::Aurora::Text::setPosition(), Graphics::Renderable::show(), TalkMan, and waitClick().
Referenced by run().
|
private |
Definition at line 130 of file game.cpp.
References GfxMan, Graphics::Renderable::hide(), Engines::Sonic::kBottomScreenX, Engines::Sonic::kBottomScreenY, Engines::Sonic::kScreenHeight, Engines::Sonic::kScreenWidth, Engines::Sonic::kTopScreenX, Engines::Sonic::kTopScreenY, Graphics::Aurora::GUIQuad::setPosition(), Graphics::Renderable::show(), and waitClick().
Referenced by run().
|
private |
Definition at line 94 of file game.cpp.
References EventMan, and Events::kEventMouseUp.
Referenced by showChapter1(), showLicenseSplash(), showMainMenu(), showQuote(), and showTitle().
|
private |
|
private |
Definition at line 52 of file game.h.
Referenced by Game(), and showQuote().
|
private |
Definition at line 58 of file game.h.
Referenced by Game(), and showMainMenu().
|
private |
Definition at line 54 of file game.h.
Referenced by getModule(), run(), and runModule().
|
private |
Definition at line 59 of file game.h.
Referenced by Game(), and showQuote().