![]() |
Freeciv21
Develop your civilization from humble roots to a global empire
|
#include <path.h>
Inheritance diagram for freeciv::path::step:
Collaboration diagram for freeciv::path::step:Public Attributes | |
| tile * | location |
| Where we are. More... | |
| unit * | loaded |
| The unit we are loaded in. More... | |
| bool | moved |
| Whether we moved this turn (for HP recovery) More... | |
| bool | paradropped |
| Whether we paradropped this turn. More... | |
| bool | is_final |
| Whether this vertex can have children. More... | |
| int | waypoints |
| How many waypoints we have visited so far. More... | |
| int | turns |
| How many turns it takes to get there. More... | |
| int | moves_left |
| How many move fragments the unit has left. More... | |
| int | health |
| How many HP the unit has left. More... | |
| int | fuel_left |
| How much fuel the unit has left. More... | |
| unit_order | order |
| The order to come here. More... | |
| int freeciv::path::step::fuel_left |
How much fuel the unit has left.
Definition at line 33 of file path.h.
Referenced by freeciv::detail::vertex::comparable(), freeciv::detail::vertex::fill_probe(), freeciv::detail::vertex::operator==(), and freeciv::detail::vertex::operator>().
| int freeciv::path::step::health |
How many HP the unit has left.
Definition at line 32 of file path.h.
Referenced by freeciv::detail::vertex::comparable(), freeciv::detail::vertex::fill_probe(), freeciv::detail::vertex::operator==(), and freeciv::detail::vertex::operator>().
| bool freeciv::path::step::is_final |
Whether this vertex can have children.
Definition at line 26 of file path.h.
Referenced by freeciv::detail::vertex::comparable(), freeciv::detail::vertex::operator==(), and freeciv::refuel_destination::reached().
| unit* freeciv::path::step::loaded |
The unit we are loaded in.
Definition at line 23 of file path.h.
Referenced by freeciv::path_finder::path_finder_private::attempt_load(), freeciv::path_finder::path_finder_private::attempt_move(), freeciv::path_finder::path_finder_private::attempt_unload(), freeciv::detail::vertex::comparable(), freeciv::detail::vertex::fill_probe(), and freeciv::detail::vertex::operator==().
| tile* freeciv::path::step::location |
Where we are.
Definition at line 22 of file path.h.
Referenced by freeciv::path_finder::path_finder_private::attempt_action_move(), freeciv::path_finder::path_finder_private::attempt_load(), freeciv::path_finder::path_finder_private::attempt_move(), freeciv::path_finder::path_finder_private::attempt_paradrop(), freeciv::detail::vertex::comparable(), freeciv::detail::vertex::fill_probe(), freeciv::path_finder::path_finder_private::maybe_insert_vertex(), freeciv::detail::vertex::operator==(), freeciv::tile_destination::reached(), freeciv::allied_city_destination::reached(), and freeciv::refuel_destination::reached().
| bool freeciv::path::step::moved |
Whether we moved this turn (for HP recovery)
Definition at line 24 of file path.h.
Referenced by freeciv::path_finder::path_finder_private::attempt_unload(), freeciv::detail::vertex::comparable(), freeciv::detail::vertex::fill_probe(), and freeciv::detail::vertex::operator==().
| int freeciv::path::step::moves_left |
How many move fragments the unit has left.
Definition at line 31 of file path.h.
Referenced by freeciv::path_finder::path_finder_private::attempt_full_mp(), freeciv::path_finder::path_finder_private::attempt_load(), freeciv::detail::vertex::comparable(), freeciv::detail::vertex::fill_probe(), freeciv::path_finder::path_finder_private::maybe_insert_vertex(), freeciv::detail::vertex::operator==(), and freeciv::detail::vertex::operator>().
| unit_order freeciv::path::step::order |
The order to come here.
Definition at line 35 of file path.h.
Referenced by freeciv::path_finder::path_finder_private::attempt_action_move(), freeciv::path_finder::path_finder_private::attempt_full_mp(), freeciv::path_finder::path_finder_private::attempt_move(), and freeciv::detail::vertex::child_for_action().
| bool freeciv::path::step::paradropped |
Whether we paradropped this turn.
Definition at line 25 of file path.h.
Referenced by freeciv::detail::vertex::comparable(), freeciv::detail::vertex::fill_probe(), freeciv::detail::vertex::operator==(), and freeciv::detail::vertex::operator>().
| int freeciv::path::step::turns |
How many turns it takes to get there.
Definition at line 30 of file path.h.
Referenced by freeciv::detail::vertex::comparable(), freeciv::detail::vertex::operator==(), and freeciv::detail::vertex::operator>().
| int freeciv::path::step::waypoints |
How many waypoints we have visited so far.
Definition at line 27 of file path.h.
Referenced by freeciv::detail::vertex::comparable(), freeciv::path_finder::path_finder_private::is_reached(), and freeciv::detail::vertex::operator==().