(weekday, daytime, daytime_range): New; replace kw_parse(). Parsing
is somewhat stricter. (is_wday_allowed, is_daytime_allowed, is_daytime_nar, min_to_next_daytime): New. (demand_update_time, scheduled_update_time, next_scheduled_time, update_time, gamehours): Use them to replace kw_parse(). (kw_parse): No longer used, remove.
This commit is contained in:
parent
ded3daf70d
commit
acdee1e3b6
12 changed files with 211 additions and 295 deletions
|
@ -34,7 +34,6 @@
|
|||
|
||||
#include "misc.h"
|
||||
#include "player.h"
|
||||
#include "keyword.h"
|
||||
#include "empthread.h"
|
||||
#include "prototypes.h"
|
||||
#include "optlist.h"
|
||||
|
@ -49,7 +48,6 @@ time_t update_time;
|
|||
void
|
||||
update_sched(void *unused)
|
||||
{
|
||||
s_char *kw;
|
||||
int wind;
|
||||
time_t now, delta;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue