|
Conquer Space 0.0.0
A space themed grand strategy game set in the near future, with realistic orbital mechanics, and an emphasis on economics and politics.
|
#include <hjson.h>#include <map>#include <string>#include "common/components/resource.h"#include "common/components/units.h"#include "common/universe.h"Go to the source code of this file.
Namespaces | |
| namespace | cqsp |
| namespace | cqsp::common |
| namespace | cqsp::common::loading |
Functions | |
| bool | cqsp::common::loading::LoadName (Universe &universe, const entt::entity &entity, const Hjson::Value &value) |
| Returns true if name exists More... | |
| bool | cqsp::common::loading::LoadIdentifier (Universe &universe, const entt::entity &entity, const Hjson::Value &value) |
| bool | cqsp::common::loading::LoadDescription (Universe &universe, const entt::entity &entity, const Hjson::Value &value) |
| bool | cqsp::common::loading::LoadTags (Universe &universe, const entt::entity &entity, const Hjson::Value &value) |
| bool | cqsp::common::loading::LoadInitialValues (Universe &universe, const entt::entity &entity, const Hjson::Value &value) |
| Loads all the values that should be on every single data type Returns true if an identifier exists More... | |
| components::ResourceLedger | cqsp::common::loading::HjsonToLedger (Universe &universe, Hjson::Value &hjson) |
| bool | cqsp::common::loading::VerifyHjsonValueExists (const Hjson::Value &value, const std::string &name, Hjson::Type type) |
| bool | cqsp::common::loading::VerifyInitialValues (const Hjson::Value &value, const std::map< std::string, Hjson::Type > &map) |
| For the values that need to exist More... | |
| double | cqsp::common::loading::ReadUnit (std::string_view value, components::types::UnitType unit_type, bool *correct=nullptr) |
| Gets the unit from the value from expected unit type. More... | |