aboutsummaryrefslogtreecommitdiff
path: root/sword2
diff options
context:
space:
mode:
authorTorbjörn Andersson2004-06-17 06:46:18 +0000
committerTorbjörn Andersson2004-06-17 06:46:18 +0000
commita7d7e6eb7adf660cf7c98ba955c410024050853e (patch)
tree12b0efba8a53c39ad296ae1811c1e4501dc836e1 /sword2
parent3da9e2d21ea4eaf143b59d058e4840222e2577c4 (diff)
downloadscummvm-rg350-a7d7e6eb7adf660cf7c98ba955c410024050853e.tar.gz
scummvm-rg350-a7d7e6eb7adf660cf7c98ba955c410024050853e.tar.bz2
scummvm-rg350-a7d7e6eb7adf660cf7c98ba955c410024050853e.zip
Itsy-bitsy cleanup.
svn-id: r13959
Diffstat (limited to 'sword2')
-rw-r--r--sword2/driver/d_draw.h1
-rw-r--r--sword2/driver/rdwin.cpp8
-rw-r--r--sword2/maketext.cpp2
3 files changed, 1 insertions, 10 deletions
diff --git a/sword2/driver/d_draw.h b/sword2/driver/d_draw.h
index 7b4b0f448c..5e30e4d79c 100644
--- a/sword2/driver/d_draw.h
+++ b/sword2/driver/d_draw.h
@@ -193,7 +193,6 @@ public:
void markAsDirty(int16 x0, int16 y0, int16 x1, int16 y1);
void updateDisplay(bool redrawScene = true);
- void setWindowName(const char *windowName);
void setNeedFullRedraw(void);
void setPalette(int16 startEntry, int16 noEntries, byte *palette, uint8 setNow);
diff --git a/sword2/driver/rdwin.cpp b/sword2/driver/rdwin.cpp
index f981fd1151..45f55906a3 100644
--- a/sword2/driver/rdwin.cpp
+++ b/sword2/driver/rdwin.cpp
@@ -114,12 +114,4 @@ void Graphics::updateDisplay(bool redrawScene) {
_vm->_system->updateScreen();
}
-/**
- * Set the window title
- */
-
-void Graphics::setWindowName(const char *windowName) {
- _vm->_system->setWindowCaption(windowName);
-}
-
} // End of namespace Sword2
diff --git a/sword2/maketext.cpp b/sword2/maketext.cpp
index 83dbb253e3..e403d55613 100644
--- a/sword2/maketext.cpp
+++ b/sword2/maketext.cpp
@@ -532,7 +532,7 @@ void Sword2Engine::initialiseFontResourceFlags(void) {
else
textLine = (char *) fetchTextLine(textFile, 54) + 2;
- _graphics->setWindowName(textLine);
+ _system->setWindowCaption(textLine);
_resman->closeResource(TEXT_RES);
}