aboutsummaryrefslogtreecommitdiff
path: root/saga/animation.h
diff options
context:
space:
mode:
Diffstat (limited to 'saga/animation.h')
-rw-r--r--saga/animation.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/saga/animation.h b/saga/animation.h
index 4f41d8c75a..1fafe892f3 100644
--- a/saga/animation.h
+++ b/saga/animation.h
@@ -31,8 +31,17 @@ namespace Saga {
#define MAX_ANIMATIONS 7
#define DEFAULT_FRAME_TIME 140
-#define SAGA_FRAME_HEADER_MAGIC 15
-#define SAGA_FRAME_HEADER_LEN 12
+#define SAGA_FRAME_HEADER_LEN (IS_MAC_VERSION ? 13 : 12)
+
+#define SAGA_FRAME_START 0xF
+#define SAGA_FRAME_END 0x3F
+#define SAGA_FRAME_REPOSITION 0x30
+#define SAGA_FRAME_ROW_END 0x2F
+#define SAGA_FRAME_LONG_COMPRESSED_RUN 0x20
+#define SAGA_FRAME_LONG_UNCOMPRESSED_RUN 0x10
+#define SAGA_FRAME_COMPRESSED_RUN 0x80
+#define SAGA_FRAME_UNCOMPRESSED_RUN 0x40
+#define SAGA_FRAME_EMPTY_RUN 0xC0
// All animation resources begin with an ANIMATION_HEADER
// at 0x00, followed by a RLE code stream