REDxEYE
7fa061c941
lua_extensions: Add debug.print function that can pretty-print tables recursively(with depth limit of 10)
2024-08-20 15:09:32 +03:00
REDxEYE
1be50c2e06
libblock.raycast: Add argument to specify blocks to ignore during ray casting
...
libentity.raycast: Add argument to specify blocks to ignore during ray casting
Chunk::rayCast: Add argument to specify blocks to ignore during ray casting.
On lua side filter blocks are passed as list of strings in form of "MOD:BLOCK_NAME"
On C++ size filter blocks are std::set of blockid_t
2024-08-19 21:36:30 +03:00
MihailRis
6efc942a1d
advanced biomes test
2024-08-19 20:31:42 +03:00
MihailRis
572eaec429
add test biomes
2024-08-19 20:11:55 +03:00
MihailRis
4bd5f1b629
add biomes table
2024-08-19 17:57:09 +03:00
MihailRis
c3831afd19
add biome 'parameters' field
2024-08-19 17:42:33 +03:00
MihailRis
efa27496ab
add biome as table & 'biome_parameters' variable
2024-08-19 17:13:50 +03:00
MihailRis
784712c06a
Merge branch 'main' into heightmaps
2024-08-19 01:00:31 +03:00
MihailRis
8ef288c189
refactor lua scripting a bit
2024-08-19 00:57:49 +03:00
MihailRis
71f56334cb
refactor lua scripting a bit
2024-08-19 00:49:28 +03:00
MihailRis
706cabeebd
add lua::stackguard
2024-08-18 23:26:37 +03:00
MihailRis
685cd414c4
add struct Biome & move generator-related scripting to scripting_world_generation.cpp
2024-08-18 22:25:36 +03:00
MihailRis
810519fb4d
add docs
2024-08-18 17:29:02 +03:00
MihailRis
2a506e9891
refactor blocks layers
2024-08-18 16:54:58 +03:00
MihailRis
af485dd7cb
add sea_layers
2024-08-18 01:30:59 +03:00
MihailRis
8fb0f6a1bb
add basic heightmaps generator optimization
2024-08-18 00:08:36 +03:00
MihailRis
8c0a3f4260
add heightmap:resize(int, int, str)
2024-08-17 22:09:31 +03:00
MihailRis
e560236a8c
add heightmap write-only property 'noiseSeed'
2024-08-17 20:17:52 +03:00
MihailRis
510c45ffe9
add sea_level variable
2024-08-17 19:06:14 +03:00
MihailRis
c5877684eb
add 'below_sea_level' layer property
2024-08-17 18:44:08 +03:00
MihailRis
2a767a3638
add generator layers
2024-08-17 18:11:52 +03:00
MihailRis
30925df319
move WorldGenerator to world/generator
2024-08-16 18:39:44 +03:00
MihailRis
33a73a0014
fix rivers depth
2024-08-16 01:20:35 +03:00
MihailRis
347a01e0c2
fix heightmaps binary operations
2024-08-15 03:38:32 +03:00
MihailRis
eab1519597
fix GeneratorDef forward declaration
2024-08-14 19:15:17 +03:00
MihailRis
ae5671364a
add heightmap-based test generation
2024-08-14 18:44:32 +03:00
MihailRis
95cf451cc8
add GeneratorScript
2024-08-14 17:12:12 +03:00
MihailRis
6f5eb6be48
refactor ContentLoader
2024-08-14 02:18:16 +03:00
MihailRis
9912079ad1
Merge branch 'main' into heightmaps
2024-08-14 01:33:00 +03:00
MihailRis
ddee38681e
fix: slow world saving
2024-08-14 01:32:31 +03:00
MihailRis
6ff90bfef3
fix: slow world saving
2024-08-14 01:31:56 +03:00
MihailRis
5fa6b14f05
add GeneratorDef
2024-08-14 01:23:14 +03:00
MihailRis
cae314bc36
update ContentType naming
2024-08-14 00:47:57 +03:00
MihailRis
7da8e133a5
Merge branch 'main' into heightmaps
2024-08-14 00:38:35 +03:00
MihailRis
940d10ccd4
Merge pull request #296 from MihailRis/core-complete-support
...
pseudopack 'core' complete support
2024-08-14 00:37:55 +03:00
MihailRis
e19ed3d239
add pseudopack 'core'
2024-08-14 00:24:22 +03:00
MihailRis
a8dc730c0e
add generator script draft
2024-08-13 23:30:34 +03:00
MihailRis
6e99461b5f
refactor Heightmap methods with templates
2024-08-13 22:00:16 +03:00
MihailRis
13b97f4398
add Heightmap methods
2024-08-13 20:57:46 +03:00
MihailRis
da4b8bd7d4
add Heightmap class & rename bytearray to Bytearray
2024-08-13 03:09:52 +03:00
MihailRis
b60796c4b0
add StructMapper draft
2024-08-13 01:18:13 +03:00
MihailRis
cf99996b24
add util::SmallHeap
2024-08-12 22:07:25 +03:00
MihailRis
1a50e69769
Merge pull request #293 from zohidjondev/main
...
New Language: Uzbek
2024-08-12 16:19:39 +03:00
MihailRis
56de0415f4
Merge pull request #292 from MihailRis/add-tests
...
Add unit tests
2024-08-12 15:56:25 +03:00
MihailRis
a89e025094
update CMakeLists.txt
2024-08-12 15:40:11 +03:00
MihailRis
908a348672
add dev/cmake/BuildAppdir.cmake
2024-08-12 15:37:35 +03:00
Zohidjon
e42bee64f1
Small fixes
2024-08-12 14:58:54 +05:00
MihailRis
3cc99b9fc5
add gtest to windows workflow
2024-08-12 05:39:16 +03:00
MihailRis
fd0efc05af
fix cmake.yml
2024-08-12 04:53:30 +03:00
MihailRis
a18efd5976
add test for coders/rle
2024-08-12 04:47:59 +03:00