载入中...
搜索中...
未找到
HexTerrainBindings.h
浏览该文件的文档.
1#pragma once
2
5#include "common/Export.h"
6#include "common/Result.h"
7#include "common/Value.h"
8#include "procgen/Params.h"
9
10namespace ssq {
11class Class;
12}
13
14namespace eve::procgen {
15class GeneratorRegistry;
16
24void registerHexTerrainAlgorithms(GeneratorRegistry& registry);
25
33
40
42void exposeHexTerrain(ssq::Class& cls);
43} // namespace eve::procgen
HSQOBJECT cls
Definition ECS.cpp:21
#define EVENGINE_API_DOMAINS
Definition Export.h:110
Move-only, checked operation results for the common layer.
Owning, renderer-independent dynamic values.
Move-only operation result carrying either a value or Status.
Definition Result.h:155
std::vector< ParamSpec > params
void registerHexTerrainAlgorithms(GeneratorRegistry &registry)
Register hex.terrain / hex.sphere schemas when hexmap is present.
Result< Value > generateHexTerrain(const Params &params)
Bake a planar hex map into the script Value hexmap applies.
Result< Value > generateHexSphere(const Params &params)
Bake a spherical hex map into the script Value hexmap applies.
void exposeHexTerrain(ssq::Class &cls)
Expose generateHexTerrain / generateHexSphere on the Procgen class.
EVEngine ECS 集成层:底层实现使用 sunxfancy/ECS.hpp https://github.com/sunxfancy/ECS.hpp
Definition ECS.h:14