Freeciv-3.3: /fast/freeciv/nightly/main/server/spacerace.h Source File

Freeciv-3.3

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
26void spaceship_calc_derived(struct player_spaceship *ship);
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 */
incite_cost
char * incite_cost
Definition comments.c:74
fc_types.h
spaceship_place_type
spaceship_place_type
Definition fc_types.h:1277
type
GType type
Definition repodlgs.c:1313
hand_gen.h
packets.h
rank_spaceship_arrival
int rank_spaceship_arrival(struct player **result)
Definition spacerace.c:460
spaceship_lost
void spaceship_lost(struct player *pplayer)
Definition spacerace.c:431
do_spaceship_place
bool do_spaceship_place(struct player *pplayer, enum action_requester from, enum spaceship_place_type type, int num)
Definition spacerace.c:215
spaceship_arrival
double spaceship_arrival(const struct player *pplayer)
Definition spacerace.c:446
spaceship_calc_derived
void spaceship_calc_derived(struct player_spaceship *ship)
Definition spacerace.c:46
send_spaceship_info
void send_spaceship_info(struct player *src, struct conn_list *dest)
Definition spacerace.c:129
spaceship_arrived
void spaceship_arrived(struct player *pplayer)
Definition spacerace.c:420
player_spaceship
Definition spaceship.h:94
player
Definition player.h:249