40 GUI(console), _module(module), _chargenInfo(
info), _step(0) {
void load(const Common::UString &resref)
const Common::UString & getName() const
Get the name of the character.
A label widget for Star Wars: Knights of the Old Republic and Jade Empire.
#define TalkMan
Shortcut for accessing the talk manager.
uint32 _returnCode
The GUI's return code.
Common::ScopedPtr< GUI > _quickCharPanel
The KotOR 2 custom character panel.
CharacterGenerationInfo * _chargenInfo
The KotOR 2 quick character panel.
Common::ScopedPtr< GUI > _quickOrCustomPanel
void load(const Common::UString &module, const Common::UString &entryLocation="", ObjectType entryLocationType=kObjectTypeAll)
Load a module.
The KotOR 2 quick or custom panel.
void setFace(unsigned int face)
Set the face index of the character.
void setSkin(Skin skin)
Set the skin type of the Character.
void exceptionDispatcherWarning(const char *s,...)
Exception dispatcher that prints the exception as a warning, and adds another reason on top...
void removeChild(GUI *gui)
Remove a child GUI object from this GUI.
Common::ScopedPtr< CharacterGenerationBaseMenu > _charGenMenu
The KotOR 2 character generation portrait menu.
void info(const char *s,...)
uint32 sub(GUI &gui, uint32 startCode=kStartCodeNone, bool showSelf=true, bool hideSelf=true)
Open up a sub GUI.
void usePC(Creature *pc)
Use this character as the player character.
CharacterGeneration(Module *module, CharacterGenerationInfo *info, Engines::Console *console=0)
WidgetLabel * getLabel(const Common::UString &tag, bool vital=false)
Common::UString getPortrait() const
The global talk manager for Aurora strings.
The KotOR 2 character generation name menu.
Common::ScopedPtr< GUI > _customCharPanel
void setName(const Common::UString &name)
Set the name of the Character.
static const uint32 kStartCodeNone
The KotOR 2 character generation.
Creature * getCharacter() const
Create a creature object from the info.
void addChild(GUI *gui)
Add a child GUI object to this GUI.