diff options
Diffstat (limited to 'engines/zvision/graphics')
-rw-r--r-- | engines/zvision/graphics/effects/fog.cpp | 1 | ||||
-rw-r--r-- | engines/zvision/graphics/effects/light.cpp | 1 | ||||
-rw-r--r-- | engines/zvision/graphics/effects/wave.cpp | 1 | ||||
-rw-r--r-- | engines/zvision/graphics/render_manager.cpp | 4 | ||||
-rw-r--r-- | engines/zvision/graphics/render_manager.h | 3 | ||||
-rw-r--r-- | engines/zvision/graphics/render_table.cpp | 4 | ||||
-rw-r--r-- | engines/zvision/graphics/render_table.h | 1 |
7 files changed, 0 insertions, 15 deletions
diff --git a/engines/zvision/graphics/effects/fog.cpp b/engines/zvision/graphics/effects/fog.cpp index b6c5e7b011..f59e82a4a0 100644 --- a/engines/zvision/graphics/effects/fog.cpp +++ b/engines/zvision/graphics/effects/fog.cpp @@ -28,7 +28,6 @@ #include "zvision/graphics/render_manager.h" #include "zvision/scripting/script_manager.h" - namespace ZVision { FogFx::FogFx(ZVision *engine, uint32 key, Common::Rect region, bool ported, EffectMap *Map, const Common::String &clouds): diff --git a/engines/zvision/graphics/effects/light.cpp b/engines/zvision/graphics/effects/light.cpp index 9bff077051..00b3811d65 100644 --- a/engines/zvision/graphics/effects/light.cpp +++ b/engines/zvision/graphics/effects/light.cpp @@ -27,7 +27,6 @@ #include "zvision/zvision.h" #include "zvision/graphics/render_manager.h" - namespace ZVision { LightFx::LightFx(ZVision *engine, uint32 key, Common::Rect region, bool ported, EffectMap *Map, int8 delta, int8 minD, int8 maxD): diff --git a/engines/zvision/graphics/effects/wave.cpp b/engines/zvision/graphics/effects/wave.cpp index 9f2fbb285c..1b3aa040e8 100644 --- a/engines/zvision/graphics/effects/wave.cpp +++ b/engines/zvision/graphics/effects/wave.cpp @@ -27,7 +27,6 @@ #include "zvision/zvision.h" #include "zvision/graphics/render_manager.h" - namespace ZVision { WaveFx::WaveFx(ZVision *engine, uint32 key, Common::Rect region, bool ported, int16 frames, int16 centerX, int16 centerY, float ampl, float waveln, float spd): diff --git a/engines/zvision/graphics/render_manager.cpp b/engines/zvision/graphics/render_manager.cpp index 05f8dec937..97d47e3920 100644 --- a/engines/zvision/graphics/render_manager.cpp +++ b/engines/zvision/graphics/render_manager.cpp @@ -37,7 +37,6 @@ #include "image/tga.h" - namespace ZVision { RenderManager::RenderManager(ZVision *engine, uint32 windowWidth, uint32 windowHeight, const Common::Rect workingWindow, const Graphics::PixelFormat pixelFormat) @@ -122,7 +121,6 @@ void RenderManager::renderBackbufferToScreen() { outWndDirtyRect = _wrkWndDirtyRect; } - if (!outWndDirtyRect.isEmpty()) { _system->copyRectToScreen(out->getBasePtr(outWndDirtyRect.left, outWndDirtyRect.top), out->pitch, outWndDirtyRect.left + _workingWindow.left, @@ -511,8 +509,6 @@ void RenderManager::blitSurfaceToSurface(const Graphics::Surface &src, const Com if (srcRect.isEmpty() || !srcRect.isValidRect()) return; - - uint32 _keycolor = colorkey & ((1 << (src.format.bytesPerPixel << 3)) - 1); // Copy srcRect from src surface to dst surface diff --git a/engines/zvision/graphics/render_manager.h b/engines/zvision/graphics/render_manager.h index 7723c3d0f3..39809c65a4 100644 --- a/engines/zvision/graphics/render_manager.h +++ b/engines/zvision/graphics/render_manager.h @@ -33,7 +33,6 @@ #include "effect.h" - class OSystem; namespace Common { @@ -92,7 +91,6 @@ private: // A buffer used for apply graphics effects Graphics::Surface _effectWnd; - /** Width of the working window. Saved to prevent extraneous calls to _workingWindow.width() */ const int _wrkWidth; /** Height of the working window. Saved to prevent extraneous calls to _workingWindow.height() */ @@ -256,7 +254,6 @@ public: // Processing subtitles void processSubs(uint16 deltatime); - // Return background size Common::Point getBkgSize(); diff --git a/engines/zvision/graphics/render_table.cpp b/engines/zvision/graphics/render_table.cpp index 5500b50ba8..54faecfa8b 100644 --- a/engines/zvision/graphics/render_table.cpp +++ b/engines/zvision/graphics/render_table.cpp @@ -21,14 +21,10 @@ */ #include "common/scummsys.h" - #include "zvision/graphics/render_table.h" - #include "common/rect.h" - #include "graphics/colormasks.h" - namespace ZVision { RenderTable::RenderTable(uint numColumns, uint numRows) diff --git a/engines/zvision/graphics/render_table.h b/engines/zvision/graphics/render_table.h index f061b3b0d6..7455d9ba39 100644 --- a/engines/zvision/graphics/render_table.h +++ b/engines/zvision/graphics/render_table.h @@ -26,7 +26,6 @@ #include "common/rect.h" #include "graphics/surface.h" - namespace ZVision { class RenderTable { |