Freeciv-3.2
Loading...
Searching...
No Matches
spacerace.h
Go to the documentation of this file.
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.
7
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
15
16/* common */
17#include "fc_types.h"
18#include "packets.h"
19
20/* server */
21#include <hand_gen.h> /* <> so looked from the build directory first. */
22
23struct player_spaceship;
24struct conn_list;
25
27void send_spaceship_info(struct player *src, struct conn_list *dest);
28void spaceship_arrived(struct player *pplayer);
29void spaceship_lost(struct player *pplayer);
30double spaceship_arrival(const struct player *pplayer);
31int rank_spaceship_arrival(struct player **result);
32
33bool do_spaceship_place(struct player *pplayer, enum action_requester from,
34 enum spaceship_place_type type, int num);
35
36#endif /* FC__SPACERACE_H */
char * incite_cost
Definition comments.c:75
spaceship_place_type
Definition fc_types.h:1296
GType type
Definition repodlgs.c:1313
int rank_spaceship_arrival(struct player **result)
Definition spacerace.c:460
void spaceship_lost(struct player *pplayer)
Definition spacerace.c:431
bool do_spaceship_place(struct player *pplayer, enum action_requester from, enum spaceship_place_type type, int num)
Definition spacerace.c:215
double spaceship_arrival(const struct player *pplayer)
Definition spacerace.c:446
void spaceship_calc_derived(struct player_spaceship *ship)
Definition spacerace.c:46
void send_spaceship_info(struct player *src, struct conn_list *dest)
Definition spacerace.c:129
void spaceship_arrived(struct player *pplayer)
Definition spacerace.c:420