Freeciv21
Develop your civilization from humble roots to a global empire
unit_utils.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Louis Moureaux <m_louis30@yahoo.com>
2
// SPDX-License-Identifier: GPLv3-or-later
3
4
#pragma once
5
6
#include <vector>
7
8
struct
unit
;
9
struct
unit_list;
10
11
std::vector<unit *>
sorted
(
const
unit_list *units);
sorted
std::vector< unit * > sorted(const unit_list *units)
Returns a version of units sorted in the way the user would like to see them.
Definition:
unit_utils.cpp:87
unit
Definition:
unit.h:134
client
utils
unit_utils.h
Generated by
1.9.1