diff options
author | Filippos Karapetis | 2011-10-13 14:01:19 +0300 |
---|---|---|
committer | Filippos Karapetis | 2011-10-13 14:03:57 +0300 |
commit | 8d4e562555a5bc0bc5f9aea8ee2bbcb4f14dc18f (patch) | |
tree | 405e0ccbaf463129c8fb4361d2b02c42af06b27b /engines/sci/graphics | |
parent | e7260d992c9f57c0a620fbfbfefb22d282163e6a (diff) | |
download | scummvm-rg350-8d4e562555a5bc0bc5f9aea8ee2bbcb4f14dc18f.tar.gz scummvm-rg350-8d4e562555a5bc0bc5f9aea8ee2bbcb4f14dc18f.tar.bz2 scummvm-rg350-8d4e562555a5bc0bc5f9aea8ee2bbcb4f14dc18f.zip |
SCI: Implemented kBitmap(3) and kBitmap(5). Some cleanup
Diffstat (limited to 'engines/sci/graphics')
-rw-r--r-- | engines/sci/graphics/text32.cpp | 9 | ||||
-rw-r--r-- | engines/sci/graphics/text32.h | 3 |
2 files changed, 0 insertions, 12 deletions
diff --git a/engines/sci/graphics/text32.cpp b/engines/sci/graphics/text32.cpp index 85ede02239..52124fda6d 100644 --- a/engines/sci/graphics/text32.cpp +++ b/engines/sci/graphics/text32.cpp @@ -100,15 +100,6 @@ reg_t GfxText32::createTextBitmap(reg_t textObject, uint16 maxWidth, uint16 maxH return memoryId; } -reg_t GfxText32::createTextBitmapSci21(uint16 width, uint16 height, byte skip, byte back, uint16 width2, uint16 height2, byte transparentFlag) { - // TODO: skip, width2, height2, transparentFlag - int entrySize = width * height; - reg_t memoryId = _segMan->allocateHunkEntry("TextBitmap()", entrySize); - byte *memoryPtr = _segMan->getHunkPointer(memoryId); - memset(memoryPtr, back, entrySize); - return memoryId; -} - void GfxText32::disposeTextBitmap(reg_t hunkId) { _segMan->freeHunkEntry(hunkId); } diff --git a/engines/sci/graphics/text32.h b/engines/sci/graphics/text32.h index 43395f6517..5a069958d9 100644 --- a/engines/sci/graphics/text32.h +++ b/engines/sci/graphics/text32.h @@ -26,8 +26,6 @@ #ifndef SCI_GRAPHICS_TEXT32_H #define SCI_GRAPHICS_TEXT32_H -#include "common/hashmap.h" - namespace Sci { /** @@ -38,7 +36,6 @@ public: GfxText32(SegManager *segMan, GfxCache *fonts, GfxScreen *screen); ~GfxText32(); reg_t createTextBitmap(reg_t textObject, uint16 maxWidth = 0, uint16 maxHeight = 0); - reg_t createTextBitmapSci21(uint16 width, uint16 height, byte skip, byte back, uint16 width2, uint16 height2, byte transparentFlag); void disposeTextBitmap(reg_t hunkId); void drawTextBitmap(reg_t textObject); int16 GetLongest(const char *text, int16 maxWidth, GfxFont *font); |