#include <startmenu.h>
Public Member Functions | |
startmenu () | |
~startmenu () | |
int | init (stringc, stringc) |
int | update () |
int | close () |
int | progress () |
position2d< s32 > | getCurPos () |
u32 | getTime () |
stringc | getVersion () |
int | setCaption (stringw) |
virtual bool | OnEvent (const SEvent &) |
IFileSystem * | getFileSystem () |
Private Member Functions | |
int | log (stringc) |
int | startCoeur () |
int | loadDesc () |
int | saveConfig () |
Private Attributes | |
IrrlichtDevice * | device |
IVideoDriver * | driver |
ISceneManager * | smgr |
IGUIEnvironment * | env |
E_DRIVER_TYPE | dr |
dimension2d< s32 > | dim |
int | bits |
bool | fullscreen |
bool | stencilbuffer |
bool | vsync |
int | lang |
stringc | langMenu |
bool | q |
position2d< s32 > | curPos |
coeur * | c |
stringc | path |
stringc | pathConfig |
stringc | pathStart |
stringc | pathMain |
bool | start |
std::vector< IGUIButton * > * | menus |
std::vector< ITexture * > * | menusOut |
std::vector< ITexture * > * | menusIn |
IGUIImage * | welcome |
IGUIImage * | game |
IGUIImage * | options |
IGUIImage * | starting |
IGUIEditBox * | game_path |
IGUIImage * | game_img |
IGUIStaticText * | game_name |
IGUIStaticText * | game_text |
IGUIComboBox * | options_dv |
IGUIComboBox * | options_res |
IGUICheckBox * | options_fs |
IGUIComboBox * | options_lang |
IGUIStaticText * | starting_text |
IGUIImage * | starting_bar |
std::vector< stringw > * | starting_txt |
unsigned int | progressing |
Definition at line 3 of file startmenu.h.
startmenu::startmenu | ( | ) |
Definition at line 22 of file startmenu.cpp.
References bits, dim, dr, fullscreen, lang, menus, menusIn, menusOut, progressing, starting_txt, stencilbuffer, and vsync.
startmenu::~startmenu | ( | ) |
Definition at line 41 of file startmenu.cpp.
References menus, menusIn, menusOut, and starting_txt.
int startmenu::close | ( | ) |
Definition at line 362 of file startmenu.cpp.
Referenced by startCoeur(), and update().
position2d< s32 > startmenu::getCurPos | ( | ) |
Definition at line 374 of file startmenu.cpp.
References curPos.
IFileSystem * startmenu::getFileSystem | ( | ) |
u32 startmenu::getTime | ( | ) |
Definition at line 379 of file startmenu.cpp.
References device.
stringc startmenu::getVersion | ( | ) |
Definition at line 480 of file startmenu.cpp.
int startmenu::init | ( | stringc | p, | |
stringc | la | |||
) |
Definition at line 49 of file startmenu.cpp.
References bits, device, dim, dr, driver, env, fullscreen, game, game_img, game_name, game_path, game_text, lang, langMenu, log(), menus, menusIn, menusOut, options, options_dv, options_fs, options_lang, options_res, path, pathConfig, pathMain, pathStart, smgr, start, starting, starting_bar, starting_text, starting_txt, stencilbuffer, vsync, and welcome.
Referenced by main().
int startmenu::loadDesc | ( | ) | [private] |
int startmenu::log | ( | stringc | text | ) | [private] |
Definition at line 520 of file startmenu.cpp.
Referenced by close(), init(), progress(), setCaption(), startCoeur(), and update().
bool startmenu::OnEvent | ( | const SEvent & | event | ) | [virtual] |
Definition at line 384 of file startmenu.cpp.
References device, dim, dr, env, fullscreen, game, game_path, lang, loadDesc(), options, options_dv, options_fs, options_lang, options_res, path, q, saveConfig(), start, and welcome.
int startmenu::progress | ( | ) |
Definition at line 608 of file startmenu.cpp.
References log(), progressing, starting_bar, starting_text, starting_txt, and update().
Referenced by coeur::init().
int startmenu::saveConfig | ( | ) | [private] |
Definition at line 566 of file startmenu.cpp.
References bits, device, dim, dr, fullscreen, lang, pathConfig, pathMain, pathStart, stencilbuffer, and vsync.
Referenced by OnEvent().
int startmenu::setCaption | ( | stringw | caption | ) |
Definition at line 485 of file startmenu.cpp.
int startmenu::startCoeur | ( | ) | [private] |
Definition at line 492 of file startmenu.cpp.
References c, coeur::close(), close(), game, coeur::init(), log(), options, starting, coeur::update(), and welcome.
Referenced by update().
int startmenu::update | ( | ) |
int startmenu::bits [private] |
Definition at line 43 of file startmenu.h.
Referenced by init(), saveConfig(), and startmenu().
coeur* startmenu::c [private] |
Definition at line 55 of file startmenu.h.
Referenced by startCoeur().
position2d<s32> startmenu::curPos [private] |
Definition at line 53 of file startmenu.h.
Referenced by getCurPos(), and update().
IrrlichtDevice* startmenu::device [private] |
Definition at line 36 of file startmenu.h.
Referenced by close(), getFileSystem(), getTime(), init(), loadDesc(), OnEvent(), saveConfig(), setCaption(), and update().
dimension2d<s32> startmenu::dim [private] |
Definition at line 42 of file startmenu.h.
Referenced by init(), OnEvent(), saveConfig(), and startmenu().
E_DRIVER_TYPE startmenu::dr [private] |
Definition at line 41 of file startmenu.h.
Referenced by init(), OnEvent(), saveConfig(), and startmenu().
IVideoDriver* startmenu::driver [private] |
Definition at line 37 of file startmenu.h.
Referenced by init(), loadDesc(), and update().
IGUIEnvironment* startmenu::env [private] |
Definition at line 39 of file startmenu.h.
bool startmenu::fullscreen [private] |
Definition at line 44 of file startmenu.h.
Referenced by init(), OnEvent(), saveConfig(), and startmenu().
IGUIImage* startmenu::game [private] |
Definition at line 69 of file startmenu.h.
Referenced by init(), OnEvent(), and startCoeur().
IGUIImage* startmenu::game_img [private] |
Definition at line 74 of file startmenu.h.
Referenced by init(), and loadDesc().
IGUIStaticText* startmenu::game_name [private] |
Definition at line 75 of file startmenu.h.
Referenced by init(), and loadDesc().
IGUIEditBox* startmenu::game_path [private] |
Definition at line 73 of file startmenu.h.
Referenced by init(), loadDesc(), and OnEvent().
IGUIStaticText* startmenu::game_text [private] |
Definition at line 76 of file startmenu.h.
Referenced by init(), and loadDesc().
int startmenu::lang [private] |
Definition at line 47 of file startmenu.h.
Referenced by init(), OnEvent(), saveConfig(), and startmenu().
stringc startmenu::langMenu [private] |
Definition at line 49 of file startmenu.h.
Referenced by init(), and loadDesc().
std::vector<IGUIButton*>* startmenu::menus [private] |
Definition at line 64 of file startmenu.h.
Referenced by init(), startmenu(), update(), and ~startmenu().
std::vector<ITexture*>* startmenu::menusIn [private] |
Definition at line 66 of file startmenu.h.
Referenced by init(), startmenu(), update(), and ~startmenu().
std::vector<ITexture*>* startmenu::menusOut [private] |
Definition at line 65 of file startmenu.h.
Referenced by init(), startmenu(), update(), and ~startmenu().
IGUIImage* startmenu::options [private] |
Definition at line 70 of file startmenu.h.
Referenced by init(), OnEvent(), and startCoeur().
IGUIComboBox* startmenu::options_dv [private] |
Definition at line 78 of file startmenu.h.
IGUICheckBox* startmenu::options_fs [private] |
Definition at line 80 of file startmenu.h.
IGUIComboBox* startmenu::options_lang [private] |
Definition at line 81 of file startmenu.h.
IGUIComboBox* startmenu::options_res [private] |
Definition at line 79 of file startmenu.h.
stringc startmenu::path [private] |
Definition at line 57 of file startmenu.h.
stringc startmenu::pathConfig [private] |
Definition at line 58 of file startmenu.h.
Referenced by init(), and saveConfig().
stringc startmenu::pathMain [private] |
Definition at line 60 of file startmenu.h.
Referenced by init(), loadDesc(), and saveConfig().
stringc startmenu::pathStart [private] |
Definition at line 59 of file startmenu.h.
Referenced by init(), and saveConfig().
unsigned int startmenu::progressing [private] |
Definition at line 86 of file startmenu.h.
Referenced by progress(), and startmenu().
bool startmenu::q [private] |
Definition at line 51 of file startmenu.h.
ISceneManager* startmenu::smgr [private] |
Definition at line 38 of file startmenu.h.
Referenced by init().
bool startmenu::start [private] |
Definition at line 62 of file startmenu.h.
IGUIImage* startmenu::starting [private] |
Definition at line 71 of file startmenu.h.
Referenced by init(), and startCoeur().
IGUIImage* startmenu::starting_bar [private] |
Definition at line 84 of file startmenu.h.
Referenced by init(), and progress().
IGUIStaticText* startmenu::starting_text [private] |
Definition at line 83 of file startmenu.h.
Referenced by init(), and progress().
std::vector<stringw>* startmenu::starting_txt [private] |
Definition at line 85 of file startmenu.h.
Referenced by init(), progress(), startmenu(), and ~startmenu().
bool startmenu::stencilbuffer [private] |
Definition at line 45 of file startmenu.h.
Referenced by init(), saveConfig(), and startmenu().
bool startmenu::vsync [private] |
Definition at line 46 of file startmenu.h.
Referenced by init(), saveConfig(), and startmenu().
IGUIImage* startmenu::welcome [private] |
Definition at line 68 of file startmenu.h.
Referenced by init(), OnEvent(), and startCoeur().