Freeciv21
Develop your civilization from humble roots to a global empire
borders.h
Go to the documentation of this file.
1 /**************************************************************************
2  Copyright (c) 1996-2020 Freeciv21 and Freeciv contributors. This file is
3  __ __ part of Freeciv21. Freeciv21 is free software: you can
4 / \\..// \ redistribute it and/or modify it under the terms of the GNU
5  ( oo ) General Public License as published by the Free Software
6  \__/ Foundation, either version 3 of the License, or (at your
7  option) any later version. You should have received
8  a copy of the GNU General Public License along with Freeciv21. If not,
9  see https://www.gnu.org/licenses/.
10 **************************************************************************/
11 #pragma once
12 
13 bool is_border_source(struct tile *ptile);
14 int tile_border_source_radius_sq(struct tile *ptile);
15 int tile_border_source_strength(struct tile *ptile);
16 int tile_border_strength(struct tile *ptile, struct tile *source);
int tile_border_source_radius_sq(struct tile *ptile)
Border radius sq from given border source tile.
Definition: borders.cpp:27
bool is_border_source(struct tile *ptile)
Is given tile source to borders.
Definition: borders.cpp:110
int tile_border_strength(struct tile *ptile, struct tile *source)
Border source strength at tile.
Definition: borders.cpp:95
int tile_border_source_strength(struct tile *ptile)
Border source strength.
Definition: borders.cpp:63
Definition: tile.h:42