aboutsummaryrefslogtreecommitdiffstats
path: root/log.h
diff options
context:
space:
mode:
authorwrog <wrog>2004-05-22 01:25:43 +0000
committerwrog <wrog>2004-05-22 01:25:43 +0000
commiteb039bfdc08bd288a779014d4f0216048c789a70 (patch)
tree7851d677083d0756f183aae465eed9b6bd8a5c57 /log.h
parent9305c9aa5c57241080e5d0c9029498234def197a (diff)
downloadmoo-cvs-eb039bfdc08bd288a779014d4f0216048c789a70.tar.gz
moo-cvs-eb039bfdc08bd288a779014d4f0216048c789a70.tar.xz
moo-cvs-eb039bfdc08bd288a779014d4f0216048c789a70.zip
merging in WROGUE changes (W_SRCIP, W_STARTUP, W_OOB)
Diffstat (limited to 'log.h')
-rw-r--r--log.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/log.h b/log.h
index 2beb53e..6363fb4 100644
--- a/log.h
+++ b/log.h
@@ -30,8 +30,20 @@ extern void reset_command_history(void);
extern void log_command_history(void);
extern void add_command_to_history(Objid player, const char *command);
+
+#define log_report_progress() ((--log_pcount <= 0) && log_report_progress_cktime())
+
+extern int log_pcount;
+extern int log_report_progress_cktime();
+
/*
* $Log$
+ * Revision 1.4 2004/05/22 01:25:43 wrog
+ * merging in WROGUE changes (W_SRCIP, W_STARTUP, W_OOB)
+ *
+ * Revision 1.3.10.1 2003/06/03 12:19:27 wrog
+ * added log_report_progress()
+ *
* Revision 1.3 1998/12/14 13:18:00 nop
* Merge UNSAFE_OPTS (ref fixups); fix Log tag placement to fit CVS whims
*