aboutsummaryrefslogtreecommitdiff
path: root/engines/touche/staticres.cpp
diff options
context:
space:
mode:
authorGregory Montoir2006-11-06 23:32:37 +0000
committerGregory Montoir2006-11-06 23:32:37 +0000
commitc9cb98291db28b7f2a041e2ed5e90ba5f40764a9 (patch)
treebe4e5e07a910a6686af64cbaab867b6ce4c134be /engines/touche/staticres.cpp
parent6c8af67b605f3bac9680b77da8999d5cc5ca5987 (diff)
downloadscummvm-rg350-c9cb98291db28b7f2a041e2ed5e90ba5f40764a9.tar.gz
scummvm-rg350-c9cb98291db28b7f2a041e2ed5e90ba5f40764a9.tar.bz2
scummvm-rg350-c9cb98291db28b7f2a041e2ed5e90ba5f40764a9.zip
some fixes, some cleanup
svn-id: r24644
Diffstat (limited to 'engines/touche/staticres.cpp')
-rw-r--r--engines/touche/staticres.cpp24
1 files changed, 3 insertions, 21 deletions
diff --git a/engines/touche/staticres.cpp b/engines/touche/staticres.cpp
index 72098efcd5..74a024d202 100644
--- a/engines/touche/staticres.cpp
+++ b/engines/touche/staticres.cpp
@@ -32,7 +32,9 @@ SpriteData ToucheEngine::_spritesTable[NUM_SPRITES] = {
{ 0x1E848, 0, 0, 0, 0, 0 },
{ 0x1E848, 0, 0, 0, 0, 0 },
{ 0x23A50, 0, 0, 0, 0, 0 },
- { 0x1E848, 0, 0, 0, 0, 0 }
+ { 0x1E848, 0, 0, 0, 0, 0 },
+ { 0x23940, 0, 0, 0, 0, 0 }, // room sprite 1
+ { 0x1E848, 0, 0, 0, 0, 0 } // room sprite 2
};
const uint8 ToucheEngine::_directionsTable[] = {
@@ -59,26 +61,6 @@ char ToucheEngine::_saveLoadDescriptionsTable[10][33] = {
"[Empty.9.......................]"
};
-void ToucheEngine::setupRect() {
- static const Common::Rect inventoryAreasTable[13] = {
- Common::Rect( 0, 354, 50, 400),
- Common::Rect( 66, 354, 124, 380),
- Common::Rect( 74, 380, 116, 398),
- Common::Rect(116, 380, 158, 398),
- Common::Rect(144, 354, 198, 380),
- Common::Rect(202, 354, 238, 396),
- Common::Rect(242, 354, 300, 396),
- Common::Rect(300, 354, 358, 396),
- Common::Rect(358, 354, 416, 396),
- Common::Rect(416, 354, 474, 396),
- Common::Rect(474, 354, 532, 396),
- Common::Rect(532, 354, 590, 396),
- Common::Rect(594, 354, 640, 395)
- };
-
- _inventoryAreasTable = inventoryAreasTable;
-}
-
const uint16 Graphics::_fontOffs[] = {
0x0000, 0x0007, 0x0024, 0x0043, 0x0072, 0x00AD, 0x00E0, 0x0113, 0x0124, 0x0141,
0x015E, 0x0191, 0x01C4, 0x01E3, 0x01F8, 0x0215, 0x0232, 0x0269, 0x0286, 0x02BD,