From 9311c2e7ce657110da33c9bc5ebc529b320484b9 Mon Sep 17 00:00:00 2001 From: Nick Bowler Date: Sun, 7 Feb 2010 23:24:06 -0500 Subject: [PATCH] liblbx: Add new flag. Building images have a previously-unknown flag, 0x0800. The images have a part that looks like a shadow, but it does not have any palette entry. I suspect that this flag is related to that shadow. --- src/image.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/image.c b/src/image.c index 83bac21..9ad154a 100644 --- a/src/image.c +++ b/src/image.c @@ -31,9 +31,11 @@ #include "image.h" #define FLAG_OVERWRITE 0x0400 /* Draw each frame on a clean slate (unsure). */ +#define FLAG_BUILDING 0x0800 /* Buildings have this, related to shadow? */ #define FLAG_PALETTE 0x1000 /* Image contains embedded palette. */ #define FLAG_LOOPING 0x2000 /* Loop over all frames in the image (unsure). */ -#define FLAG_ALL (FLAG_OVERWRITE|FLAG_PALETTE|FLAG_LOOPING) + +#define FLAG_ALL (FLAG_OVERWRITE|FLAG_BUILDING|FLAG_PALETTE|FLAG_LOOPING) #define HDR_LEN 12 -- 2.43.2