X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgifload.c;h=1e1aebcd43cb3706f9594a2c0ee0b9890300a941;hb=e7f36cd97c8580345714b4a22d6b4ad291e50ed6;hp=fc2fc28af8602ee4cb20a2efede6ba6223576cfb;hpb=3367ba5eaec57086e3c1013708967e8a995ef2e3;p=rocksndiamonds.git diff --git a/src/gifload.c b/src/gifload.c index fc2fc28a..1e1aebcd 100644 --- a/src/gifload.c +++ b/src/gifload.c @@ -1,13 +1,12 @@ /*********************************************************** * Rocks'n'Diamonds -- McDuffin Strikes Back! * *----------------------------------------------------------* -* ©1995 Artsoft Development * -* Holger Schemel * -* 33659 Bielefeld-Senne * -* Telefon: (0521) 493245 * -* eMail: aeglos@valinor.owl.de * -* aeglos@uni-paderborn.de * -* q99492@pbhrzx.uni-paderborn.de * +* (c) 1995-98 Artsoft Entertainment * +* Holger Schemel * +* Oststrasse 11a * +* 33604 Bielefeld * +* phone: ++49 +521 290471 * +* email: aeglos@valinor.owl.de * *----------------------------------------------------------* * gifload.c * ***********************************************************/ @@ -18,7 +17,9 @@ #include "xli.h" #ifdef DEBUG +/* #define DEBUG_TIMING +*/ #endif @@ -51,7 +52,7 @@ int Read_GIF_to_Pixmaps(Display *display, Window window, char *filename, #ifdef DEBUG_TIMING count2 = Counter(); printf(" LOADING '%s' IN %.2f SECONDS\n", - filename, (float)(count2-count1)/100.0); + filename, (float)(count2-count1)/1000.0); count1 = Counter(); #endif @@ -67,7 +68,7 @@ int Read_GIF_to_Pixmaps(Display *display, Window window, char *filename, #ifdef DEBUG_TIMING count2 = Counter(); printf(" COMPRESSING IMAGE COLORMAP IN %.2f SECONDS\n", - (float)(count2-count1)/100.0); + (float)(count2-count1)/1000.0); count1 = Counter(); #endif @@ -85,7 +86,7 @@ int Read_GIF_to_Pixmaps(Display *display, Window window, char *filename, #ifdef DEBUG_TIMING count2 = Counter(); printf(" CONVERTING IMAGE TO XIMAGE IN %.2f SECONDS\n", - (float)(count2-count1)/100.0); + (float)(count2-count1)/1000.0); count1 = Counter(); #endif @@ -102,7 +103,7 @@ int Read_GIF_to_Pixmaps(Display *display, Window window, char *filename, #ifdef DEBUG_TIMING count2 = Counter(); printf(" CONVERTING IMAGE TO PIXMAP IN %.2f SECONDS\n", - (float)(count2-count1)/100.0); + (float)(count2-count1)/1000.0); count1 = Counter(); #endif @@ -112,7 +113,7 @@ int Read_GIF_to_Pixmaps(Display *display, Window window, char *filename, #ifdef DEBUG_TIMING count2 = Counter(); printf(" CONVERTING IMAGE TO MASK IN %.2f SECONDS\n", - (float)(count2-count1)/100.0); + (float)(count2-count1)/1000.0); count1 = Counter(); #endif @@ -127,7 +128,7 @@ int Read_GIF_to_Pixmaps(Display *display, Window window, char *filename, #ifdef DEBUG_TIMING count2 = Counter(); printf(" CONVERTING MASK TO XIMAGE IN %.2f SECONDS\n", - (float)(count2-count1)/100.0); + (float)(count2-count1)/1000.0); count1 = Counter(); #endif @@ -141,7 +142,7 @@ int Read_GIF_to_Pixmaps(Display *display, Window window, char *filename, #ifdef DEBUG_TIMING count2 = Counter(); printf(" CONVERTING MASK TO PIXMAP IN %.2f SECONDS\n", - (float)(count2-count1)/100.0); + (float)(count2-count1)/1000.0); count1 = Counter(); #endif