Commit graph

6642 commits

Author SHA1 Message Date
ostermine
e2c44a3f13 docs: replace em dash with hyphen in events.md 2026-10-11 21:11:07 +03:00
ostermine
2a01cfc5b1 add can_be_placed block event
can_be_placed(x, y, z, playerid, rotation) is called before a player
places the block, after the built-in checks (replaceability, grounded,
entities). The block is placed only if the function returns true.
rotation is the rotation the block is going to be placed with, so
blocks like ladders can check the block they are attached to.

The event is not called for block.place / block.set.

Closes #909
2026-10-10 15:54:21 +03:00
MihailRis
1dd1af1a72
Merge pull request #1023 from MihailRis/remove-incorrect-fix
remove incorrect fix
2026-10-10 12:11:43 +03:00
MihailRis
521ebf43ab remove incorrect fix 2026-10-10 11:36:31 +03:00
MihailRis
f036979dc0
Merge pull request #1007 from Astazium/ui-fixes
ui fixes
2026-10-10 11:34:34 +03:00
MihailRis
7130a62593
Merge pull request #1022 from MihailRis/rename-voxelengine-to-voxelcore-in-cmake
complete the rename of voxelengine to voxelcore
2026-10-10 11:27:37 +03:00
MihailRis
8962042627 complete the rename of voxelengine to voxelcore 2026-10-10 10:54:36 +03:00
MihailRis
a875630cd8
Merge pull request #1021 from DIvan2K/main
flake.nix fix program filename
2026-10-10 10:47:23 +03:00
MihailRis
50de0afb62
Merge pull request #1019 from ostermine/fix/reload-module-env
fix reload_module ignoring pack environment
2026-10-10 10:42:59 +03:00
DIvan2000
a2321e0e28 fix program filename 2026-10-10 05:04:14 +04:00
ostermine
d8017ff995 fix reload_module ignoring pack environment
reload_module loaded the new module code with the global environment,
while require runs modules in their pack environment. After reload,
PACK_ID and other pack globals were nil in the module.
2026-10-10 00:52:23 +03:00
MihailRis
e8a83423d8 fix outdated doc/*/scripting/builtins/libgfx-skeletons.md
Some checks failed
x86-64 AppImage / build-appimage (ubuntu-22.04) (push) Has been cancelled
Build / Build (push) Has been cancelled
Macos Build / build-dmg (push) Has been cancelled
Windows Build (CLang) / build-windows (clang, windows-latest) (push) Has been cancelled
MSVC Build / build-windows (windows-2022) (push) Has been cancelled
2026-10-09 00:09:48 +03:00
MihailRis
05c0a1868d
Merge pull request #1014 from MihailRis/patch-0.32.2
Some checks are pending
x86-64 AppImage / build-appimage (ubuntu-22.04) (push) Waiting to run
Build / Build (push) Waiting to run
Macos Build / build-dmg (push) Waiting to run
Windows Build (CLang) / build-windows (clang, windows-latest) (push) Waiting to run
MSVC Build / build-windows (windows-2022) (push) Waiting to run
0.32.2 patch
2026-10-07 23:31:28 +03:00
MihailRis
5060a8635d fix locked cursor if world was closed with menu hidden 2026-10-07 23:09:40 +03:00
MihailRis
cf35023adf fix 'mouse:' input prefix is not available 2026-10-06 12:53:50 +03:00
MihailRis
99a62710b8
Merge pull request #1013 from MihailRis/patch-0.32.1
Some checks failed
x86-64 AppImage / build-appimage (ubuntu-22.04) (push) Has been cancelled
Build / Build (push) Has been cancelled
Macos Build / build-dmg (push) Has been cancelled
Windows Build (CLang) / build-windows (clang, windows-latest) (push) Has been cancelled
MSVC Build / build-windows (windows-2022) (push) Has been cancelled
0.32.1 patch
2026-10-05 23:18:48 +03:00
MihailRis
cdc32173c3 update doc/*/xml-ui-layouts.md 2026-10-05 22:26:04 +03:00
MihailRis
76e5e5b6f8 fix vca 'configure' directive parsing 2026-10-05 22:11:21 +03:00
MihailRis
446b6edd03 update doc/*/scripting/ecs.md 2026-10-05 21:57:16 +03:00
MihailRis
3c7755f61b fix 'selectable' with static entities 2026-10-05 21:39:18 +03:00
MihailRis
ef85592e21 fix chunks render limits 2026-10-05 21:21:33 +03:00
MihailRis
09b427be1e
Merge pull request #1011 from ostermine/docs/readme-openssl
Some checks are pending
x86-64 AppImage / build-appimage (ubuntu-22.04) (push) Waiting to run
Build / Build (push) Waiting to run
Macos Build / build-dmg (push) Waiting to run
Windows Build (CLang) / build-windows (clang, windows-latest) (push) Waiting to run
MSVC Build / build-windows (windows-2022) (push) Waiting to run
docs: add OpenSSL to Linux build dependencies in README
2026-10-05 19:15:04 +03:00
ostermine
a9069dd22e docs: add OpenSSL to Linux build dependencies in README
src/CMakeLists.txt requires OpenSSL 3.0 (Crypto) since the crypto
library was added, but the README install commands did not list it,
so configuring on a clean system fails with "Could NOT find OpenSSL".
CI workflows and the Dockerfile already install libssl-dev.
2026-10-05 04:03:17 +03:00
MihailRis
dacebf94bc 0.32 release 2026-10-03 11:13:27 +03:00
MihailRis
f6a7a99a74 revert "update shadows.glsl"
This reverts commit 19a952a3be.
2026-10-03 11:10:56 +03:00
MihailRis
2f4fff264f update CHANGELOG.md 2026-10-03 02:29:40 +03:00
MihailRis
d6583e0334 Merge branch 'main' into release-0.32 2026-10-03 02:28:48 +03:00
MihailRis
00425c4175
Merge pull request #1005 from MihailRis/vca-fixes
vca fixes
2026-10-03 02:28:12 +03:00
MihailRis
ef4207aed0 fixes 2026-10-02 17:44:48 +03:00
nogitsune-youkai
d062c28376
Fix: correct luajit lookup on Windows (#1006)
* Fix: correct luajit paths

* fixed comment

* removed unnecessary comments
2026-10-02 17:23:49 +03:00
MihailRis
fc16c1ebcd Merge branch 'main' into vca-fixes 2026-10-01 21:53:30 +03:00
MihailRis
e802753f06
Merge pull request #997 from MihailRis/update-deferred-lighting
update advanced shading
2026-10-01 21:52:56 +03:00
MihailRis
f90750c066
Merge pull request #1002 from nogitsune-youkai/integer-overflow-assert
Fix: Add asserts to prevent undefined behavior on empty containers
2026-10-01 12:13:03 +03:00
Astazium
5a0a1cf326 ui fixes 2026-09-30 20:43:43 +03:00
MihailRis
0e0034ce56
Merge pull request #1003 from nogitsune-youkai/improve-vs-CMake-presets
Improve Windows presets
2026-09-30 12:58:22 +03:00
MihailRis
7e572d620f
Merge pull request #1004 from boolean-false/fix/vector-font-textbox-metrics
Исправил расчёт ширины текста и положение каретки
2026-09-29 22:16:01 +03:00
MihailRis
e4eae0416e fix the 2026-09-29 18:59:28 +03:00
MihailRis
dd577dd080 cleanup 2026-09-29 18:44:19 +03:00
MihailRis
d3de449b7b fix absolute bezier keyframes 2026-09-29 18:41:02 +03:00
MihailRis
ea63d29221 fix custom curves 2026-09-29 18:39:46 +03:00
boolean-false
7211e99bc8 fix text width and caret positioning in text boxes 2026-09-29 20:31:14 +07:00
nogitsune-youkai
ca68ddc03a Improve Windows presets 2026-09-29 01:20:54 +03:00
nogitsune-youkai
3378001b9b Fix: Add asserts to prevent undefined behavior on empty containers 2026-09-28 22:02:08 +03:00
MihailRis
ac3d4a5148
Merge pull request #998 from nogitsune-youkai/stack_vector-refactoring
Refactor: Use size_type for sizes and indices
2026-09-28 01:56:18 +03:00
MihailRis
19a952a3be update shadows.glsl 2026-09-28 01:47:23 +03:00
MihailRis
ffba11e87f update clouds shader 2026-09-28 01:40:48 +03:00
nogitsune-youkai
611852c273 Refactor: Use size_type for sizes and indices 2026-09-28 00:38:38 +03:00
MihailRis
8726a95a9b fix 2026-09-27 23:23:21 +03:00
MihailRis
2b8d97a2ca feat: color temperature compensation 2026-09-27 23:21:45 +03:00
MihailRis
df057507e9
Merge pull request #995 from nogitsune-youkai/StackVectorExceptionsCppCompliance
Fix: Make clear and pop_back noexcept compliant
2026-09-27 23:14:51 +03:00