载入中...
搜索中...
未找到
RoguelikeGenerator.h 文件参考
#include <cstdint>

浏览源代码.

命名空间

namespace  eve
 
namespace  eve::procgen
 

函数

void eve::procgen::registerRoguelikeGenerator (GeneratorRegistry &registry)
 Register the "level.roguelike" algorithm (idempotent).
 
bool eve::procgen::autotileGridInPlace (Grid2D &grid)
 Post-process any generated Grid2D: fill each wall cell's detail with an 8-bit neighbour mask describing which adjacent cells are walkable. Useful to add direction-aware wall tiles to levels from other generators. Returns false if the grid has no wall cells (still clears detail).
 
uint32_t eve::procgen::randomSeedValue ()
 Produce a fresh seed suitable for regenerating a level (never 0).