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.
Namespaces | Functions
factoryconstructaction.cpp File Reference
#include "common/systems/actions/factoryconstructaction.h"
#include <spdlog/spdlog.h>
#include <limits>
#include <map>
#include "common/components/area.h"
#include "common/components/economy.h"
#include "common/components/resource.h"
#include "common/systems/economy/markethelpers.h"

Namespaces

namespace  cqsp
 
namespace  cqsp::common
 
namespace  cqsp::common::systems
 
namespace  cqsp::common::systems::actions
 

Functions

entt::entity cqsp::common::systems::actions::OrderConstructionFactory (Universe &universe, entt::entity city, entt::entity market, entt::entity recipe, int productivity, entt::entity builder)
 Will charge the entity builder the amount needed to construct the factory/building. You'll have to find a organization that can construct it though. More...
 
entt::entity cqsp::common::systems::actions::CreateFactory (Universe &universe, entt::entity city, entt::entity recipe, int productivity)
 Creates a factory from thin air More...
 
components::ResourceLedger cqsp::common::systems::actions::GetFactoryCost (Universe &universe, entt::entity city, entt::entity recipe, int productivity)
 
entt::entity cqsp::common::systems::actions::CreateCommercialArea (Universe &universe, entt::entity city)