server.h 466 B

1234567891011121314151617181920212223
  1. /* $Id: server.h,v 1.22 2001/04/14 16:50:48 kilobug Exp $ */
  2. #ifndef __PROLO_SERVER_H__
  3. #define __PROLO_SERVER_H__
  4. #include <plugins.h>
  5. #include <conf.h>
  6. extern player_t *gl_player;
  7. /* Initialization functions */
  8. conf_t *init(int argc, char **argv);
  9. void launch_game(conf_t *conf);
  10. void load_map(conf_t *conf);
  11. void start_client(player_t *player, int turn_num);
  12. /* Time functions */
  13. void start_timer();
  14. void stop_timer();
  15. int time_left();
  16. void abort();
  17. #endif