载入中...
搜索中...
未找到
Procgen wrappers that bake hexmap terrain without owning the live map. 更多...
#include "procgen/algorithms/HexTerrainBindings.h"#include "common/Diagnostic.h"#include "common/SquirrelBinding.h"#include "hexmap/HexMap.h"#include "hexmap/HexMapGenerator.h"#include "hexmap/HexMetrics.h"#include "hexmap/HexSphereGenerator.h"#include "hexmap/HexSphereMap.h"#include "hexmap/HexSphereTopology.h"#include "hexmap/HexTerrainBake.h"#include "procgen/GeneratorRegistry.h"#include "procgen/Procgen.h"#include "procgen/ProcgenScriptObjects.h"#include <simplesquirrel/simplesquirrel.hpp>#include <string>命名空间 | |
| namespace | eve |
| Build metadata (engine git commit, build time, third-party version). | |
| namespace | eve::procgen |
函数 | |
| void | eve::procgen::registerHexTerrainAlgorithms (GeneratorRegistry ®istry) |
Register hex.terrain / hex.sphere schemas when hexmap is present. | |
| Result< Value > | eve::procgen::generateHexTerrain (const Params ¶ms) |
| Bake a planar hex map into the script Value hexmap applies. | |
| Result< Value > | eve::procgen::generateHexSphere (const Params ¶ms) |
| Bake a spherical hex map into the script Value hexmap applies. | |
| void | eve::procgen::exposeHexTerrain (ssq::Class &cls) |
Expose generateHexTerrain / generateHexSphere on the Procgen class. | |
详细描述
Procgen wrappers that bake hexmap terrain without owning the live map.
Distinct from HexTerrain.cpp (generateHexTerrainMesh), which builds a flat-top continent mesh and is unrelated to the hexmap grid.
在文件 HexMapTerrain.cpp 中定义.