5047 Commits

Author SHA1 Message Date
MihailRis
7fc3703ad2 feat: refresh on demand in menu (adaptive framerate) 2025-11-09 22:22:24 +03:00
MihailRis
ba0977a6f0 Merge branch 'dev' into more-about-projects 2025-11-09 21:24:47 +03:00
MihailRis
65bba0088b update doc/*/content-packs.md 2025-11-09 21:24:21 +03:00
MihailRis
17ffa73ce7 refactor: move and rename EnginePaths 2025-11-09 20:13:59 +03:00
MihailRis
3b583d4dd6 refactor: Engine, EnginePaths, move CoreParameters to new header 2025-11-09 19:56:46 +03:00
MihailRis
01bf474a2b cleanup Engine.cpp a bit 2025-11-09 19:37:40 +03:00
MihailRis
4bafad708e move window-related code from Engine.cpp to WindowControl 2025-11-09 19:09:35 +03:00
MihailRis
87ff77a73f add project start application script 2025-11-09 18:26:36 +03:00
MihailRis
05de043154 add 'project:content' content source 2025-11-09 18:23:10 +03:00
MihailRis
60ed10c0a1 add prefix check to events.on 2025-11-08 11:42:10 +03:00
MihailRis
31d2dde534
Merge pull request #663 from MihailRis/canvases-and-atlases
Canvas from texture / atlas
2025-11-06 00:46:00 +03:00
MihailRis
340b469b40 update doc/*/scripting/builtins/libassets.md 2025-11-05 20:59:35 +03:00
MihailRis
878d824548 feat: create canvas from texture 2025-11-05 20:50:27 +03:00
MihailRis
28dd2f38d2 feat: update atlas texture extrusion on its reload 2025-11-05 12:25:50 +03:00
MihailRis
b89888969f Merge branch 'dev' into canvases-and-atlases 2025-11-05 02:40:31 +03:00
MihailRis
21cb533f17
Merge pull request #664 from MihailRis/menu-back-on-escape
menu:back on escape pressed
2025-11-05 02:39:59 +03:00
MihailRis
c565e9897f feat: go back in menu on Escape pressed 2025-11-05 02:13:32 +03:00
MihailRis
7b45b4083b feat: keep previous values in debug panel if cursor is not locked 2025-11-05 01:47:42 +03:00
MihailRis
643ae11d5c feat: rebuild mip-maps on texture reload 2025-11-05 01:30:47 +03:00
MihailRis
d9f2d54bf0 feat: canvas from texture atlas element 2025-11-05 00:20:58 +03:00
MihailRis
497160a5b9
Merge pull request #662 from MihailRis/core-cameras-and-mouse-delta
Core cameras and mouse delta things
2025-11-04 18:14:43 +03:00
MihailRis
9e817c39ce disable mouse camera control if non-standard camera used 2025-11-04 17:55:01 +03:00
MihailRis
751489b003 add input.get_mouse_delta() 2025-11-04 16:17:57 +03:00
MihailRis
4f88e3b964 Merge branch 'main' into dev 2025-11-04 16:02:46 +03:00
MihailRis
652f652e55 fix: player.get_camera, set_camera are not documented 2025-11-04 16:02:11 +03:00
MihailRis
934c5f194e fix: on_hud_render is not documented 2025-11-04 15:50:52 +03:00
MihailRis
5859e6cdf2
Merge pull request #661 from MihailRis/environments-related
Environments-related works
2025-11-04 12:54:05 +03:00
MihailRis
d163f12e67 fix 2025-11-04 12:13:55 +03:00
MihailRis
9afe265094 update doc/*/scripting/builtins/libapp.md 2025-11-04 11:59:58 +03:00
MihailRis
ca6096c397 minor refactor 2025-11-04 11:53:48 +03:00
MihailRis
90f7fce2b1 feat: pass pack environment to menu page script 2025-11-04 09:30:38 +03:00
MihailRis
debd28ba55
Merge pull request #660 from eliotbyte/fix/custom-model-variants
Fix/custom model variants
2025-10-29 12:38:36 +03:00
eliotbyte
cd6b73f1eb docs: add custom model variant examples to block-propertie 2025-10-28 23:09:48 +03:00
eliotbyte
2a1d2f9354 fix enable per-variant custom model caching 2025-10-28 23:09:28 +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
1a745154b2 Merge branch 'main' into dev 2025-10-17 17:54:08 +03:00
MihailRis
6c01d57d53 cleanup 2025-10-17 17:35:22 +03:00
MihailRis
d435cbab5c
Adapt windows build to glm 1.0.2 (#655)
* update Shadows.cpp

* add glm includes to Shadows.cpp

* add includes
2025-10-17 13:03:58 +03:00
MihailRis
e7c99eed8d
Merge pull request #654 from MihailRis/vcm-rotation
vcm rotation
2025-10-16 23:28:06 +03:00
MihailRis
1b0d51a2f6 update doc/ru/vcm.md 2025-10-16 23:07:09 +03:00
MihailRis
18d4cff678 add 'rotate' and 'origin' box modifier to vcm 2025-10-16 22:57:45 +03:00
MihailRis
fc122ef3e1
Merge pull request #653 from MihailRis/new-player-funcs
New player.* functions
2025-10-16 22:18:44 +03:00
MihailRis
c0196ef092 update doc/*/scripting/builtins/libplayer.md 2025-10-16 22:00:00 +03:00
MihailRis
9cb9b095e8 add new players finding functions 2025-10-16 22:00:00 +03:00
MihailRis
2210ba8218 add includes 2025-10-16 21:43:02 +03:00
MihailRis
348113f6ea update Shadows.cpp 2025-10-16 21:26:05 +03:00
MihailRis
b0499ced14 add glm includes to Shadows.cpp 2025-10-16 21:10:06 +03:00
MihailRis
408467eed0 Merge branch 'main' into dev 2025-10-16 19:05:57 +03:00
MihailRis
064c1b407b
Merge pull request #652 from MihailRis/fix-stack-vector
fix util::stack_vector
2025-10-16 18:35:26 +03:00
MihailRis
fa6950ca87 fix util::stack_vector 2025-10-16 18:17:30 +03:00