Freeciv-3.1: pf_position Struct Reference

Freeciv-3.1

Loading...
Searching...
No Matches
Data Fields
pf_position Struct Reference

`#include <path_finding.h>`

## Data Fields

struct tile * | tile
int | turn
int | moves_left
int | fuel_left
unsigned | total_MC
unsigned | total_EC
enum direction8 | dir_to_next_pos
enum direction8 | dir_to_here

## Detailed Description

Definition at line 327 of file path_finding.h.

## Field Documentation

## ◆ dir_to_here

enum direction8 pf_position::dir_to_here

Definition at line 340 of file path_finding.h.

## ◆ dir_to_next_pos

enum direction8 pf_position::dir_to_next_pos

Definition at line 339 of file path_finding.h.

Referenced by goto_path_redraw(), and pf_normal_map_construct_path().

## ◆ fuel_left

int pf_position::fuel_left

Definition at line 332 of file path_finding.h.

Referenced by pf_path_concat(), and update_last_part().

## ◆ moves_left

int pf_position::moves_left

Definition at line 330 of file path_finding.h.

Referenced by goto_tile_state(), pf_path_concat(), and update_last_part().

## ◆ tile

struct tile* pf_position::tile

Definition at line 328 of file path_finding.h.

Referenced by adv_unit_execute_path(), goto_path_redraw(), immediate_destination(), make_path_orders(), pf_path_advance(), pf_path_backtrack(), pf_path_concat(), send_connect_route(), send_goto_route(), and tile_before_end_path().

## ◆ total_EC

unsigned pf_position::total_EC

Definition at line 337 of file path_finding.h.

Referenced by dai_log_path().

## ◆ total_MC

unsigned pf_position::total_MC

Definition at line 336 of file path_finding.h.

Referenced by dai_log_path(), and update_last_part().

## ◆ turn

int pf_position::turn

Definition at line 329 of file path_finding.h.

Referenced by auto_settler_findwork(), dai_auto_settler_run(), dai_log_path(), goto_get_turns(), goto_tile_state(), and request_unit_return().