Commit graph

301 commits

Author SHA1 Message Date
zaveshaa
515e27b402 fix typos in comments and log messages 2026-08-29 19:47:01 +03:00
MihailRis
2972b0ee85 cleanup 2026-08-22 21:15:41 +03:00
MihailRis
fbe992755e fix WorldConverter::createBlockFieldsConvertTasks 2026-08-22 21:11:23 +03:00
MihailRis
33053f07ed
Merge pull request #852 from MihailRis/refactor-world-renderer
update world renderer (part 1)
2026-08-11 19:32:41 +03:00
neveix
e2806fb19c add ladder block rotation 2026-08-10 16:00:02 +05:00
MihailRis
c73b036099 cleanup World references 2026-06-20 22:17:27 +03:00
MihailRis
22f09d3659 start splitting render pipelines & remove the obsolete world fog parameter 2026-06-19 00:01:14 +03:00
MihailRis
3476bddc6b feat: environment is primary 2026-05-16 22:24:35 +03:00
MihailRis
4aaa5b2d7e move sky sprites to environment 2026-05-12 20:45:48 +03:00
MihailRis
a7ad219261 test environment (sky) 2026-05-12 02:02:06 +03:00
MihailRis
4befbb0086 add 'player-min-spawn-height', 'player-max-spawn-height' generator parameters 2026-03-19 19:15:11 +03:00
MihailRis
2600dd7ed9 add 'player-spawn-radius' generator parameter 2026-03-19 19:03:22 +03:00
MihailRis
b7cd116e62 cleanup 2026-03-11 23:11:23 +03:00
MihailRis
454aa20546 Merge branch 'main' into physics-upgrade 2026-02-26 18:02:42 +03:00
MihailRis
5b8c2d6162 fix non-lighted chunks saving 2026-02-25 18:38:38 +03:00
MihailRis
3cd6ce1df2 Merge branch 'main' into physics-upgrade 2026-02-23 17:31:30 +03:00
MihailRis
e4d21c940b fix: block inventory not removing in some cases 2026-02-23 17:05:13 +03:00
MihailRis
b0d231c927 optimize collisions calculations (remove the stupid) 2026-02-18 18:54:49 +03:00
MihailRis
e037462615 add 'sky_tint', 'clouds_tint', 'min_sky_light' weather parameters 2026-02-12 20:27:29 +03:00
MihailRis
88544183d0 stabilize delays of chunks meshes building 2025-12-29 20:41:47 +03:00
MihailRis
79eb185530 reduce copies in ThreadPool 2025-12-25 23:39:11 +03:00
MihailRis
7a513949e9 fix fragment:place lights 2025-12-19 19:25:58 +03:00
MihailRis
c3c343ffdb update ContentUnitIndices 2025-12-15 22:05:27 +03:00
MihailRis
5e2774736c fix missing include 2025-12-09 07:44:53 +03:00
MihailRis
1f73dc5d5e feat: pre-read region chunks offsets table 2025-12-09 01:20:41 +03:00
MihailRis
9dc9441902 reduce allocations while reading chunks data 2025-12-06 00:58:13 +03:00
MihailRis
618b3d7f61 fix world generator 2025-11-29 16:15:19 +03:00
eliotbyte
b85c5e367a fix extended block placement across chunk borders 2025-11-24 21:25:15 +03:00
eliotbyte
9ccaecddd2 add :block placement for single blocks 2025-11-24 21:23:59 +03:00
MihailRis
5250c748be make chunk lightmap optional 2025-11-23 15:22:18 +03:00
Eliot Byte
ed9cf8800a
fix correct line generation algorithm and bounds calculation (#657)
* fix correct line generation algorithm and bounds calculation

- Fix closest_point_on_segment algorithm using proper dot product projection
- Correct loop bounds calculation for radius=0 lines
- Use precise integer arithmetic to avoid rounding errors
- Resolves missing blocks in vertical line structures

* fix ai hallucinations

* polishing closest_point_on_segment

* refactor: extract dot product calculation
2025-10-23 12:29:04 +03:00
MihailRis
47cdc02137 fix std::bad_alloc caused by corrupted regions 2025-09-30 00:28:51 +03:00
MihailRis
98e9f5a2a9 Merge branch 'dev' into pathfinding 2025-08-24 17:32:13 +03:00
MihailRis
383dacf616 Merge branch 'main' into dev 2025-08-24 17:31:34 +03:00
MihailRis
a46aafa562
fix fragment:place rotation (#593)
* fix fragment:place rotation
2025-08-22 22:26:43 +03:00
MihailRis
ca1b761c8c Merge branch 'dev' into pathfinding 2025-08-19 19:47:10 +03:00
MihailRis
53ce219127 add 'is_new' argument to on_world_open 2025-08-15 23:48:04 +03:00
MihailRis
3eae377024 refactor Entities 2025-08-09 21:19:01 +03:00
MihailRis
9bb50db297 add pathfinding 2025-07-31 23:29:22 +03:00
MihailRis
436a89b066 feat: post-effects array parameters & add gfx.posteffects.set_array & make shadows opacity depending on clouds opacity 2025-06-14 20:06:05 +03:00
MihailRis
12c7d4dfb4 feat: voxel fragment rotation applying to 'stairs' profile 2025-04-30 21:56:04 +03:00
MihailRis
7749675a61 add EnumMetadata 2025-04-13 13:53:59 +03:00
MihailRis
98813472a8 fix generator area centering 2025-04-11 20:37:08 +03:00
MihailRis
bf79f6bc75 fix "upgrade square is not fully inside of area" error 2025-04-10 23:10:49 +03:00
MihailRis
ecdf87ce0d fix windows build 2025-04-02 18:21:19 +03:00
MihailRis
b3feb5945b reduce extra includes 2025-04-02 14:55:53 +03:00
MihailRis
3d22de761f fix compiler warnings (GCC + Clang) 2025-03-20 22:04:29 +03:00
MihailRis
a1860ff668 cleanup 2025-03-10 14:51:59 +03:00
MihailRis
db620010a3 move weather back to gfx & add world:client/environment.json file 2025-03-09 22:50:45 +03:00
MihailRis
9c4db8fa10 refactor: move Weather instance to WorldInfo 2025-02-28 18:49:44 +03:00