2016-05-01 15:00:02 +02:00
|
|
|
|
2018-09-02 18:48:08 +01:00
|
|
|
def can_build(env, platform):
|
2022-03-20 17:20:31 +00:00
|
|
|
return True
|
2016-05-01 15:00:02 +02:00
|
|
|
|
|
|
|
|
|
|
|
def configure(env):
|
2022-03-20 18:29:31 +00: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-03-30 23:17:27 +01:00
|
|
|
env_vars.Add(BoolVariable("voxel_fast_noise_2", "Build FastNoise2 support", True))
|
|
|
|
|
2022-03-20 18:29:31 +00:00
|
|
|
env_vars.Update(env)
|
|
|
|
Help(env_vars.GenerateHelpText(env))
|
|
|
|
|
2016-05-01 15:00:02 +02:00
|
|
|
|
2020-08-24 13:54:30 +01:00
|
|
|
def get_icons_path():
|
2022-03-20 17:20:31 +00:00
|
|
|
return "editor/icons"
|
2020-08-24 13:54:30 +01:00
|
|
|
|
2016-05-01 15:00:02 +02:00
|
|
|
|
2019-08-26 02:54:57 +01:00
|
|
|
def get_doc_classes():
|
2022-03-20 17:20:31 +00:00
|
|
|
return [
|
|
|
|
"VoxelServer",
|
2020-09-06 19:36:53 +01:00
|
|
|
|
2022-03-20 17:20:31 +00:00
|
|
|
"Voxel",
|
|
|
|
"VoxelLibrary",
|
|
|
|
"VoxelColorPalette",
|
|
|
|
"VoxelInstanceLibrary",
|
|
|
|
"VoxelInstanceLibraryItem",
|
|
|
|
"VoxelInstanceLibraryItemBase",
|
|
|
|
"VoxelInstanceLibrarySceneItem",
|
|
|
|
"VoxelInstanceGenerator",
|
2019-08-26 02:54:57 +01:00
|
|
|
|
2022-03-20 17:20:31 +00:00
|
|
|
"VoxelBuffer",
|
2021-01-21 00:37:01 +00:00
|
|
|
|
2022-03-20 17:20:31 +00:00
|
|
|
"VoxelNode",
|
|
|
|
"VoxelTerrain",
|
|
|
|
"VoxelLodTerrain",
|
|
|
|
"VoxelViewer",
|
|
|
|
"VoxelInstancer",
|
2019-08-26 02:54:57 +01:00
|
|
|
|
2022-03-20 17:20:31 +00:00
|
|
|
"VoxelStream",
|
|
|
|
"VoxelStreamFile",
|
|
|
|
"VoxelStreamBlockFiles",
|
|
|
|
"VoxelStreamRegionFiles",
|
|
|
|
"VoxelStreamSQLite",
|
|
|
|
"VoxelStreamScript",
|
2019-08-26 02:54:57 +01:00
|
|
|
|
2022-03-20 17:20:31 +00:00
|
|
|
"VoxelGenerator",
|
|
|
|
"VoxelGeneratorFlat",
|
|
|
|
"VoxelGeneratorWaves",
|
|
|
|
"VoxelGeneratorHeightmap",
|
|
|
|
"VoxelGeneratorImage",
|
|
|
|
"VoxelGeneratorNoise2D",
|
|
|
|
"VoxelGeneratorNoise",
|
|
|
|
"VoxelGeneratorGraph",
|
|
|
|
"VoxelGeneratorScript",
|
2020-02-13 00:48:18 +08:00
|
|
|
|
2022-03-20 17:20:31 +00:00
|
|
|
"VoxelBoxMover",
|
|
|
|
"VoxelRaycastResult",
|
|
|
|
"VoxelTool",
|
|
|
|
"VoxelToolTerrain",
|
|
|
|
"VoxelToolLodTerrain",
|
|
|
|
"VoxelToolBuffer",
|
|
|
|
"VoxelBlockSerializer",
|
|
|
|
"VoxelVoxLoader",
|
2022-03-20 19:04:38 +00:00
|
|
|
"VoxelDataBlockEnterInfo",
|
|
|
|
|
2022-03-20 17:20:31 +00:00
|
|
|
"FastNoiseLite",
|
|
|
|
"FastNoiseLiteGradient",
|
2019-08-26 02:54:57 +01:00
|
|
|
|
2022-03-20 17:20:31 +00:00
|
|
|
"VoxelMesher",
|
|
|
|
"VoxelMesherBlocky",
|
|
|
|
"VoxelMesherTransvoxel",
|
|
|
|
"VoxelMesherDMC",
|
|
|
|
"VoxelMesherCubes"
|
|
|
|
]
|
2019-08-26 02:54:57 +01:00
|
|
|
|
|
|
|
|
|
|
|
def get_doc_path():
|
2022-03-20 17:20:31 +00:00
|
|
|
return "doc/classes"
|