]> git.draconx.ca Git - liblbx.git/commitdiff
liblbx: Add new flag.
authorNick Bowler <nbowler@draconx.ca>
Mon, 8 Feb 2010 04:24:06 +0000 (23:24 -0500)
committerNick Bowler <nbowler@draconx.ca>
Mon, 8 Feb 2010 17:00:55 +0000 (12:00 -0500)
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

index 83bac2149dc0d8b02075a8c6c30b39603e756898..9ad154acd64b779463db4c2e66fabc6dc06fee20 100644 (file)
 #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