rnd-20060819-5-src
authorHolger Schemel <info@artsoft.org>
Sat, 19 Aug 2006 16:42:44 +0000 (18:42 +0200)
committerHolger Schemel <info@artsoft.org>
Sat, 30 Aug 2014 08:53:01 +0000 (10:53 +0200)
ChangeLog
src/conftime.h
src/files.c
src/libgame/system.h
src/libgame/x11.h
src/screens.c
src/tools.c

index 28b6845d1b92f1e9011b07096de59e8fa788c2aa..6ef7fb8a947d8e8f276563795cc3e70cc8525626 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,4 @@
-2006-08-19
+2006-08-20
        * version 3.2.1 released
 
 2006-08-19
index 7557ec42e6fe863b0f6f1a87ae7ea6edd4e5f406..ca4ade1949360561f574773c80fa61084c24a71a 100644 (file)
@@ -1 +1 @@
-#define COMPILE_DATE_STRING "[2006-08-19 13:52]"
+#define COMPILE_DATE_STRING "[2006-08-19 18:41]"
index 1d0ca6dfe10a0ee18c6d6895132ce3a676e12947..deff36d69d6824171a8b05abd1aa573c420f5100 100644 (file)
@@ -5915,7 +5915,7 @@ void SaveScore(int nr)
 #define SETUP_TOKEN_TOONS                      5
 #define SETUP_TOKEN_SCROLL_DELAY               6
 #define SETUP_TOKEN_SOFT_SCROLLING             7
-#define SETUP_TOKEN_FADING                     8
+#define SETUP_TOKEN_FADE_SCREENS               8
 #define SETUP_TOKEN_AUTORECORD                 9
 #define SETUP_TOKEN_SHOW_TITLESCREEN           10
 #define SETUP_TOKEN_QUICK_DOORS                        11
@@ -6039,7 +6039,7 @@ static struct TokenInfo global_setup_tokens[] =
   { TYPE_SWITCH, &si.toons,            "toons"                         },
   { TYPE_SWITCH, &si.scroll_delay,     "scroll_delay"                  },
   { TYPE_SWITCH, &si.soft_scrolling,   "soft_scrolling"                },
-  { TYPE_SWITCH, &si.fading,           "screen_fading"                 },
+  { TYPE_SWITCH, &si.fade_screens,     "fade_screens"                  },
   { TYPE_SWITCH, &si.autorecord,       "automatic_tape_recording"      },
   { TYPE_SWITCH, &si.show_titlescreen, "show_titlescreen"              },
   { TYPE_SWITCH, &si.quick_doors,      "quick_doors"                   },
@@ -6189,7 +6189,7 @@ static void setSetupInfoToDefaults(struct SetupInfo *si)
   si->direct_draw = !si->double_buffering;
   si->scroll_delay = TRUE;
   si->soft_scrolling = TRUE;
-  si->fading = TRUE;
+  si->fade_screens = TRUE;
   si->autorecord = TRUE;
   si->show_titlescreen = TRUE;
   si->quick_doors = FALSE;
index cc2493115f5e984e5ad7a3137a01b107f4d83599..99d7c59deaadd253fa089649b09480745bbf2942 100644 (file)
@@ -769,7 +769,7 @@ struct SetupInfo
   boolean direct_draw;         /* !double_buffering (redundant!) */
   boolean scroll_delay;
   boolean soft_scrolling;
-  boolean fading;
+  boolean fade_screens;
   boolean autorecord;
   boolean show_titlescreen;
   boolean quick_doors;
index 692fe5e9fe72def2983ab5c8aade9a3ae1f9eb20..0e2ba46e2aa567b6b2d7930446b73f6100b36969 100644 (file)
@@ -339,7 +339,7 @@ void X11CreateBitmapContent(Bitmap *, int, int, int);
 void X11FreeBitmapPointers(Bitmap *);
 void X11CopyArea(Bitmap *, Bitmap *, int, int, int, int, int, int, int);
 void X11FillRectangle(Bitmap *, int, int, int, int, Pixel);
-void X11FadeScreen(Bitmap *, int, int, int, int, int, int, int);
+void X11FadeRectangle(Bitmap *, int, int, int, int, int, int, int);
 void X11DrawSimpleLine(Bitmap *, int, int, int, int, Pixel);
 Pixel X11GetPixel(Bitmap *, int, int);
 Pixel X11GetPixelFromRGB(unsigned int, unsigned int, unsigned int);
index dbd2dc2a5664fab9913e06581f406617c027ec12..09e029690df32868e6848f03384501f8afab262b 100644 (file)
@@ -2555,7 +2555,7 @@ static struct TokenInfo setup_info_graphics[] =
   { TYPE_SWITCH,       &setup.soft_scrolling,  "Soft Scrolling:"       },
   { TYPE_SWITCH,       &setup.double_buffering,"Double-Buffering:"     },
 #endif
-  { TYPE_SWITCH,       &setup.fading,          "Fading:"               },
+  { TYPE_SWITCH,       &setup.fade_screens,    "Fade Screens:"         },
   { TYPE_SWITCH,       &setup.quick_switch,    "Quick Player Focus Switch:" },
   { TYPE_SWITCH,       &setup.quick_doors,     "Quick Menu Doors:"     },
   { TYPE_SWITCH,       &setup.show_titlescreen,"Show Title Screens:"   },
index eafeb524763d57c1424d061ff48ca7ce714e230e..298a98bf45d893dba034070266f6296c269104c0 100644 (file)
@@ -424,24 +424,24 @@ void FadeExt(int fade_mask, int fade_mode)
   int post_delay = (fade_mode == FADE_MODE_FADE_OUT ? menu.post_delay : 0);
   int x, y, width, height;
 
-  if (fade_mask & REDRAW_ALL)
-  {
-    x = 0;
-    y = 0;
-    width  = WIN_XSIZE;
-    height = WIN_YSIZE;
-  }
-  else if (fade_mask & REDRAW_FIELD)
+  if (fade_mask & REDRAW_FIELD)
   {
     x = REAL_SX;
     y = REAL_SY;
     width  = FULL_SXSIZE;
     height = FULL_SYSIZE;
   }
+  else         /* REDRAW_ALL */
+  {
+    x = 0;
+    y = 0;
+    width  = WIN_XSIZE;
+    height = WIN_YSIZE;
+  }
 
   redraw_mask |= fade_mask;
 
-  if (!setup.fading || fade_delay == 0)
+  if (!setup.fade_screens || fade_delay == 0)
   {
     if (fade_mode == FADE_MODE_FADE_OUT)
       ClearRectangle(backbuffer, x, y, width, height);