server.h 827 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. #define WANT_PROTOCOL_VERSION 1
  5. #include "../general.h"
  6. #include "../netlib/net.h"
  7. #include <glib.h>
  8. #include <gmodule.h>
  9. #include "public.h"
  10. #include "action.h"
  11. #include "private.h"
  12. #include "network.h"
  13. #include "server.h"
  14. #include "conf.h"
  15. #include "game.h"
  16. #include "plugins.h"
  17. #include "exec.h"
  18. #include "parser.h"
  19. #include "erreur.h"
  20. #include "ipc.h"
  21. #include "client.h"
  22. #include "message.h"
  23. extern player_t *gl_player;
  24. /* Initialization functions */
  25. conf_t *init(int argc, char **argv);
  26. void launch_game(conf_t *conf);
  27. void load_map(conf_t *conf);
  28. void start_client(player_t *player, int turn_num);
  29. /* Time functions */
  30. void start_timer();
  31. void stop_timer();
  32. int time_left();
  33. void abort();
  34. #endif