diff options
author | Gregory Montoir | 2005-08-31 20:14:20 +0000 |
---|---|---|
committer | Gregory Montoir | 2005-08-31 20:14:20 +0000 |
commit | 288759abd26e5b6bb93429e331791ebeead668ab (patch) | |
tree | bd13516f996210b186bcb0699dd7f4d47b54728a /kyra/staticres.cpp | |
parent | e64b22f5bd47bffe2d9e4f1bbbd0a90b05d11ba4 (diff) | |
download | scummvm-rg350-288759abd26e5b6bb93429e331791ebeead668ab.tar.gz scummvm-rg350-288759abd26e5b6bb93429e331791ebeead668ab.tar.bz2 scummvm-rg350-288759abd26e5b6bb93429e331791ebeead668ab.zip |
some WIP code, add drawShape()
svn-id: r18724
Diffstat (limited to 'kyra/staticres.cpp')
-rw-r--r-- | kyra/staticres.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/kyra/staticres.cpp b/kyra/staticres.cpp index ec4a1f0375..98774824a4 100644 --- a/kyra/staticres.cpp +++ b/kyra/staticres.cpp @@ -21,9 +21,31 @@ #include "common/stdafx.h" #include "kyra/kyra.h" +#include "kyra/screen.h" namespace Kyra { +const ScreenDim Screen::_screenDimTable[] = { + { 0x00, 0x00, 0x28, 0xC8, 0x0F, 0x0C, 0x00, 0x00 }, + { 0x08, 0x48, 0x18, 0x38, 0x0F, 0x0C, 0x00, 0x00 }, + { 0x01, 0x08, 0x26, 0x80, 0x0F, 0x0C, 0x00, 0x00 }, + { 0x00, 0xC2, 0x28, 0x06, 0x0F, 0x0C, 0x00, 0x00 }, + { 0x00, 0x90, 0x28, 0x38, 0x04, 0x0C, 0x00, 0x00 }, + { 0x01, 0x94, 0x26, 0x30, 0x04, 0x1B, 0x00, 0x00 }, + { 0x00, 0x90, 0x28, 0x38, 0x0F, 0x0D, 0x00, 0x00 }, + { 0x01, 0x96, 0x26, 0x32, 0x0F, 0x0D, 0x00, 0x00 }, + { 0x00, 0x00, 0x28, 0x88, 0x0F, 0x0C, 0x00, 0x00 }, + { 0x01, 0x20, 0x26, 0x80, 0x0F, 0x0C, 0x00, 0x00 }, + { 0x03, 0x28, 0x22, 0x46, 0x0F, 0x0D, 0x00, 0x00 } +}; + +const Screen::DrawShapePlotPixelCallback Screen::_drawShapePlotPixelTable[] = { + &Screen::drawShapePlotPixelCallback1 + // XXX +}; + +const int Screen::_drawShapePlotPixelCount = ARRAYSIZE(_drawShapePlotPixelTable); + const uint8 KyraEngine::_seq_introData_Forest[] = { 0x00, 0x05, 0x01, 0x00, 0x07, 0x01, 0x1A, 0x02, 0x07, 0x00, 0x00, 0x00, 0x08, 0x02, 0x05, 0x00, 0x98, 0x00, 0x38, 0x0A, 0x00, 0x03, 0x07, 0x16, 0x02, 0x06, 0x09, 0x00, 0x0B, 0x00, 0x41, 0x00, |