22#include <entt/entt.hpp>
74 operator int()
const {
return toInt(
r,
g,
b); }
84 int r = (color & 0xFF0000) >> 16;
85 int g = (color & 0x00FF00) >> 8;
86 int b = (color & 0x0000FF);
entt::entity time_zone
Definition: surface.h:56
std::vector< entt::entity > docked_ships
Definition: surface.h:96
static int toInt(int r, int g, int b)
Definition: surface.h:76
ProvinceColor(int r, int g, int b)
Definition: surface.h:70
bool operator==(const ProvinceColor &other) const
Definition: surface.h:72
int r
Definition: surface.h:66
int g
Definition: surface.h:67
static ProvinceColor fromInt(int color)
Definition: surface.h:83
int b
Definition: surface.h:68
std::vector< entt::entity > neighbors
Definition: surface.h:62
entt::entity country
Definition: surface.h:60
std::vector< entt::entity > cities
Definition: surface.h:61
std::string province_definitions
Definition: surface.h:38
std::string province_map
Definition: surface.h:37
std::string province_texture
Definition: surface.h:35
std::string adjacencies
Definition: surface.h:39
A settlement is a place where a population can live in, such as a city or a space station
Definition: surface.h:45
std::vector< entt::entity > population
Definition: surface.h:46
The list of cities and settlements that are on a city
Definition: surface.h:28
std::vector< entt::entity > settlements
Definition: surface.h:29
std::vector< entt::entity > provinces
Definition: surface.h:30
double time_diff
Definition: surface.h:52