aboutsummaryrefslogtreecommitdiff
path: root/gui.cpp
diff options
context:
space:
mode:
authorJames Brown2002-04-17 16:02:29 +0000
committerJames Brown2002-04-17 16:02:29 +0000
commit1df77c2002de490074342c586f6fb68422462010 (patch)
tree975c791b9a1f428c556d07c17af1ee3c3cc700cf /gui.cpp
parent72663cdcf4df7a529ee746ee90973d3fc7c849ed (diff)
downloadscummvm-rg350-1df77c2002de490074342c586f6fb68422462010.tar.gz
scummvm-rg350-1df77c2002de490074342c586f6fb68422462010.tar.bz2
scummvm-rg350-1df77c2002de490074342c586f6fb68422462010.zip
Add fix for Zak256/Indy3 actor masks. Thanks jah! Excellent work.
Let's hope someone will fix Loom actor masks soon... :) svn-id: r3976
Diffstat (limited to 'gui.cpp')
-rw-r--r--gui.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/gui.cpp b/gui.cpp
index f82330ae51..573dbde687 100644
--- a/gui.cpp
+++ b/gui.cpp
@@ -184,6 +184,9 @@ void Gui::drawWidget(const GuiWidget * w)
sprintf(text, "%s %d", string_map_table_custom[w->_string_number],
_gui_variables[w->_string_number]);
break;
+ case GUI_SCROLLTEXT:
+ sprintf(text, "%s", _gui_scroller);
+ break;
#ifdef _WIN32_WCE
case GUI_KEYTEXT:
strcpy(text,
@@ -409,10 +412,10 @@ const GuiWidget keys_dialog[] = {
const GuiWidget about_dialog[] = {
{GUI_STAT, 0xFF, GWF_DEFAULT, 30, 20, 260, 120, 0, 0},
- // {GUI_CUSTOMTEXT, 0x01, 0, 30 + 95, 20 + 10, 100, 15, 0, }, .. pocketscummvm
{GUI_CUSTOMTEXT, 0x01, 0, 30 + 68, 20 + 10 + 15 + 5, 160, 15, 0, 9}, // Build
{GUI_CUSTOMTEXT, 0x01, 0, 30 + 10, 20 + 10 + 15 + 5 + 15, 230, 15, 0, 10}, // ScummVM Url
{GUI_CUSTOMTEXT, 0x01, 0, 30 + 75, 20 + 10 + 15 + 5 + 15 + 15 + 15, 150, 15, 0, 11}, // Lucasarts
+ {GUI_SCROLLTEXT, 0x01, 0, 30 + 95, 20 + 10, 100, 15, 0},
{GUI_RESTEXT, 0x01, GWF_BUTTON, 30 + 113, 20 + 96, 54, 16, 40, 9},
{0, 0, 0, 0, 0, 0, 0, 0, 0}
};
@@ -819,6 +822,8 @@ void Gui::init(Scumm *s)
_textcolorhi = 15;
_shadowcolor = 0;
_s = s;
+
+ strcpy(_gui_scroller, "Brought to you by:");
}
void Gui::loop()