53 if (_currentSound < _soundSet->getSoundCount()) {
101 if (widget.
getTag() ==
"OkButton") {
113 if (widget.
getTag() ==
"CancelButton") {
121 voicesListBox->
lock();
123 voicesListBox->
clear();
127 for (
size_t it = 0; it < twodaSoundSet.
getRowCount(); ++it) {
130 if (row.
getInt(
"TYPE") != 0)
141 voicesListBox->
add(item);
Class to hold the two-dimensional array of a 2DA file.
Widget * getWidget(const Common::UString &tag, bool vital=false)
Return a widget in the GUI.
Handling BioWare's SSFs (sound set file).
#define TalkMan
Shortcut for accessing the talk manager.
const Common::UString & getString(size_t column) const
Return the contents of a cell as a string.
uint32 _returnCode
The GUI's return code.
A class holding an UTF-8 string.
WidgetListBox * getListBox(const Common::UString &tag, bool vital=false)
void reset(PointerType o=0)
Resets the pointer with the new value.
Class to hold a sound set.
const Creature & getCharacter()
void callbackActive(Widget &widget)
Callback that's triggered when a widget was activated.
size_t getRowCount() const
Return the number of rows in the array.
void setSoundSet(uint32 soundSetID)
virtual void show()
Show the GUI.
Utility templates and functions.
CharGenChoices * _choices
Handling BioWare's 2DAs (two-dimensional array).
void load(const Common::UString &resref)
#define TwoDAReg
Shortcut for accessing the 2da registry.
int32 getInt(size_t column) const
Return the contents of a cell as an int.
Sound::ChannelHandle playSound(const Common::UString &sound, Sound::SoundType soundType, bool loop, float volume, bool pitchVariance)
Play this sound resource.
CharInfoVoice(CharGenChoices &choices, ::Engines::Console *console=0)
const TwoDARow & getRow(size_t row) const
Get a row.
Gender getGender() const
Get the creature's gender.
The global talk manager for Aurora strings.
A creature in a Neverwinter Nights area.
Generic Aurora engines utility functions.
The character information GUI in CharGen.