22#include <entt/entt.hpp>
77 operator int()
const {
return toInt(
r,
g,
b); }
87 int r = (color & 0xFF0000) >> 16;
88 int g = (color & 0x00FF00) >> 8;
89 int b = (color & 0x0000FF);
When adding assets, it is extremely crucial that you read cqsp::asset::AssetLoader::LoadResources to ...
Definition: clientctx.h:22
entt::entity time_zone
Definition: surface.h:59
std::vector< entt::entity > docked_ships
Definition: surface.h:99
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:73
static int toInt(int r, int g, int b)
Definition: surface.h:79
int r
Definition: surface.h:69
static ProvinceColor fromInt(int color)
Definition: surface.h:86
int g
Definition: surface.h:70
int b
Definition: surface.h:71
bool operator==(const ProvinceColor &other) const
Definition: surface.h:75
std::vector< entt::entity > cities
Definition: surface.h:64
std::vector< entt::entity > neighbors
Definition: surface.h:65
entt::entity country
Definition: surface.h:63
std::string province_map
Definition: surface.h:42
std::string province_texture
Definition: surface.h:40
std::string province_definitions
Definition: surface.h:43
std::string adjacencies
Definition: surface.h:44
A settlement is a place where a population can live in, such as a city or a space station
Definition: surface.h:50
std::vector< entt::entity > population
Definition: surface.h:51
int64_t seed
Definition: surface.h:28
double time_diff
Definition: surface.h:55