]> git.pond.sub.org Git - empserver/blobdiff - include/server.h
Update known contributors comments
[empserver] / include / server.h
index a0da6c1c9d594dff29f2fcec042384564999cbac..ecb9bc894081b7642ee91571343f807161141a24 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1986-2007, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ *  Copyright (C) 1986-2009, Dave Pare, Jeff Bailey, Thomas Ruschak,
  *                           Ken Stevens, Steve McClure
  *
  *  This program is free software; you can redistribute it and/or modify
@@ -26,9 +26,9 @@
  *  ---
  *
  *  server.h: Server startup, control and shutdown
- * 
+ *
  *  Known contributors to this file:
- *     Markus Armbruster, 2004
+ *     Markus Armbruster, 2004-2009
  */
 
 #ifndef SERVER_H
 
 #include "empthread.h"
 
+#define UPDATE_TIME_LEN 16
+
 extern int shutdown_pending;
-extern int update_pending;
-extern empth_rwlock_t *update_lock;
-extern time_t update_time;
-extern int updating_mob;
+extern empth_rwlock_t *play_lock;
+extern int update_running;
+extern time_t update_time[UPDATE_TIME_LEN];
 
-void mobility_init(void);
 void market_init(void);
 void update_main(void);
 void update_init(void);
-int update_trigger(time_t);
+int update_trigger(void);
+int update_reschedule(void);
+int run_hook(char *, char *);
 int shutdown_initiate(int);
 
-/* thread entry points */
-void delete_lostitems(void *);
-void mobility_check(void *);
-void player_kill_idle(void *);
-
 #endif