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 | Macros | Functions
loadgoods.cpp File Reference
#include "common/systems/loading/loadgoods.h"
#include <spdlog/spdlog.h>
#include <string>
#include <tuple>
#include "common/components/area.h"
#include "common/components/bodies.h"
#include "common/components/economy.h"
#include "common/components/name.h"
#include "common/components/resource.h"
#include "common/systems/loading/loadutil.h"

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
 

Macros

#define CHECK_DEFINED(x, entity)
 

Functions

void cqsp::common::systems::loading::LoadTerrainData (cqsp::common::Universe &universe, Hjson::Value &value)
 

Macro Definition Documentation

◆ CHECK_DEFINED

#define CHECK_DEFINED (   x,
  entity 
)
Value:
if (!(x).defined()) { \
universe.destroy(entity); \
continue; \
}