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 | Variables
economyloader.cpp File Reference
#include "economyloader.h"

Namespaces

namespace  cqsp
 
namespace  cqsp::core
 
namespace  cqsp::core::loading
 

Macros

#define SET_ECONOMY_CONFIG(config_class, hjson_name, config_type)
 

Functions

void cqsp::core::loading::LoadEconomyConfig (Universe &universe, const Hjson::Value &hjson)
 

Variables

static const char * cqsp::core::loading::default_config_string
 

Macro Definition Documentation

◆ SET_ECONOMY_CONFIG

#define SET_ECONOMY_CONFIG (   config_class,
  hjson_name,
  config_type 
)
Value:
do { \
universe.economy_config.config_class.config_type = conf[#config_type].to_double(); \
} while (0)