25 Commits

Author SHA1 Message Date
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
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
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
49ba8e2185 remove extra blocks registering debug info output 2025-09-20 22:03:48 +03:00
MihailRis
7d6ddfa535 add 'data' argument to http error callback 2025-09-16 23:17:06 +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
f9d923101a replace http-callbacks with events_queue entries 2025-09-10 00:16:24 +03:00
Onran0
8d79ee3499 minor fixes 2025-08-24 08:38:25 +09:00
Onran0
1bea391f1d fixes 2025-08-24 08:31:13 +09:00
Onran0
4a9aad04ff udp support 2025-08-24 02:39:05 +09:00
MihailRis
47c97ccd46 fix 'resume dead coroutine' for client 2025-07-26 18:08:10 +03:00
MihailRis
1bd3463488 fix "cannot resume dead coroutine" for servers 2025-07-26 17:08:45 +03:00
MihailRis
13de581b4b add socket:available() --> int 2025-01-07 18:44:40 +03:00
MihailRis
21c76c1b0d add socket:get_address, serversocket:get_port 2024-11-30 22:32:14 +03:00
MihailRis
af5902f98e fix network.tcp_connect 2024-11-27 17:50:53 +03:00
MihailRis
951d2fd1f8 add socket:is_alive, :is_connected, serversocket:is_open 2024-11-27 17:46:09 +03:00
MihailRis
34974c4bb3 add network.tcp_connect and .tcp_open 2024-11-27 17:06:06 +03:00
MihailRis
f2b9d0620a add cameras.get(int) overload 2024-08-28 11:59:35 +03:00
MihailRis
058daf6117 add camera:look_at optional interpolation parameter 2024-07-22 19:32:05 +03:00
MihailRis
012e81d4c9 add doc/**/cameras.md & update cameras library 2024-07-22 16:50:03 +03:00