22#include <entt/entt.hpp>
72 operator int()
const {
return toInt(
r,
g,
b); }
82 int r = (color & 0xFF0000) >> 16;
83 int g = (color & 0x00FF00) >> 8;
84 int b = (color & 0x0000FF);
When adding assets, it is extremely crucial that you read cqsp::asset::AssetLoader::LoadResources to ...
Definition: clientctx.h:21
entt::entity time_zone
Definition: surface.h:55
If people are living on a planet or not
Definition: surface.h:34
std::vector< entt::entity > settlements
Definition: surface.h:35
ProvinceColor(int r, int g, int b)
Definition: surface.h:68
static int toInt(int r, int g, int b)
Definition: surface.h:74
int r
Definition: surface.h:64
static ProvinceColor fromInt(int color)
Definition: surface.h:81
int g
Definition: surface.h:65
int b
Definition: surface.h:66
bool operator==(const ProvinceColor &other) const
Definition: surface.h:70
std::vector< entt::entity > cities
Definition: surface.h:60
entt::entity country
Definition: surface.h:59
std::string province_map
Definition: surface.h:40
std::string province_texture
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:46
std::vector< entt::entity > population
Definition: surface.h:47
int64_t seed
Definition: surface.h:28
double time_diff
Definition: surface.h:51