diff options
author | Paul Gilbert | 2016-08-31 19:46:57 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-08-31 19:46:57 -0400 |
commit | 15ebf3a12aae014f5b6e3cd0125eab4e421aa46b (patch) | |
tree | 97ef61b903b602027d042faf1460d01068024c12 /engines/titanic/support/direct_draw.cpp | |
parent | 1fe8b6382519456ea26f1023576193c3c4e41b88 (diff) | |
download | scummvm-rg350-15ebf3a12aae014f5b6e3cd0125eab4e421aa46b.tar.gz scummvm-rg350-15ebf3a12aae014f5b6e3cd0125eab4e421aa46b.tar.bz2 scummvm-rg350-15ebf3a12aae014f5b6e3cd0125eab4e421aa46b.zip |
TITANIC: Fixes to warnings, and removal of some unneeded fields
Diffstat (limited to 'engines/titanic/support/direct_draw.cpp')
-rw-r--r-- | engines/titanic/support/direct_draw.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/engines/titanic/support/direct_draw.cpp b/engines/titanic/support/direct_draw.cpp index 3cec9377bb..8e510861ae 100644 --- a/engines/titanic/support/direct_draw.cpp +++ b/engines/titanic/support/direct_draw.cpp @@ -28,9 +28,8 @@ namespace Titanic { -DirectDraw::DirectDraw(TitanicEngine *vm) : _vm(vm), - _windowed(false), _fieldC(0), _width(0), _height(0), - _bpp(0), _numBackSurfaces(0), _field24(0) { +DirectDraw::DirectDraw() : _windowed(false), _width(0), _height(0), + _bpp(0), _numBackSurfaces(0) { } void DirectDraw::setDisplayMode(int width, int height, int bpp, int refreshRate) { @@ -55,7 +54,7 @@ DirectDrawSurface *DirectDraw::createSurfaceFromDesc(const DDSurfaceDesc &desc) /*------------------------------------------------------------------------*/ -DirectDrawManager::DirectDrawManager(TitanicEngine *vm, bool windowed) : _directDraw(vm) { +DirectDrawManager::DirectDrawManager(TitanicEngine *vm, bool windowed) { _mainSurface = nullptr; _backSurfaces[0] = _backSurfaces[1] = nullptr; _directDraw._windowed = windowed; |