New journal event output

To enable, set econfig key keep_journal to at least 2.  Output events
are *not* flushed to disk immediately.

Put it in Hvy Metal II now to gather real data for future testing of a
journal replay tool.
This commit is contained in:
Markus Armbruster 2008-07-29 20:38:48 -04:00
parent cb1c9f6a19
commit 9398627ec4
3 changed files with 20 additions and 1 deletions

View file

@ -34,12 +34,15 @@
#ifndef JOURNAL_H
#define JOURNAL_H
struct player; /* FIXME temporary hack */
int journal_startup(void);
void journal_shutdown(void);
int journal_reopen(void);
void journal_login(void);
void journal_logout(void);
void journal_prng(unsigned);
void journal_output(struct player *, int, char *);
void journal_input(char *);
void journal_command(char *);
void journal_update(int);