OpenMW
Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes
MWGui::CharacterCreation Class Reference

#include <charactercreation.hpp>

List of all members.

Public Types

typedef std::vector< int > SkillList

Public Member Functions

 CharacterCreation ()
 ~CharacterCreation ()
void spawnDialog (const char id)
void setValue (const std::string &id, const MWMechanics::Stat< int > &value)
void setValue (const std::string &id, const MWMechanics::DynamicStat< float > &value)
void setValue (const ESM::Skill::SkillEnum parSkill, const MWMechanics::Stat< float > &value)
void configureSkills (const SkillList &major, const SkillList &minor)
void doRenderUpdate ()

Private Types

enum  CSE {
  CSE_NotStarted, CSE_NameChosen, CSE_RaceChosen, CSE_ClassChosen,
  CSE_BirthSignChosen, CSE_ReviewBack, CSE_ReviewNext
}

Private Member Functions

void onNameDialogDone (WindowBase *parWindow)
void onRaceDialogDone (WindowBase *parWindow)
void onRaceDialogBack ()
void onClassChoice (int _index)
void onPickClassDialogDone (WindowBase *parWindow)
void onPickClassDialogBack ()
void onCreateClassDialogDone (WindowBase *parWindow)
void onCreateClassDialogBack ()
void showClassQuestionDialog ()
void onClassQuestionChosen (int _index)
void onGenerateClassBack ()
void onGenerateClassDone (WindowBase *parWindow)
void onBirthSignDialogDone (WindowBase *parWindow)
void onBirthSignDialogBack ()
void onReviewDialogDone (WindowBase *parWindow)
void onReviewDialogBack ()
void onReviewActivateDialog (int parDialog)

Private Attributes

TextInputDialogmNameDialog
RaceDialogmRaceDialog
ClassChoiceDialogmClassChoiceDialog
InfoBoxDialogmGenerateClassQuestionDialog
GenerateClassResultDialogmGenerateClassResultDialog
PickClassDialogmPickClassDialog
CreateClassDialogmCreateClassDialog
BirthDialogmBirthSignDialog
ReviewDialogmReviewDialog
std::string mPlayerName
std::string mPlayerRaceId
std::string mPlayerBirthSignId
ESM::Class mPlayerClass
unsigned mGenerateClassStep
unsigned mGenerateClassSpecializations [3]
std::string mGenerateClass
CSE mCreationStage

Member Typedef Documentation

typedef std::vector<int> MWGui::CharacterCreation::SkillList

Member Enumeration Documentation

Enumerator:
CSE_NotStarted 
CSE_NameChosen 
CSE_RaceChosen 
CSE_ClassChosen 
CSE_BirthSignChosen 
CSE_ReviewBack 
CSE_ReviewNext 

Constructor & Destructor Documentation


Member Function Documentation

void MWGui::CharacterCreation::configureSkills ( const SkillList major,
const SkillList minor 
)
void MWGui::CharacterCreation::onClassChoice ( int  _index) [private]
void MWGui::CharacterCreation::onClassQuestionChosen ( int  _index) [private]
void MWGui::CharacterCreation::onNameDialogDone ( WindowBase parWindow) [private]
void MWGui::CharacterCreation::onRaceDialogDone ( WindowBase parWindow) [private]
void MWGui::CharacterCreation::onReviewActivateDialog ( int  parDialog) [private]
void MWGui::CharacterCreation::setValue ( const std::string &  id,
const MWMechanics::Stat< int > &  value 
)
void MWGui::CharacterCreation::setValue ( const std::string &  id,
const MWMechanics::DynamicStat< float > &  value 
)
void MWGui::CharacterCreation::setValue ( const ESM::Skill::SkillEnum  parSkill,
const MWMechanics::Stat< float > &  value 
)
void MWGui::CharacterCreation::spawnDialog ( const char  id)

Member Data Documentation


The documentation for this class was generated from the following files: