354 Commits

Author SHA1 Message Date
MihailRis
86a4060a68 feat: multiple audio fetchers support 2025-11-01 23:06:26 +03:00
MihailRis
5a65cbe071 move PCMStream to audio 2025-11-01 22:04:39 +03:00
MihailRis
fcbbdd649b split internal modules 2025-10-31 23:54:56 +03:00
MihailRis
fe8e4ba7b4 add internal/audio_input module 2025-10-31 23:30:29 +03:00
MihailRis
284f24433c extract debugging code to internal/debugging module 2025-10-31 23:18:26 +03:00
MihailRis
0e2b203fb2 add debug.get_pack_by_frame 2025-10-31 22:53:04 +03:00
MihailRis
be2dc1abe5 add PCMStream:create_sound method 2025-10-30 22:48:53 +03:00
MihailRis
cf561e78a8 fix: stream stops and dies on underflow 2025-10-30 19:56:07 +03:00
MihailRis
7dca9255df add test audio input fetch function 2025-10-15 22:13:16 +03:00
MihailRis
84f087049d add test PCMStream lua use 2025-10-14 00:51:04 +03:00
MihailRis
d861595f78 disable debugging if server is not running & make detach complete 2025-10-09 01:14:49 +03:00
MihailRis
f4c3b53cd1 replace 'hit-breakpoint' with 'paused' 2025-10-09 00:28:06 +03:00
MihailRis
33a5410ca2 add 'reason' argument to debug.pause 2025-10-09 00:23:54 +03:00
MihailRis
972181022a feat: pause on exception caused by 'error' function call 2025-10-08 23:50:36 +03:00
MihailRis
ddc56b46ce cleanup 2025-10-08 23:20:41 +03:00
MihailRis
4f6a443fa3 replace 'debug.breakpoint' with 'debug.pause' 2025-10-08 23:11:10 +03:00
MihailRis
8f56969997 add 'get-value' command 2025-10-08 21:35:37 +03:00
MihailRis
aa42fb1e39 add 'step-into-function' command 2025-10-07 23:51:02 +03:00
MihailRis
9372a5226e add 'step' and 'resume' commands 2025-10-07 21:53:46 +03:00
MihailRis
5972bc769b add 'set-breakpoint', 'remove-breakpoint' commands 2025-10-07 21:07:02 +03:00
MihailRis
4a15abd806 Merge branch 'main' into dev 2025-10-06 19:31:58 +03:00
MihailRis
4fa430b6ba cleanup 2025-10-06 19:30:19 +03:00
MihailRis
5626163f17 fix: wrong environment used in modules imported by require(...) 2025-10-06 19:06:15 +03:00
MihailRis
fbba0e1415
Merge pull request #633 from Xertis/dev
Make Nagle's algorithm configurable
2025-10-01 01:29:49 +03:00
Xertis
1f049c2fd0 change "get" to "is" 2025-10-01 01:05:30 +03:00
Xertis
86053fa86d Merge branch 'dev' of https://github.com/Xertis/VoxelEngine-Cpp into dev 2025-09-30 23:45:25 +03:00
Xertis
b6ca7cf918 make Nagle's algorithm configurable 2025-09-30 23:45:00 +03:00
MihailRis
75ef603df0 fix non-local players interpolation and head direction 2025-09-29 22:21:14 +03:00
MihailRis
b98954f95e cleanup 2025-09-26 22:03:08 +03:00
GHOST11111100
792ee63f22
Player Attributes (#578)
* feat: add max interaction distance functionality to Player class and Lua bindings

* feat: add getter and setter for max interaction distance in Player class documentation

* feat: add speed and gravity scale properties with corresponding getters and setters in Player class

* fix: replace deprecated __max and __min with std::max and std::min in setMaxInteractionDistance

* feat: add time scale functionality with getters and setters in World and Engine classes

* remove speed and gravity scale functions from player and world libraries

* remove time scale setting on world open and close

* rename interaction distance functions for consistency

* refactor: update interaction distance functions and remove time scale methods

* refactor: revert classes.lua to dev

* refactor: remove time scale functionality from Engine and World classes

* fix: Now I’ve definitely rolled back `classes.lua`.

* refactor: remove unused player attributes and clean up player class

* Update Player.hpp

removed unused methods from Player.cpp
2025-09-26 21:59:15 +03:00
MihailRis
1350910d28 fix: missing Random:seed method 2025-09-26 00:25:00 +03:00
MihailRis
088bf63f3f replace lua Random implementation with usertype 2025-09-25 23:53:11 +03:00
MihailRis
3a40162f1e
Fix udp address resolve (#624)
* тест для udp + фикс udp

* fix udp addresses resolve

* update SocketUdpConnection::connect

* update SocketUdpServer::sendTo

* update udp test

* revert

* test

* test

* test

* test

* test

* test?

* update test

* cleanup

* cleanup

* update test

* update

* revert

* cleanup

* update test

* update test

* update

* fix test

* additional error handling

* update Network.cpp

* update Network.cpp 2

* fix the test

* cleanup Network.cpp

* revert network_tcp.lua extra changes

---------

Co-authored-by: Xertis <118364459+Xertis@users.noreply.github.com>
2025-09-25 17:02:42 +03:00
MihailRis
8b38d57966 fix body:set_gravity_scale & fix docs 2025-09-22 23:52:50 +03:00
MihailRis
7dab722561 fix core:player component 2025-09-21 23:26:03 +03:00
MihailRis
49ba8e2185 remove extra blocks registering debug info output 2025-09-20 22:03:48 +03:00
MihailRis
d990cbbdc4 fix core:player component 2025-09-20 17:51:00 +03:00
MihailRis
1c54de2d76 fix missing core:mob 'get_dir' function 2025-09-20 11:29:15 +03:00
MihailRis
83f7146a14 fix missing core:pathfinding 'reset_route' function 2025-09-20 11:16:37 +03:00
MihailRis
43a7331f62 add 'tags.toml' file 2025-09-19 22:16:28 +03:00
MihailRis
4313029bc7 calibrate movement speed 2025-09-18 20:27:18 +03:00
MihailRis
7d6ddfa535 add 'data' argument to http error callback 2025-09-16 23:17:06 +03:00
MihailRis
532c4887bc add Random class 2025-09-16 20:27:07 +03:00
MihailRis
a1177f2601 update doc/*/scripting/events.md & add 'tps' argument 2025-09-15 00:31:38 +03:00
MihailRis
b863d47d7f add 'on_block_tick' event 2025-09-14 23:57:45 +03:00
MihailRis
95818f576b update app.sleep_until 2025-09-14 15:11:39 +03:00
MihailRis
99940da426 add 'asserts' library 2025-09-14 14:37:11 +03:00
MihailRis
40eda93398 update network test and fix coroutines errors handling 2025-09-14 14:11:34 +03:00
MihailRis
1c2fa2bba4 small fix 2025-09-13 23:38:01 +03:00
MihailRis
bf682daffe update on_physics_update & update standard components 2025-09-13 23:24:57 +03:00