diff options
author | Filippos Karapetis | 2010-01-06 17:25:54 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-01-06 17:25:54 +0000 |
commit | 254850aa23c2dfc227d4f3176fac8ad37fbb0d56 (patch) | |
tree | a2c0abaea4fbc57ca8f797df37f25d5edf74d164 /engines/sci/graphics/gfx.h | |
parent | 9a99226d31570e83eac727fb2f001d1cbc7ac218 (diff) | |
download | scummvm-rg350-254850aa23c2dfc227d4f3176fac8ad37fbb0d56.tar.gz scummvm-rg350-254850aa23c2dfc227d4f3176fac8ad37fbb0d56.tar.bz2 scummvm-rg350-254850aa23c2dfc227d4f3176fac8ad37fbb0d56.zip |
- Some work on kLocalToGlobal and kGlobalToLocal for SCI2+
- Removed the custom types MemoryHandle, LoopNo, CelNo (cause we ended up having code like LoopNo loopNo = ...)
- Improved the sanity checks in frameOut()
svn-id: r47087
Diffstat (limited to 'engines/sci/graphics/gfx.h')
-rw-r--r-- | engines/sci/graphics/gfx.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/engines/sci/graphics/gfx.h b/engines/sci/graphics/gfx.h index 904b33c679..b521c7e988 100644 --- a/engines/sci/graphics/gfx.h +++ b/engines/sci/graphics/gfx.h @@ -78,15 +78,15 @@ public: void OffsetLine(Common::Point &start, Common::Point &end); void BitsShow(const Common::Rect &r); - MemoryHandle BitsSave(const Common::Rect &rect, byte screenFlags); - void BitsGetRect(MemoryHandle memoryHandle, Common::Rect *destRect); - void BitsRestore(MemoryHandle memoryHandle); - void BitsFree(MemoryHandle memoryHandle); + reg_t BitsSave(const Common::Rect &rect, byte screenFlags); + void BitsGetRect(reg_t memoryHandle, Common::Rect *destRect); + void BitsRestore(reg_t memoryHandle); + void BitsFree(reg_t memoryHandle); void drawPicture(GuiResourceId pictureId, int16 animationNr, bool mirroredFlag, bool addToFlag, GuiResourceId paletteId); - void drawCelAndShow(GuiResourceId viewId, LoopNo loopNo, CelNo celNo, uint16 leftPos, uint16 topPos, byte priority, uint16 paletteNo, int16 origHeight = -1, uint16 scaleX = 128, uint16 scaleY = 128); - void drawCel(GuiResourceId viewId, LoopNo loopNo, CelNo celNo, Common::Rect celRect, byte priority, uint16 paletteNo, int16 origHeight = -1, uint16 scaleX = 128, uint16 scaleY = 128); - void drawCel(View *view, LoopNo loopNo, CelNo celNo, Common::Rect celRect, byte priority, uint16 paletteNo, int16 origHeight = -1, uint16 scaleX = 128, uint16 scaleY = 128); + void drawCelAndShow(GuiResourceId viewId, int16 loopNo, int16 celNo, uint16 leftPos, uint16 topPos, byte priority, uint16 paletteNo, int16 origHeight = -1, uint16 scaleX = 128, uint16 scaleY = 128); + void drawCel(GuiResourceId viewId, int16 loopNo, int16 celNo, Common::Rect celRect, byte priority, uint16 paletteNo, int16 origHeight = -1, uint16 scaleX = 128, uint16 scaleY = 128); + void drawCel(View *view, int16 loopNo, int16 celNo, Common::Rect celRect, byte priority, uint16 paletteNo, int16 origHeight = -1, uint16 scaleX = 128, uint16 scaleY = 128); uint16 onControl(uint16 screenMask, Common::Rect rect); |