projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
improved terminal/logfile output of automatic tape replay (progress/summary)
[rocksndiamonds.git]
/
src
/
libgame
/
misc.c
diff --git
a/src/libgame/misc.c
b/src/libgame/misc.c
index bd069f921a93ad629d1e61e1d0d3995672f59639..0c0e82c2bc45e6621f104f9bd0947e3ff3dfa269 100644
(file)
--- a/
src/libgame/misc.c
+++ b/
src/libgame/misc.c
@@
-222,6
+222,18
@@
void Print(char *format, ...)
va_end(ap);
}
va_end(ap);
}
+void PrintNoLog(char *format, ...)
+{
+ FILE *file = program.log_file_default[LOG_OUT_ID];
+ va_list ap;
+
+ va_start(ap, format);
+ vfprintf(file, format, ap);
+ va_end(ap);
+
+ fflush(file);
+}
+
void PrintLine(char *line_chars, int line_length)
{
int i;
void PrintLine(char *line_chars, int line_length)
{
int i;