Freeciv-3.2
Loading...
Searching...
No Matches
Functions
borders.h File Reference

Go to the source code of this file.

Functions

bool is_border_source (struct tile *ptile)
 
int tile_border_source_radius_sq (struct tile *ptile)
 
int tile_border_source_strength (struct tile *ptile)
 
int tile_border_strength (struct tile *ptile, struct tile *source)
 

Function Documentation

◆ is_border_source()

bool is_border_source ( struct tile ptile)

Is given tile source to borders.

Definition at line 116 of file borders.c.

Referenced by map_calculate_borders(), and map_claim_border().

◆ tile_border_source_radius_sq()

int tile_border_source_radius_sq ( struct tile ptile)

Border radius sq from given border source tile.

Definition at line 33 of file borders.c.

Referenced by city_reduce_size(), map_claim_border(), and map_clear_border().

◆ tile_border_source_strength()

int tile_border_source_strength ( struct tile ptile)

Border source strength

Definition at line 69 of file borders.c.

Referenced by tile_border_strength().

◆ tile_border_strength()

int tile_border_strength ( struct tile ptile,
struct tile source 
)

Border source strength at tile

Definition at line 101 of file borders.c.

Referenced by map_claim_border().