New news selector duration

Backed by new struct nwsstr member nws_duration.  Time between first
and last occurence of the news recorded in this item, in seconds.
This commit is contained in:
Markus Armbruster 2009-12-31 09:17:54 +01:00
parent 39114987a9
commit b719f39c0f
3 changed files with 9 additions and 4 deletions

View file

@ -55,6 +55,7 @@ struct nwsstr {
unsigned char nws_vrb; /* action (verb) */
natid nws_vno; /* "victim" country # */
signed char nws_ntm; /* number of times */
short nws_duration; /* last time at nws_when + nws_duration */
time_t nws_when; /* time of action */
};