startmenu Class Reference

#include <startmenu.h>

List of all members.

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
coeurc
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

Detailed Description

Definition at line 3 of file startmenu.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

int startmenu::close (  ) 

Definition at line 362 of file startmenu.cpp.

References device, and log().

Referenced by startCoeur(), and update().

position2d< s32 > startmenu::getCurPos (  ) 

Definition at line 374 of file startmenu.cpp.

References curPos.

IFileSystem * startmenu::getFileSystem (  ) 

Definition at line 625 of file startmenu.cpp.

References device.

Referenced by coeur::init().

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 
)
int startmenu::loadDesc (  )  [private]

Definition at line 526 of file startmenu.cpp.

References device, driver, game_img, game_name, game_path, game_text, langMenu, and pathMain.

Referenced by OnEvent().

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]
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.

References device, and log().

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 (  ) 

Definition at line 325 of file startmenu.cpp.

References close(), curPos, device, driver, env, log(), menus, menusIn, menusOut, q, start, and startCoeur().

Referenced by main(), and progress().


Member Data Documentation

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]
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.

Referenced by init(), OnEvent(), and update().

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.

Referenced by init(), and OnEvent().

IGUICheckBox* startmenu::options_fs [private]

Definition at line 80 of file startmenu.h.

Referenced by init(), and OnEvent().

IGUIComboBox* startmenu::options_lang [private]

Definition at line 81 of file startmenu.h.

Referenced by init(), and OnEvent().

IGUIComboBox* startmenu::options_res [private]

Definition at line 79 of file startmenu.h.

Referenced by init(), and OnEvent().

stringc startmenu::path [private]

Definition at line 57 of file startmenu.h.

Referenced by init(), and OnEvent().

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.

Referenced by OnEvent(), and update().

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.

Referenced by init(), OnEvent(), and update().

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().


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Enumerations Enumerator Friends

Generated on Wed Sep 9 18:20:17 2009 for The Merry Turnip by  doxygen 1.6.1