2016-05-01 06:00:02 -07:00
|
|
|
|
2018-09-02 10:48:08 -07:00
|
|
|
def can_build(env, platform):
|
2022-03-20 10:20:31 -07:00
|
|
|
return True
|
2016-05-01 06:00:02 -07:00
|
|
|
|
|
|
|
|
|
|
|
def configure(env):
|
2022-03-20 11:29:31 -07:00
|
|
|
from SCons.Script import BoolVariable, Variables, Help
|
|
|
|
|
|
|
|
env_vars = Variables()
|
|
|
|
|
|
|
|
env_vars.Add(BoolVariable("voxel_tests",
|
|
|
|
"Build with tests for the voxel module, which will run on startup of the engine", False))
|
|
|
|
|
2022-08-27 23:00:34 -07:00
|
|
|
env_vars.Add(BoolVariable("voxel_fast_noise_2", "Build FastNoise2 support (x86-only)", True))
|
2022-03-30 15:17:27 -07:00
|
|
|
|
2022-03-20 11:29:31 -07:00
|
|
|
env_vars.Update(env)
|
|
|
|
Help(env_vars.GenerateHelpText(env))
|
|
|
|
|
2016-05-01 06:00:02 -07:00
|
|
|
|
2020-08-24 05:54:30 -07:00
|
|
|
def get_icons_path():
|
2022-03-20 10:20:31 -07:00
|
|
|
return "editor/icons"
|
2020-08-24 05:54:30 -07:00
|
|
|
|
2016-05-01 06:00:02 -07:00
|
|
|
|
2019-08-25 18:54:57 -07:00
|
|
|
def get_doc_classes():
|
2022-03-20 10:20:31 -07:00
|
|
|
return [
|
2022-08-03 15:20:58 -07:00
|
|
|
"FastNoise2",
|
|
|
|
"VoxelBlockSerializer",
|
|
|
|
"VoxelBlockyLibrary",
|
|
|
|
"VoxelBlockyModel",
|
|
|
|
"VoxelBoxMover",
|
2022-03-20 10:20:31 -07:00
|
|
|
"VoxelBuffer",
|
2022-08-03 15:20:58 -07:00
|
|
|
"VoxelColorPalette",
|
|
|
|
"VoxelDataBlockEnterInfo",
|
|
|
|
"VoxelEngine",
|
2022-03-20 10:20:31 -07:00
|
|
|
"VoxelGenerator",
|
|
|
|
"VoxelGeneratorFlat",
|
2022-08-03 15:20:58 -07:00
|
|
|
"VoxelGeneratorGraph",
|
2022-03-20 10:20:31 -07:00
|
|
|
"VoxelGeneratorHeightmap",
|
|
|
|
"VoxelGeneratorImage",
|
|
|
|
"VoxelGeneratorNoise",
|
2022-08-03 15:20:58 -07:00
|
|
|
"VoxelGeneratorNoise2D",
|
2022-03-20 10:20:31 -07:00
|
|
|
"VoxelGeneratorScript",
|
2022-08-03 15:20:58 -07:00
|
|
|
"VoxelGeneratorWaves",
|
|
|
|
"VoxelInstanceComponent",
|
|
|
|
"VoxelInstanceGenerator",
|
|
|
|
"VoxelInstanceLibrary",
|
|
|
|
"VoxelInstanceLibraryItem",
|
|
|
|
"VoxelInstanceLibraryMultiMeshItem",
|
|
|
|
"VoxelInstanceLibrarySceneItem",
|
|
|
|
"VoxelInstancer",
|
|
|
|
"VoxelLodTerrain",
|
|
|
|
"VoxelMesher",
|
|
|
|
"VoxelMesherBlocky",
|
|
|
|
"VoxelMesherCubes",
|
|
|
|
"VoxelMesherDMC",
|
|
|
|
"VoxelMesherTransvoxel",
|
|
|
|
"VoxelMeshSDF",
|
|
|
|
"VoxelModifier",
|
|
|
|
"VoxelModifierMesh",
|
|
|
|
"VoxelModifierSphere",
|
|
|
|
"VoxelNode",
|
2022-03-20 10:20:31 -07:00
|
|
|
"VoxelRaycastResult",
|
2022-08-03 15:20:58 -07:00
|
|
|
"VoxelStream",
|
|
|
|
"VoxelStreamRegionFiles",
|
|
|
|
"VoxelStreamScript",
|
|
|
|
"VoxelStreamSQLite",
|
|
|
|
"VoxelTerrain",
|
2022-03-20 10:20:31 -07:00
|
|
|
"VoxelTool",
|
|
|
|
"VoxelToolBuffer",
|
2022-08-03 15:20:58 -07:00
|
|
|
"VoxelToolLodTerrain",
|
|
|
|
"VoxelToolTerrain",
|
|
|
|
"VoxelViewer",
|
2022-03-20 10:20:31 -07:00
|
|
|
"VoxelVoxLoader",
|
2022-04-14 12:24:42 -07:00
|
|
|
"ZN_FastNoiseLite",
|
|
|
|
"ZN_FastNoiseLiteGradient",
|
2022-08-03 15:20:58 -07:00
|
|
|
"ZN_ThreadedTask",
|
2022-03-20 10:20:31 -07:00
|
|
|
]
|
2019-08-25 18:54:57 -07:00
|
|
|
|
|
|
|
|
|
|
|
def get_doc_path():
|
2022-03-20 10:20:31 -07:00
|
|
|
return "doc/classes"
|