OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
MWGui::CharacterCreation Class Reference

#include <charactercreation.hpp>

Collaboration diagram for MWGui::CharacterCreation:

Public Types

typedef std::vector< intSkillList
 

Public Member Functions

 CharacterCreation (osg::Group *parent, Resource::ResourceSystem *resourceSystem)
 
 ~CharacterCreation ()
 
void spawnDialog (const char id)
 
void setValue (const std::string &id, const MWMechanics::AttributeValue &value)
 
void setValue (const std::string &id, const MWMechanics::DynamicStat< float > &value)
 
void setValue (const ESM::Skill::SkillEnum parSkill, const MWMechanics::SkillValue &value)
 
void configureSkills (const SkillList &major, const SkillList &minor)
 
void onFrame (float duration)
 

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 selectRace ()
 
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 selectGeneratedClass ()
 
void selectCreatedClass ()
 
void selectPickedClass ()
 
void onBirthSignDialogDone (WindowBase *parWindow)
 
void onBirthSignDialogBack ()
 
void selectBirthSign ()
 
void onReviewDialogDone (WindowBase *parWindow)
 
void onReviewDialogBack ()
 
void onReviewActivateDialog (int parDialog)
 
void handleDialogDone (CSE currentStage, int nextMode)
 

Private Attributes

osg::Group * mParent
 
Resource::ResourceSystemmResourceSystem
 
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

Member Enumeration Documentation

Enumerator
CSE_NotStarted 
CSE_NameChosen 
CSE_RaceChosen 
CSE_ClassChosen 
CSE_BirthSignChosen 
CSE_ReviewBack 
CSE_ReviewNext 

Constructor & Destructor Documentation

MWGui::CharacterCreation::CharacterCreation ( osg::Group *  parent,
Resource::ResourceSystem resourceSystem 
)
MWGui::CharacterCreation::~CharacterCreation ( )

Member Function Documentation

void MWGui::CharacterCreation::configureSkills ( const SkillList major,
const SkillList minor 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::CharacterCreation::handleDialogDone ( CSE  currentStage,
int  nextMode 
)
private

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::CharacterCreation::onBirthSignDialogBack ( )
private

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::CharacterCreation::onBirthSignDialogDone ( WindowBase parWindow)
private

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::CharacterCreation::onClassChoice ( int  _index)
private

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::CharacterCreation::onClassQuestionChosen ( int  _index)
private

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::CharacterCreation::onCreateClassDialogBack ( )
private

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::CharacterCreation::onCreateClassDialogDone ( WindowBase parWindow)
private

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::CharacterCreation::onFrame ( float  duration)

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::CharacterCreation::onGenerateClassBack ( )
private

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::CharacterCreation::onGenerateClassDone ( WindowBase parWindow)
private

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::CharacterCreation::onNameDialogDone ( WindowBase parWindow)
private

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::CharacterCreation::onPickClassDialogBack ( )
private

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::CharacterCreation::onPickClassDialogDone ( WindowBase parWindow)
private

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::CharacterCreation::onRaceDialogBack ( )
private

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::CharacterCreation::onRaceDialogDone ( WindowBase parWindow)
private

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::CharacterCreation::onReviewActivateDialog ( int  parDialog)
private

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::CharacterCreation::onReviewDialogBack ( )
private

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::CharacterCreation::onReviewDialogDone ( WindowBase parWindow)
private

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::CharacterCreation::selectBirthSign ( )
private

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::CharacterCreation::selectCreatedClass ( )
private

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::CharacterCreation::selectGeneratedClass ( )
private

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::CharacterCreation::selectPickedClass ( )
private

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::CharacterCreation::selectRace ( )
private

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::CharacterCreation::setValue ( const std::string &  id,
const MWMechanics::AttributeValue value 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::CharacterCreation::setValue ( const std::string &  id,
const MWMechanics::DynamicStat< float > &  value 
)

Here is the call graph for this function:

void MWGui::CharacterCreation::setValue ( const ESM::Skill::SkillEnum  parSkill,
const MWMechanics::SkillValue value 
)

Here is the call graph for this function:

void MWGui::CharacterCreation::showClassQuestionDialog ( )
private

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::CharacterCreation::spawnDialog ( const char  id)

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

BirthDialog* MWGui::CharacterCreation::mBirthSignDialog
private
ClassChoiceDialog* MWGui::CharacterCreation::mClassChoiceDialog
private
CreateClassDialog* MWGui::CharacterCreation::mCreateClassDialog
private
CSE MWGui::CharacterCreation::mCreationStage
private
std::string MWGui::CharacterCreation::mGenerateClass
private
InfoBoxDialog* MWGui::CharacterCreation::mGenerateClassQuestionDialog
private
GenerateClassResultDialog* MWGui::CharacterCreation::mGenerateClassResultDialog
private
unsigned MWGui::CharacterCreation::mGenerateClassSpecializations[3]
private
unsigned MWGui::CharacterCreation::mGenerateClassStep
private
TextInputDialog* MWGui::CharacterCreation::mNameDialog
private
osg::Group* MWGui::CharacterCreation::mParent
private
PickClassDialog* MWGui::CharacterCreation::mPickClassDialog
private
std::string MWGui::CharacterCreation::mPlayerBirthSignId
private
ESM::Class MWGui::CharacterCreation::mPlayerClass
private
std::string MWGui::CharacterCreation::mPlayerName
private
std::string MWGui::CharacterCreation::mPlayerRaceId
private
RaceDialog* MWGui::CharacterCreation::mRaceDialog
private
Resource::ResourceSystem* MWGui::CharacterCreation::mResourceSystem
private
ReviewDialog* MWGui::CharacterCreation::mReviewDialog
private

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