From: Nick Bowler Date: Mon, 8 Feb 2010 04:24:06 +0000 (-0500) Subject: liblbx: Add new flag. X-Git-Url: http://git.draconx.ca/gitweb/liblbx.git/commitdiff_plain/9311c2e7ce657110da33c9bc5ebc529b320484b9 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. --- 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