#endif
/* map glyph to character and color */
- (void) mapglyph(glyph, &och, &color, &special, x, y);
+ (void) mapglyph(glyph, &och, &color, &special, x, y, 0);
ch = (uchar) och;
if (special != map_info->tile_map.glyphs[y][x].special) {
post_process_tiles()
{
Display *dpy = XtDisplay(toplevel);
-#if 0 /*JP*/
+#ifndef X11LARGETILE
unsigned int width, height;
if (tile_image == 0)
XpmFreeXpmImage(&tile_image);
}
# endif
-#endif /*JP*/
+#endif
init_annotation(&pet_annotation, appResources.pet_mark_bitmap,
appResources.pet_mark_color);
attributes.valuemask = XpmCloseness;
attributes.closeness = 25000;
-# if 0 /*JP*/
+# ifndef X11LARGETILE
errorcode = XpmReadFileToImage(dpy, appResources.tile_file, &tile_image,
0, &attributes);
# else
NULL);
# endif
-# if 0 /*JP*/
+# ifndef X11LARGETILE
if (errorcode == XpmColorFailed) {
Sprintf(buf, "Insufficient colors available to load %s.",
appResources.tile_file);
switch (event->type) {
case ButtonPress:
+ if (!iflags.wc_mouse_support)
+ return;
+
button = (XButtonEvent *) event;
#ifdef VERBOSE_INPUT
printf("button press\n");