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 | Enumerations | Functions
resourceledger.h File Reference
#include <cstdint>
#include <map>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

class  cqsp::core::components::ResourceMap
 Try to avoid using this unless you really need it since this is extremely slow. More...
 
class  cqsp::core::components::ResourceVector
 This is a vector meant for fast iteration More...
 
class  cqsp::core::components::ResourceLedger
 

Namespaces

namespace  cqsp
 
namespace  cqsp::core
 
namespace  cqsp::core::components
 

Typedefs

typedef std::map< GoodEntity, double > cqsp::core::components::LedgerMap
 

Enumerations

enum class  cqsp::core::components::GoodEntity : uint32_t { cqsp::core::components::null = static_cast<uint32_t>(-1) }
 

Functions

constexpr GoodEntity cqsp::core::components::ToGoodEntity (uint32_t val)
 
ResourceMap cqsp::core::components::CopyVals (const ResourceMap &keys, const ResourceMap &values)
 Creates a new resource ledger using the keys from one resource ledger, and the values from annother More...