aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche/graph.h
diff options
context:
space:
mode:
authoruruk2013-07-18 15:13:23 +0200
committeruruk2013-07-18 15:13:23 +0200
commit293c8f9b7e44d87d0a3479386a89d525b2e4a812 (patch)
tree38ca3ed71c387bbf6a81a1640974f87728e67e57 /engines/avalanche/graph.h
parentc46bb2449fc680767d17363af5dd35eca5ae7596 (diff)
downloadscummvm-rg350-293c8f9b7e44d87d0a3479386a89d525b2e4a812.tar.gz
scummvm-rg350-293c8f9b7e44d87d0a3479386a89d525b2e4a812.tar.bz2
scummvm-rg350-293c8f9b7e44d87d0a3479386a89d525b2e4a812.zip
AVALANCHE: Add class SpriteInfo to graph.h, use it in Trip.
Diffstat (limited to 'engines/avalanche/graph.h')
-rw-r--r--engines/avalanche/graph.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/engines/avalanche/graph.h b/engines/avalanche/graph.h
index d602864e0f..c79179c70e 100644
--- a/engines/avalanche/graph.h
+++ b/engines/avalanche/graph.h
@@ -37,6 +37,23 @@
namespace Avalanche {
class AvalancheEngine;
+typedef byte manitype[2049]; // manitype = array[5..2053] of byte;
+// Be aware!!!
+
+typedef byte siltype[51][11]; /* 35, 4 */
+
+class SpriteInfo {
+public:
+ byte xw; /* x-width in bytes */
+ byte xl, yl; /* x & y lengths of pictures */
+
+ manitype *mani[24];
+ siltype *sil[24];
+
+ uint16 size; /* the size of one picture */
+};
+
+
class Graph {
public:
static const int16 _screenWidth = 640;