Commit graph

4573 commits

Author SHA1 Message Date
MihailRis
7fcf049a72 refactor ChunksController::loadVisible 2026-11-13 01:12:06 +03:00
MihailRis
2ec58d1a14 fix AreaMap2D::remove 2026-11-13 00:38:10 +03:00
MihailRis
156ba02750 optimize ChunksRenderer by reducing meshes map reads 2026-11-12 23:43:00 +03:00
MihailRis
3895ef020c cleanup FrustumCulling.hpp 2026-11-12 23:10:35 +03:00
MihailRis
35e20c7dd4 cleanup WorldGenerator 2026-11-12 22:28:06 +03:00
MihailRis
cfdc8672ec add 'chunk.update-distance' setting 2026-11-12 22:13:38 +03:00
MihailRis
f0a407c20a fix build warning
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-11-12 20:53:59 +03:00
ostermine
67c913041e fix headless tick rate: schedule ticks by deadlines
ServerMainloop slept the rest of the tick and then restarted counting from
the moment it woke up, so every sleep overshoot made the tick longer. With a
coarse timer (a VirtualBox guest of a Windows host) --tps 20 gave 12-17 ticks
per second. Ticks now follow absolute deadlines on steady_clock; after falling
more than 5 ticks behind the schedule is reset instead of running a burst of
ticks.

The time of a tick is its scheduled time, so delta is exactly 1 / tps while
the loop keeps up, as in test mode. With the wake-up time deltas jitter
around 1 / tps, and the world tick clock, which calls on_world_tick at most
once per update, skipped every few ticks.
2026-11-05 13:46:49 +03:00
MihailRis
9be7cfa724 fix fatal errors caused by incorrect interval event callbacks timing
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-11-05 03:35:32 +03:00
MihailRis
97c790350d
Merge pull request #1072 from MihailRis/dev
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.33 development
2026-11-04 16:23:46 +03:00
MihailRis
f4d4209e48 fix reverb room rolloff factor minimum value 2026-11-04 15:58:55 +03:00
MihailRis
c641a18d32 fix lighting settings based chunk meshes rebuilding 2026-11-04 12:43:42 +03:00
MihailRis
498868a8d5 cleanup 2026-11-03 22:45:30 +03:00
MihailRis
1bb66ebf1f fix audio streams cleanup 2026-11-03 22:26:03 +03:00
MihailRis
24718a2993 reverting it because voices are not reasom
This reverts commit ecc4c1794e.
2026-11-03 22:08:44 +03:00
MihailRis
ecc4c1794e replace 'units' with 'blocks', 'items' for some reason 2026-11-03 22:01:43 +03:00
MihailRis
3de0187a87 feat: removing world missing content from UI 2026-11-03 21:29:42 +03:00
MihailRis
c9cc301e46 fix content inheritance issues 2026-11-03 18:46:50 +03:00
MihailRis
7d3584629f cleanup 2026-11-02 00:07:47 +03:00
MihailRis
463a439089 add 'uv-lock' block property 2026-11-02 00:03:25 +03:00
MihailRis
3ec03738b4 add pathfinding.set_height 2026-11-01 18:41:40 +03:00
MihailRis
98cd85f4f6 Merge branch 'dev' into pathfinding-update 2026-11-01 18:37:28 +03:00
MihailRis
b37da1a728 add pathfinding.set_width 2026-11-01 18:07:21 +03:00
MihailRis
1fe64a8b51 remove extra pathfinding route steps & add pathfinding agent width 2026-11-01 18:05:31 +03:00
MihailRis
5390541334 update app.get_version 2026-11-01 17:31:53 +03:00
MihailRis
3e22dd6329 pass patch number to the engine 2026-11-01 17:30:34 +03:00
MihailRis
1da6ef9747 extract render-related code from Entities to EntitiesRenderer 2026-11-01 03:34:16 +03:00
MihailRis
dbc6a52132 update CMakeLists.txt 2026-11-01 02:29:17 +03:00
MihailRis
7ef07a75cd remove EnTT from Entities.cpp 2026-11-01 02:24:15 +03:00
MihailRis
0ae335599a add MeshStats vertices count to Mesh::drawInstanced 2026-11-01 02:05:27 +03:00
MihailRis
5011a654be Merge branch 'main' into dev 2026-11-01 02:03:50 +03:00
MihailRis
c4a0b7a992 update debug panel 2026-11-01 01:38:44 +03:00
MihailRis
d4deb34722 add util::format_count 2026-11-01 01:38:24 +03:00
MihailRis
d857e7326d add vertices count to debug panel 2026-11-01 01:30:39 +03:00
MihailRis
c21871c3c9 upgrade entities frustum culling 2026-10-31 23:41:40 +03:00
MihailRis
c444e266ba add container:clearInterval 2026-10-31 17:57:17 +03:00
MihailRis
b8b2e4f451 feat: variant-based hitboxes 2026-10-31 17:15:16 +03:00
MihailRis
f19cb75534 improve audio::ope_PCM_stream error messages & feat: specifying stream path without extension 2026-10-27 14:20:01 +03:00
MihailRis
575bfb28e0 Merge branch 'main' into dev 2026-10-27 13:03:13 +03:00
MihailRis
5eae83be33
Merge pull request #1062 from MihailRis/entity-rotation-interpolation
entity rotation interpolation
2026-10-27 13:02:35 +03:00
MihailRis
9846ad289a feat: entity rotation interpolation 2026-10-26 19:30:53 +03:00
MihailRis
8cc25938ef feat: preload.json patterns support 2026-10-26 12:27:03 +03:00
MihailRis
581702a836 fix project start script not actually started before first tick 2026-10-25 21:33:54 +03:00
MihailRis
bf55ffa183 fix block.set behaviour if world is not open
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-21 23:11:57 +03:00
MihailRis
b49075347a fix block library typos 2026-10-21 12:42:35 +03:00
MihailRis
28648381f1 fix world.raycast 2026-10-21 12:37:30 +03:00
Andrey Tazetdinov
8798b34423 move to namespace 2026-10-21 11:28:33 +02:00
Andrey Tazetdinov
67ed7ac582 refactor physics solver 2026-10-21 11:25:06 +02:00
Andrey Tazetdinov
103f3b2b05 fixes 2026-10-21 11:25:06 +02:00
Andrey Tazetdinov
bf8d9e827a physics solver spatial grid 2026-10-21 11:25:06 +02:00