Commit Graph
100 Commits
Author SHA1 Message Date
MihailRis f413a6f0ac add ChunkPrototype 2024-08-23 12:07:38 +03:00
MihailRis f40ff7cd28 refactor WorldGenerator & update test generator script 2024-08-23 03:07:02 +03:00
MihailRis f2395dede8 Merge branch 'main' into heightmaps 2024-08-23 00:01:57 +03:00
MihailRis 719135fe19 fix animation loading 2024-08-22 23:53:09 +03:00
MihailRisandGitHub 5500fe34ac Merge pull request #299 from REDxEYE/definition_clone
Add support for `parent` field in block/item/entity json definitions
2024-08-22 23:52:28 +03:00
MihailRis 777453718a fix animation loading 2024-08-22 23:50:46 +03:00
MihailRis 33531ae0a4 fix 2024-08-22 23:28:40 +03:00
MihailRis e0a14c9c16 refactor dynamic_util 2024-08-22 22:43:39 +03:00
MihailRis 5aa1ef52f0 fix msvc build 2 2024-08-22 22:19:53 +03:00
MihailRis c454c095a0 fix msvc build 2024-08-22 21:26:30 +03:00
MihailRis 2d7d03efbb add structures (WIP) 2024-08-22 20:35:41 +03:00
MihailRis 3eec97f631 fix generator loading 2024-08-22 02:29:11 +03:00
MihailRis 259f40d5cf update dynamic_util functions signatures 2024-08-22 01:58:51 +03:00
MihailRis 3654d99cea update Serializable.hpp 2024-08-22 01:50:38 +03:00
MihailRis b4e9cfa0bd refactor: use dynamic::* for parsing 2024-08-22 00:09:59 +03:00
MihailRis 0a7ab154d4 refactor 2024-08-21 22:44:33 +03:00
MihailRis 9eea7243d5 Merge branch 'main' into heightmaps 2024-08-20 22:01:36 +03:00
MihailRis 333cbfe6f5 refactor: add 'const' qualifier for content units 2024-08-20 22:00:30 +03:00
MihailRis fcd1339e5b Merge branch 'main' into heightmaps 2024-08-20 21:46:56 +03:00
MihailRisandGitHub 2689e13cea Merge pull request #297 from REDxEYE/raycast-filter
Lua/C++ api: Allow to specify what blocks to ignore during raycast
2024-08-20 21:46:33 +03:00
MihailRis a81555b979 advanced plants test 2024-08-20 20:58:36 +03:00
MihailRis 5bdabaea42 add plants 2024-08-20 20:46:23 +03:00
MihailRisandGitHub 83a533a6b3 Merge pull request #298 from REDxEYE/debug.print
Add debug.print lua function to pretty-print data
2024-08-20 18:53:11 +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
MihailRisandGitHub 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
MihailRisandGitHub 1a50e69769 Merge pull request #293 from zohidjondev/main
New Language: Uzbek
2024-08-12 16:19:39 +03:00
MihailRisandGitHub 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
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
MihailRis eedc3b2afb add temporary test 2024-08-12 03:48:51 +03:00
MihailRis 4fa3041930 update macos.yml 2024-08-12 03:46:34 +03:00
MihailRis 88f965ad11 update macos.yml 2024-08-12 03:44:19 +03:00
MihailRis e48452cb1a Merge branch 'main' into add-tests 2024-08-12 02:34:07 +03:00
MihailRis 967b5e85a3 update macos.yml 2024-08-12 02:21:32 +03:00
MihailRis 698d02ceba fix fatal error caused by some unicode characters 2024-08-12 02:02:23 +03:00
MihailRis c75f6e4e67 fix block.compose_state 2024-08-12 01:55:39 +03:00
MihailRis 30571e100e update build.yml 2024-08-12 01:38:13 +03:00
MihailRis 39189e9bf3 update cmake.yml 2024-08-12 01:33:49 +03:00
MihailRis 659f1fedc8 fix src/CMakeLists.txt for Windows 2024-08-12 01:13:26 +03:00
MihailRis 29b1299b87 update src/CMakeLists.txt 2024-08-12 01:07:18 +03:00
MihailRis 59afd4de27 update src/CMakeLists.txt 2024-08-12 00:59:51 +03:00
MihailRis d021240a32 fix lua include directory 2024-08-12 00:39:36 +03:00
MihailRis 2b30ab966b add test and src subdirectories 2024-08-12 00:35:23 +03:00
MihailRis 8e269e3693 fix stdcomp.lua 2024-08-11 21:16:37 +03:00
MihailRis 1e00a82db5 fix player collision calculation 2024-08-11 21:10:29 +03:00
MihailRisandGitHub 690f7ff724 Merge pull request #291 from MihailRis/update-regions-format
Update regions format
2024-08-11 21:01:43 +03:00
MihailRis b1d14ad7da fix entities clones 2024-08-11 19:00:03 +03:00
MihailRis e52f08f7de fix entities clones 2024-08-11 18:59:21 +03:00
MihailRis 3adf97b1b8 fix WorldFiles forward declaration 2024-08-11 18:40:35 +03:00
MihailRis 4f2448daed refactor 2024-08-11 18:21:12 +03:00
MihailRis 3d3da1cdcd refactor World 2024-08-11 16:30:58 +03:00
MihailRisandGitHub bcdff0f816 Merge pull request #290 from MihailRis/global-reformat
Global project reformat
2024-08-10 06:04:20 +03:00
MihailRis 71360a6416 fix macos build 2024-08-10 05:55:19 +03:00
MihailRis a7d6c96a5c remove extra functions 2024-08-10 05:48:05 +03:00
MihailRis 93fac9960c fix 2024-08-10 04:36:26 +03:00
MihailRis dc10dc60c0 refactor BlocksRenderer a bit 2024-08-10 04:29:06 +03:00
MihailRis cc524088e0 cleanup 2024-08-10 02:12:01 +03:00
MihailRis f2a987f412 replace remaining tabs in src/ to spaces 2024-08-10 02:04:15 +03:00
MihailRis de5c75d782 replace include guards with pragma once 2024-08-10 01:57:59 +03:00
MihailRis f43cc93cd2 update project includes format 2024-08-10 01:37:48 +03:00
MihailRis 6c4fb417c5 optimize Chunks::save 2024-08-10 00:08:44 +03:00