/*
* Empire - A multi-player, client/server Internet based war game.
- * Copyright (C) 1986-2009, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ * Copyright (C) 1986-2010, Dave Pare, Jeff Bailey, Thomas Ruschak,
* Ken Stevens, Steve McClure
*
* This program is free software; you can redistribute it and/or modify
#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);
}
}
+ journal_output(pl, id, buf);
+
if (player == pl) {
while (io_output_if_queue_long(pl->iop,
pl->may_sleep == PLAYER_SLEEP_FREELY) > 0)
}
}
+ journal_output(pl, id, buf);
+
if (player == pl) {
while (io_output_if_queue_long(pl->iop,
pl->may_sleep == PLAYER_SLEEP_FREELY) > 0)