diff options
author | Max Horn | 2004-02-24 22:39:42 +0000 |
---|---|---|
committer | Max Horn | 2004-02-24 22:39:42 +0000 |
commit | d158280425efac5f4ec72e00fb2b7389cdfb5a75 (patch) | |
tree | f1bdab69e381b2a28320fdeb30936482565e5099 /sword2 | |
parent | 70f910cbe19e9c7320a56fa48669f7a5e9df00e6 (diff) | |
download | scummvm-rg350-d158280425efac5f4ec72e00fb2b7389cdfb5a75.tar.gz scummvm-rg350-d158280425efac5f4ec72e00fb2b7389cdfb5a75.tar.bz2 scummvm-rg350-d158280425efac5f4ec72e00fb2b7389cdfb5a75.zip |
the OSystem changes we discussed on the ML (note: renaming of the existing OSystem API is not yet finished); porters will have to fix their ports to get them to compile again
svn-id: r13036
Diffstat (limited to 'sword2')
-rw-r--r-- | sword2/driver/d_draw.cpp | 2 | ||||
-rw-r--r-- | sword2/driver/rdwin.cpp | 5 |
2 files changed, 2 insertions, 5 deletions
diff --git a/sword2/driver/d_draw.cpp b/sword2/driver/d_draw.cpp index f4462f695f..934e82bfde 100644 --- a/sword2/driver/d_draw.cpp +++ b/sword2/driver/d_draw.cpp @@ -39,7 +39,7 @@ Graphics::Graphics(Sword2Engine *vm, int16 width, int16 height) if (!_buffer) error("Could not initialise display"); - _vm->_system->init_size(width, height); + _vm->_system->initSize(width, height); _gridWide = width / CELLWIDE; _gridDeep = height / CELLDEEP; diff --git a/sword2/driver/rdwin.cpp b/sword2/driver/rdwin.cpp index 28f00003d8..cf7f5f0ff9 100644 --- a/sword2/driver/rdwin.cpp +++ b/sword2/driver/rdwin.cpp @@ -147,10 +147,7 @@ void Graphics::updateDisplay(bool redrawScene) { */ void Graphics::setWindowName(const char *windowName) { - OSystem::Property prop; - - prop.caption = windowName; - _vm->_system->property(OSystem::PROP_SET_WINDOW_CAPTION, &prop); + _vm->_system->setWindowCaption(windowName); } } // End of namespace Sword2 |