paniclog prefix (trunk only)
Extend the identifying information used to prefix paniclog entries
from version + date to version + date + time + userid + mode (where mode
is 'D' for wizard mode, 'X' for discover mode, and '-' for normal play).
hacklib.c ended up getting more of a revision than I intended, but
the date/time handling routines now have less clutter. I hope I didn't
break anything in the process.
This commit is contained in:
@@ -818,11 +818,13 @@ E char *FDECL(strstri, (const char *,const char *));
|
||||
#endif
|
||||
E boolean FDECL(fuzzymatch, (const char *,const char *,const char *,BOOLEAN_P));
|
||||
E void NDECL(setrandom);
|
||||
E time_t NDECL(getnow);
|
||||
E int NDECL(getyear);
|
||||
#if 0
|
||||
E char *FDECL(yymmdd, (time_t));
|
||||
#endif
|
||||
E long FDECL(yyyymmdd, (time_t));
|
||||
E long FDECL(hhmmss, (time_t));
|
||||
E int NDECL(phase_of_the_moon);
|
||||
E boolean NDECL(friday_13th);
|
||||
E int NDECL(night);
|
||||
|
||||
Reference in New Issue
Block a user