From cefa844b51e8e1416cf3a1e0a92a0ebf1660e9e5 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Tue, 14 Sep 2010 20:15:36 +0000 Subject: SWORD25: Rename GLImage to RenderedImage svn-id: r53362 --- engines/sword25/gfx/dynamicbitmap.cpp | 12 ++++++------ engines/sword25/gfx/dynamicbitmap.h | 6 +++--- engines/sword25/gfx/graphicengine.cpp | 4 ++-- 3 files changed, 11 insertions(+), 11 deletions(-) (limited to 'engines') diff --git a/engines/sword25/gfx/dynamicbitmap.cpp b/engines/sword25/gfx/dynamicbitmap.cpp index 0446e6fee7..91d46e99f4 100644 --- a/engines/sword25/gfx/dynamicbitmap.cpp +++ b/engines/sword25/gfx/dynamicbitmap.cpp @@ -58,7 +58,7 @@ DynamicBitmap::DynamicBitmap(RenderObjectPtr parentPtr, uint width // Das BS_Bitmap konnte nicht erzeugt werden, daher muss an dieser Stelle abgebrochen werden. if (!_initSuccess) return; - _initSuccess = createGLImage(width, height); + _initSuccess = createRenderedImage(width, height); } // ----------------------------------------------------------------------------- @@ -70,10 +70,10 @@ DynamicBitmap::DynamicBitmap(InputPersistenceBlock &reader, RenderObjectPtr parentPtr, uint width, uint height); DynamicBitmap(InputPersistenceBlock &reader, RenderObjectPtr parentPtr, uint handle); - bool createGLImage(uint width, uint height); + bool createRenderedImage(uint width, uint height); - Common::ScopedPtr _image; + Common::ScopedPtr _image; }; } // End of namespace Sword25 diff --git a/engines/sword25/gfx/graphicengine.cpp b/engines/sword25/gfx/graphicengine.cpp index a6cbbdbde2..b0e1b17359 100644 --- a/engines/sword25/gfx/graphicengine.cpp +++ b/engines/sword25/gfx/graphicengine.cpp @@ -42,7 +42,7 @@ #include "sword25/gfx/panel.h" #include "sword25/gfx/renderobjectmanager.h" #include "sword25/gfx/screenshot.h" -#include "sword25/gfx/image/glimage.h" +#include "sword25/gfx/image/renderedimage.h" #include "sword25/gfx/image/swimage.h" #include "sword25/gfx/image/vectorimage.h" #include "sword25/package/packagemanager.h" @@ -315,7 +315,7 @@ Resource *GraphicEngine::LoadResource(const Common::String &FileName) { // Sprite-Bild laden if (FileName.hasSuffix(PNG_EXTENSION) || FileName.hasSuffix(B25S_EXTENSION)) { bool Result = false; - GLImage *pImage = new GLImage(FileName, Result); + RenderedImage *pImage = new RenderedImage(FileName, Result); if (!Result) { delete pImage; return 0; -- cgit v1.2.3