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 |
When adding assets, it is extremely crucial that you read cqsp::asset::AssetLoader::LoadResources to find out how to add a resource to the game. | |
namespace | cqsp::common |
namespace | cqsp::common::systems |
namespace | cqsp::common::systems::loading |
Functions | |
bool | cqsp::common::systems::loading::LoadName (Universe &universe, const entt::entity &entity, const Hjson::Value &value) |
Returns true if name exists More... | |
bool | cqsp::common::systems::loading::LoadIdentifier (Universe &universe, const entt::entity &entity, const Hjson::Value &value) |
bool | cqsp::common::systems::loading::LoadDescription (Universe &universe, const entt::entity &entity, const Hjson::Value &value) |
bool | cqsp::common::systems::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... | |
cqsp::common::components::ResourceLedger | cqsp::common::systems::loading::HjsonToLedger (cqsp::common::Universe &universe, Hjson::Value &hjson) |
bool | cqsp::common::systems::loading::VerifyHjsonValueExists (const Hjson::Value &value, const std::string &name, Hjson::Type type) |
bool | cqsp::common::systems::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::systems::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... | |