载入中...
搜索中...
未找到
HexTerrainAbsent.cpp 文件参考

Stubs when procgen is built without the hexmap module. 更多...

#include "procgen/algorithms/HexTerrainBindings.h"
#include "common/Diagnostic.h"
#include "common/Result.h"
#include "common/SquirrelBinding.h"
#include "common/Value.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 &registry)
 Register hex.terrain / hex.sphere schemas when hexmap is present.
 
Result< Value > eve::procgen::generateHexTerrain (const Params &params)
 Bake a planar hex map into the script Value hexmap applies.
 
Result< Value > eve::procgen::generateHexSphere (const Params &params)
 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.
 

详细描述

Stubs when procgen is built without the hexmap module.

在文件 HexTerrainAbsent.cpp 中定义.