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.
Classes | Namespaces | Typedefs | Functions
resource.h File Reference
#include <iostream>
#include <map>
#include <string>
#include <vector>
#include <entt/entt.hpp>
#include "common/components/area.h"
#include "common/components/units.h"

Go to the source code of this file.

Classes

struct  cqsp::common::components::Matter
 Something that has a mass. More...
 
struct  cqsp::common::components::Energy
 
struct  cqsp::common::components::Unit
 The unit name of the good. If it doesn't have it, then it's a quantity. More...
 
struct  cqsp::common::components::Good
 
struct  cqsp::common::components::ConsumerGood
 See SysPopulationConsumption for an explanation of these values More...
 
struct  cqsp::common::components::Mineral
 
struct  cqsp::common::components::CapitalGood
 
class  cqsp::common::components::ResourceLedger
 
struct  cqsp::common::components::RecipeOutput
 
struct  cqsp::common::components::Recipe
 
struct  cqsp::common::components::RecipeCost
 
struct  cqsp::common::components::IndustrySize
 
struct  cqsp::common::components::CostBreakdown
 
struct  cqsp::common::components::ResourceIO
 
struct  cqsp::common::components::FactoryTimer
 
struct  cqsp::common::components::ResourceConsumption
 
struct  cqsp::common::components::ResourceProduction
 
struct  cqsp::common::components::ResourceConverter
 
struct  cqsp::common::components::ResourceStockpile
 
struct  cqsp::common::components::FailedResourceTransfer
 
struct  cqsp::common::components::FailedResourceProduction
 
struct  cqsp::common::components::FailedResourceConsumption
 
struct  cqsp::common::components::ResourceDistribution
 

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::components
 

Typedefs

typedef std::map< entt::entity, double > cqsp::common::components::LedgerMap
 

Functions

ResourceLedger cqsp::common::components::CopyVals (const ResourceLedger &keys, const ResourceLedger &values)
 Creates a new resource ledger using the keys from one resource ledger, and the values from annother More...
 
ResourceLedger cqsp::common::components::ResourceLedgerZip (const ResourceLedger &key, const ResourceLedger &value)