145 Commits

Author SHA1 Message Date
MihailRis
2e24d60404 add rules & add 'show-content-access' rule 2024-11-06 17:31:31 +03:00
MihailRis
9728664f5a fix 2024-11-05 14:40:51 +03:00
MihailRis
f6f82644d4 add on_block_interact world event 2024-11-05 13:55:07 +03:00
MihailRis
e762cf9b23 add events.reset 2024-11-01 17:18:12 +03:00
MihailRis
ac6084f904 fix console focus on open 2024-11-01 16:20:58 +03:00
MihailRis
72d5eca632 update events & update some built-in events codes 2024-11-01 15:05:06 +03:00
MihailRis
3b5857ee62 fix: on_block_placed not calling 2024-10-23 12:10:02 +03:00
MihailRis
6e0304248b add stdmin.lua 2024-10-09 05:30:02 +03:00
MihailRis
d9a44f3b87 minor refactor 2024-10-06 21:07:27 +03:00
MihailRis
73d96fd4f7 move generator script execution to an isolated Lua state 2024-10-06 18:23:33 +03:00
MihailRis
bf9f81a98c Merge branch 'main' into heightmaps 2024-09-19 15:16:14 +03:00
MihailRis
3953583605 minimize extra dv::value copies 2024-09-19 13:45:32 +03:00
MihailRis
34d2e6d400 migrate from dynamic::Value to dv::value & total erase namespace 'dynamic' 2024-09-18 23:31:18 +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
685cd414c4 add struct Biome & move generator-related scripting to scripting_world_generation.cpp 2024-08-18 22:25:36 +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
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
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
e19ed3d239 add pseudopack 'core' 2024-08-14 00:24:22 +03:00
MihailRis
f43cc93cd2 update project includes format 2024-08-10 01:37:48 +03:00
alexei-zebra
91ad9cc64c add compatibility with other files 2024-08-06 15:51:55 +03:00
InfiniteCoder
9283aa605f frontend/ 2024-08-06 00:01:27 +03:00
InfiniteCoder
9f9b9f2d64 world/ 2024-08-05 23:49:11 +03:00
InfiniteCoder
9340e962d3 Controversial 2024-08-05 23:26:43 +03:00
InfiniteCoder
7f75c454c8 logic/ 2024-08-05 23:23:28 +03:00
InfiniteCoder
c7755040bd voxels/ 2024-08-04 22:42:44 +03:00
InfiniteCoder
5c9bc83bbd items/ + objects/ + util/ 2024-08-04 22:26:08 +03:00
InfiniteCoder
3aa0298c85 files/ 2024-08-04 17:08:11 +03:00
InfiniteCoder
e6da3638f0 Logger.hpp 2024-08-04 12:46:03 +03:00
InfiniteCoder
e1e3456139 content/ 2024-08-04 12:45:08 +03:00
InfiniteCoder
d5dc68dd38 Root includes 2024-08-04 10:24:11 +03:00
MihailRis
245b39be62 refactor: PVS-Studio warnings fixes 2024-08-04 01:12:42 +03:00
Vyacheslav Ivanov
4efa574eec
fix: PVS-Studio V508 mark false
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 21:05:19 +03:00
Vyacheslav Ivanov
bbf33e8e4d
format: reformat project
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 19:53:48 +03:00
Vyacheslav Ivanov
26ff0f133a fix: optimization: PVS-Studio warning V821
Creating variables in a more localized scope can enhance performance and make the code easier to understand.

Reported by: PVS-Studio
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 17:50:04 +03:00
MihailRis
ba046a52c0
Revert "fix: optimization: Various PVS-Studio warnings" 2024-08-02 14:51:44 +03:00
Vyacheslav Ivanov
6b3146f98a
fix: optimization: PVS-Studio warning V821
Creating variables in a more localized scope can enhance performance and make the code easier to understand.

Reported by: PVS-Studio
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-02 05:35:53 +03:00
MihailRis
f8907f7db1 add on_update, on_render to docs & change entities tps to 20 2024-08-01 16:04:27 +03:00
MihailRis
10fa828bd7 update component 'ARGS' variable default value 2024-07-30 19:52:04 +03:00
MihailRis
d6696b54cb add 'normal' argument to on_use_on_block event 2024-07-29 15:23:04 +03:00
MihailRis
2ec6c8b540 update component lua short name 2024-07-24 15:17:30 +03:00
MihailRis
012e81d4c9 add doc/**/cameras.md & update cameras library 2024-07-22 16:50:03 +03:00
MihailRis
2fe25f5dd5 fix: lua errors in standard libs initialization are nonthrowing 2024-07-22 15:53:05 +03:00
MihailRis
02c9c4ced3 add mat4.from_quat(...) & update mat4.decompose(...) 2024-07-19 07:48:42 +03:00