webperimental: killstack decides stack protects.
[freeciv.git] / server / spacerace.h
blob5acd867520162c840f3aa3a607bb34b592ca3993
1 /**********************************************************************
2 Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License as published by
5 the Free Software Foundation; either version 2, or (at your option)
6 any later version.
8 This program is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
12 ***********************************************************************/
13 #ifndef FC__SPACERACE_H
14 #define FC__SPACERACE_H
16 /* common */
17 #include "fc_types.h"
18 #include "packets.h"
20 /* server */
21 #include "hand_gen.h"
23 struct player_spaceship;
24 struct conn_list;
26 void spaceship_calc_derived(struct player_spaceship *ship);
27 void send_spaceship_info(struct player *src, struct conn_list *dest);
28 void spaceship_lost(struct player *pplayer);
29 struct player *check_spaceship_arrival(void);
31 bool do_spaceship_place(struct player *pplayer, enum action_requester from,
32 enum spaceship_place_type type, int num);
34 #endif /* FC__SPACERACE_H */