52 _module(&module), _background(0) {
105 if (widget.
getTag() ==
"ListBoxButtons_ITEM_3") {
112 if (widget.
getTag() ==
"ListBoxButtons_ITEM_0") {
123 if (widget.
getTag() ==
"ListBoxButtons_ITEM_4") {
128 if (widget.
getTag() ==
"ListBoxButtons_ITEM_5")
136 if (startrooms.
getRow(
"chapter", currentChapter).
empty(
"room"))
137 currentChapter =
"1";
Class to hold the two-dimensional array of a 2DA file.
void playVideo(const Common::UString &video)
Play this video resource.
A label widget for Star Wars: Knights of the Old Republic and Jade Empire.
#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.
void callbackActive(Widget &widget)
Callback that's triggered when a widget was activated.
The global config manager.
virtual void hide()
Hide the GUI.
void exceptionDispatcherWarning(const char *s,...)
Exception dispatcher that prints the exception as a warning, and adds another reason on top...
Basic exceptions to throw.
#define ConfigMan
Shortcut for accessing the config manager.
The Jade Empire main options menu.
A list box widget for Star Wars: Knights of the Old Republic and Jade Empire.
Handling BioWare's 2DAs (two-dimensional array).
The global events manager.
uint32 sub(GUI &gui, uint32 startCode=kStartCodeNone, bool showSelf=true, bool hideSelf=true)
Open up a sub GUI.
The Jade Empire main menu.
#define TwoDAReg
Shortcut for accessing the 2da registry.
MainMenu(Module &module, ::Engines::Console *console=0)
#define EventMan
Shortcut for accessing the events manager.
bool empty(size_t column) const
Check if the cell is empty.
void load(const Common::UString &resref)
const TwoDARow & getRow(size_t row) const
Get a row.
virtual void show()
Show the GUI.
void load(const Common::UString &module)
Load a module.
The global talk manager for Aurora strings.
WidgetListBox * getListBox(const Common::UString &tag, bool vital=false)
Generic Aurora engines utility functions.
Common::ScopedPtr< GUI > _options
WidgetLabel * getLabel(const Common::UString &tag, bool vital=false)