Difference for x11/xutil.c from version 1.18 to 1.19


version 1.18 version 1.19
Line 1
 
Line 1
 char *rcsid_x11_xutil_c =  char *rcsid_x11_xutil_c =
     "$Id: xutil.c,v 1.18 2005/03/22 07:23:00 mwedel Exp $";      "$Id: xutil.c,v 1.19 2005/03/27 20:51:25 akirschbaum Exp $";
 /*  /*
     Crossfire client, a client program for the crossfire program.      Crossfire client, a client program for the crossfire program.
   
Line 123
 
Line 123
 #define MAX_KEYCODE 255  #define MAX_KEYCODE 255
 static Key_Entry *keys[256];  static Key_Entry *keys[256];
   
 /* This holds the name we recieve with the 'face' command so we know what  
  * to save it as when we actually get the face.  
  */  
 char *facetoname[MAXPIXMAPNUM];  
   
 /* Can be set when user is moving to new machine type */  /* Can be set when user is moving to new machine type */
 uint8 updatekeycodes=FALSE;  uint8 updatekeycodes=FALSE;
   
Line 154
 
Line 149
      */       */
     pixmaps[0]->pixmap=XCreatePixmap(display, win_root, image_size, image_size,       pixmaps[0]->pixmap=XCreatePixmap(display, win_root, image_size, image_size,
  DefaultDepth(display,DefaultScreen(display)));   DefaultDepth(display,DefaultScreen(display)));
       pixmaps[0]->width = 1;
       pixmaps[0]->height = 1;
     XCopyPlane(display, ptmp, pixmaps[0]->pixmap, gc_game,      XCopyPlane(display, ptmp, pixmaps[0]->pixmap, gc_game,
         0,0,image_size,image_size,0,0,1);          0,0,image_size,image_size,0,0,1);
     XFreePixmap(display, ptmp);      XFreePixmap(display, ptmp);
    
     facetoname[0]=NULL;  
   
     /* Initialize all the images to be of the same value. */      /* Initialize all the images to be of the same value. */
     for (i=1; i<MAXPIXMAPNUM; i++)  {      for (i=1; i<MAXPIXMAPNUM; i++)  {
  pixmaps[i]=pixmaps[0];   pixmaps[i]=pixmaps[0];
  facetoname[i]=NULL;  
     }      }
   
     init_common_cache_data();      init_common_cache_data();


Legend:
line(s) removed in v.1.18 
line(s) changed
 line(s) added in v.1.19

File made using version 1.96 of cvs2html by leaf at 2006-02-16 21:08