{
const char *old_nomovemsg, *save_nomovemsg;
- debugpline("start_eating: %lx (victual = %lx)", otmp, context.victual.piece);
+ debugpline("start_eating: %p (victual = %p)", otmp, context.victual.piece);
debugpline("reqtime = %d", context.victual.reqtime);
debugpline("(original reqtime = %d)", objects[otmp->otyp].oc_delay);
debugpline("nmod = %d", context.victual.nmod);
#define QTEXT_FILE "quest.dat"
+#ifdef TTY_GRAPHICS
+#include "wintty.h"
+#endif
+
/* from sp_lev.c, for deliver_splev_message() */
extern char *lev_message;
for (msg = qt_list.chrole; msg->msgnum > 0; msg++) {
pline("msgnum %d: delivery %c",
msg->msgnum, msg->delivery);
+#ifdef TTY_GRAPHICS
more();
+#endif
(void) dlb_fseek(msg_file, msg->offset, SEEK_SET);
deliver_by_window(msg, NHW_TEXT);
}
qt_hdr.n_hdr, ofp);
#ifdef DEBUG
for(i = 0; i < qt_hdr.n_hdr; i++)
- Fprintf(stderr, "%c @ %ld, ", qt_hdr.id[i], qt_hdr.offset[i]);
+ Fprintf(stderr, "%s @ %ld, ", qt_hdr.id[i], qt_hdr.offset[i]);
Fprintf(stderr, "\n");
#endif
for(i = 0; i < qt_hdr.n_hdr; i++) {
#ifdef DEBUG
- Fprintf(stderr, "%ld: %c header info.\n", ftell(ofp),
+ Fprintf(stderr, "%ld: %s header info.\n", ftell(ofp),
qt_hdr.id[i]);
#endif
(void) fwrite((genericptr_t)&(msg_hdr[i].n_msg), sizeof(int),