From: Holger Schemel Date: Mon, 29 Nov 2004 22:29:53 +0000 (+0100) Subject: rnd-20041129-4-src X-Git-Tag: 3.1.1^2~38 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=13ff4ef54e998e44d25ac56e8677a054b0155b3e;p=rocksndiamonds.git rnd-20041129-4-src --- diff --git a/src/conftime.h b/src/conftime.h index 95d114b2..cdf79d71 100644 --- a/src/conftime.h +++ b/src/conftime.h @@ -1 +1 @@ -#define COMPILE_DATE_STRING "[2004-11-29 18:02]" +#define COMPILE_DATE_STRING "[2004-11-29 23:28]" diff --git a/src/tools.c b/src/tools.c index bd1ded0c..ffc1f1ec 100644 --- a/src/tools.c +++ b/src/tools.c @@ -5969,8 +5969,12 @@ void InitGraphicInfo_EM(void) #endif /* create unique graphic identifier to decide if tile must be redrawn */ + /* bit 31 - 16 (16 bit): EM style element + bit 15 - 12 ( 4 bit): EM style frame + bit 11 - 6 ( 6 bit): graphic width + bit 5 - 0 ( 6 bit): graphic height */ g_em->unique_identifier = - (i << 16) | (frame << 8) | g_em->width | g_em->height; + (i << 16) | (j << 12) | (g_em->width << 6) | g_em->height; #if DEBUG_EM_GFX if (g_em->bitmap != debug_bitmap ||