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
orbitfunctions.cpp File Reference
#include "core/scripting/orbitfunctions.h"
#include "core/components/orbit.h"
#include "core/scripting/functionreg.h"

Namespaces

namespace  cqsp
 
namespace  cqsp::core
 
namespace  cqsp::core::scripting
 

Macros

#define SOL_PROPERTY(type, prop_type, name)    sol::property(([](type& self) { return self.name; }), ([](type& self, prop_type name) { self.name = name; }))
 

Functions

void cqsp::core::scripting::LoadOrbitFunctions (Universe &universe, sol::state_view &script_engine)
 

Macro Definition Documentation

◆ SOL_PROPERTY

#define SOL_PROPERTY (   type,
  prop_type,
  name 
)     sol::property(([](type& self) { return self.name; }), ([](type& self, prop_type name) { self.name = name; }))