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)
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 ***********************************************************************/
14 #ifndef FC__BARBARIAN_H
15 #define FC__BARBARIAN_H
18 #include "support.h" /* bool type */
23 #define MIN_UNREST_DIST 5
24 #define MAX_UNREST_DIST 8
26 #define UPRISE_CIV_SIZE 10
28 #define MAP_FACTOR 2000 /* adjust this to get a good uprising frequency */
30 #define BARBARIAN_MIN_LIFESPAN 5
32 bool unleash_barbarians(struct tile
*ptile
);
33 void summon_barbarians(void);
34 bool is_land_barbarian(struct player
*pplayer
);
35 bool is_sea_barbarian(struct player
*pplayer
);
37 struct player
*create_barbarian_player(enum barbarian_type type
);
39 #endif /* FC__BARBARIAN_H */