global_timeout.tv_usec -= 1000000;
}
}
+ return;
}
/* This returns the number of milliseconds until the input timeout
strcpy( *history_next, (char *)str);
RING_INC( history_next, history_buffer, history_end);
history_view = history_next; /* Reset user frame after each line */
+
+ return;
}
/*
}
}
move(y, x);
+
+ return;
}
/*
while (n--)
mvaddch(y, start + n, c);
move(y, x);
+
+ return;
}
/*
zword os_read_mouse (void)
{
/* INCOMPLETE */
-
+ return 0;
} /* os_read_mouse */
p += n; q += n;
while (n--) *--p = *--q;
}
+ return;
}
#endif /* NO_MEMMOVE */
#define PIC_HEADER_HEIGHT 4
static void safe_mvaddch(int, int, int);
-static void save_scrnset(int, int, int, int);
static struct {
int z_num;
int quotient = x / y;
int dblremain = (x % y) << 1;
- if ((dblremain > y) || (dblremain == y) && (quotient & 1))
+ if ((dblremain > y) || ((dblremain == y) && (quotient & 1)))
quotient++;
return quotient;
}
dotpos = strrchr(basename, '.');
namelen = (dotpos ? dotpos - basename : strlen(basename));
sprintf(filename, "%.*sgraphics/%.*s.mg1",
- basename - f_setup.story_name, f_setup.story_name, namelen, basename);
+ (int)(basename - f_setup.story_name), f_setup.story_name, namelen, basename);
do {
int i, entry_size, flags, x_scale, y_scale;
/* Copy and scale. */
for (i = 1; i <= num_pictures; i++) {
unsigned char *p = raw_info + entry_size * (i - 1);
- int height, width;
pict_info[i].z_num = lookupw(p, PIC_HEADER_NUMBER);
pict_info[i].orig_height = lookupw(p, PIC_HEADER_HEIGHT);
pict_info[i].orig_width = lookupw(p, PIC_HEADER_WIDTH);