#include "com.h"
#include "empio.h"
#include "file.h"
+#include "journal.h"
#include "misc.h"
#include "nat.h"
#include "player.h"
if (p->curid >= 0) {
io_puts(p->iop, "\n");
+ journal_output(p, p->curid, "\n");
p->curid = -1;
}
va_start(ap, format);
bp += len;
}
}
+ journal_output(pl, id, buf);
}
/*
io_puts(pl->iop, printbuf);
}
}
+ journal_output(pl, id, buf);
}
/*
{
int r;
- /*
- * Each prompt must consume one line of input. recvclient()
- * doesn't do that while player->aborted.
- */
- CANT_HAPPEN(player->aborted);
-
if (CANT_HAPPEN(!prompt))
prompt = "? ";
{
int r;
- /* See prmptrd() */
- CANT_HAPPEN(player->aborted);
-
if (CANT_HAPPEN(!prompt))
prompt = "? ";