Commit Graph

60 Commits

Author SHA1 Message Date
Jérôme Leclercq dd421a6385
Replace float/UInt64 durations by a more precise Time class (#388)
Improve Clock class with atomic RestartIfOver method and allows to choose required precision
2022-12-29 21:31:46 +01:00
SirLynix e063c7b45e Network/ENet: Add DisconnectTimeout event 2022-09-09 12:56:50 +02:00
SirLynix 359c176b03 Network/ENetHost: Expose AllocatePacket 2022-09-01 20:21:27 +02:00
SirLynix 3507ec570f Network: Fix ENetPacket 2022-07-07 08:50:18 +02:00
Jérôme Leclercq 03e2801dbe Split engine to packages NazaraUtils and NZSL (#375)
* Move code to NazaraUtils and NZSL packages

* Reorder includes

* Tests: Remove glslang and spirv-tools deps

* Tests: Remove glslang init

* Remove NazaraUtils tests and fix Vector4Test

* Fix Linux compilation

* Update msys2-build.yml

* Fix assimp package

* Update xmake.lua

* Update xmake.lua

* Fix shader compilation on MinGW

* Final fixes

* The final fix 2: the fix strikes back!

* Disable cache on CI

* The return of the fix™️
2022-05-25 19:36:10 +02:00
Lynix a4543b30c3 Network: Add fast peer disconnection in case of network error/unreachable host 2022-03-19 12:48:25 +01:00
Jérôme Leclercq 6bd9f1a9e4 Add unity build support 2022-03-15 12:44:21 +01:00
Jérôme Leclercq 29c798a683 Core/MemoryPool: Remake memory pool 2022-02-20 16:00:32 +01:00
SirLynix 89c7bbf197 Update copyright date 2022-01-01 15:30:09 +01:00
Jérôme Leclercq ed7ab31933 Apply copyright fix to all files 2021-10-26 14:31:35 +02:00
Jérôme Leclercq 309fd547e1 Fix compilation errors and warnings 2021-07-07 22:38:24 +02:00
Jérôme Leclercq 874fb3542e Convert all remaining enums to enum classes (!) 2021-05-25 10:40:07 +02:00
Jérôme Leclercq 2b6a463a45 Remove Nz::String and Nz::StringStream 2020-09-25 19:31:01 +02:00
Jérôme Leclercq a28635ec70 Merge pull request #326 from DigitalPulseSoftware/vulkan
Add OpenGL / Vulkan renderers
2020-08-27 18:38:21 +02:00
Lynix aff617f147 Network: Replace some String by std::string 2020-07-25 14:32:53 +02:00
Lynix c23b6dfa01 Copyright year update
I can't wait to see the conflicts this will cause
2020-03-05 17:27:26 +01:00
Lynix 0bcd8769fe Nazara/Network: ENetHost::GetTotalReceivedPackets now returns the number of commands received 2019-12-29 11:55:07 +01:00
Lynix 24cb8f6845 Add ENet::GetTotalPacketReceived 2019-12-29 11:54:00 +01:00
Lynix 2dcf154553 Oops² 2019-12-28 17:32:37 +01:00
Lynix 56243f5a12 Nazara/Network: Add GetTotalByte[Received|Sent] 2019-12-28 17:31:21 +01:00
Lynix 9f8e83087a Oops 2019-12-28 17:19:40 +01:00
Lynix 57b37c3d2c Minor fixes 2019-12-28 15:06:31 +01:00
Lynix f3febe5d34 Network/ENetHost: Comment out warning in case of error 2018-10-21 13:53:06 +02:00
Jérôme Leclercq 15f84dc712 Noexcept all the things! 2018-06-12 11:37:44 +02:00
Lynix 715729fc02 Network: Add support for dual-stack sockets 2018-04-01 20:48:50 +02:00
Jérôme Leclercq 503378ed47 Try some black magic 2017-12-04 16:22:01 +01:00
Lynix f2506ee918 Network/ENetHost: Fix service time precision 2017-11-20 21:04:50 +01:00
Jérôme Leclercq 46e684c275 Network/ENetHost: Fix compression callbacks 2017-10-10 21:52:32 +02:00
Jérôme Leclercq cc4fdf2476 Network/ENet: Add compressor support 2017-09-22 15:22:43 +02:00
Lynix 9a6b007e70 Network/ENetHost: Fix crash 2017-09-16 10:47:00 +02:00
Jérôme Leclercq c211abd977 Network/ENetHost: Fix typo 2017-09-14 14:12:32 +02:00
Jérôme Leclercq 5915b6ce3a Network/ENetHost: Fix error when using ENetHost without listening 2017-09-01 15:24:42 +02:00
Jérôme Leclercq e37a7ad5fd Network/ENetHost: Dismiss external peer connection if listen address is loopback 2017-09-01 15:22:27 +02:00
Jérôme Leclercq 394f0bc730 Network/ENetHost: Fix hostname resolve 2017-07-11 12:12:38 +02:00
Lynix 53f865c42c Merge branch 'enet_wip_nothing_to_see_here' of https://github.com/DigitalPulseSoftware/NazaraEngine into enet_wip_nothing_to_see_here 2017-05-19 16:31:31 +02:00
Lynix 3ca179b954 Network/ENet: Separate Connect event into OutgoingConnect and IncomingConnect 2017-05-19 16:31:29 +02:00
Lynix d516b0907b Network/ENetHost: Fix usage of SocketPoller 2017-05-16 09:11:02 +02:00
Lynix b2e4296cc7 Network/ENetHost: Fix peers default values not being initialized 2017-03-08 21:05:56 +01:00
Lynix f2fb0f62c2 Switch ENet errors to Nazara 2017-03-02 16:18:34 +01:00
Jérôme Leclercq a53a916399 Network/ENetHost: Fix simulation being always active 2017-02-21 16:55:05 +01:00
Lynix b0d0a63fca Network/ENet: Add peer-side lag simulation 2017-02-20 23:37:31 +01:00
Lynix b7ee6d7b29 Network/ENet: Move all packet allocation to host 2017-02-16 23:26:00 +01:00
Lynix 8225ad3b41 Network/ENetHost: Optimize acknowledgements handling 2017-02-15 08:27:15 +01:00
Lynix 890b06bfcb Network/ENet: Refactor 2017-02-15 08:26:56 +01:00
Jérôme Leclercq 41d06fed38 Network/ENetHost: Fix packet leak when broadcasting with no peer connected 2017-02-01 17:52:01 +01:00
Lynix 7b8100dafe Network/ENet: Add ENet licence 2017-02-01 00:20:22 +01:00
Lynix a087174bf8 Network/Algorithm: Add HostToNet and NetToHost 2017-02-01 00:13:08 +01:00
Lynix 85257da07e Network/ENet: Fix some warnings 2017-01-31 23:05:18 +01:00
Lynix 6b8d9deb43 Network/ENet: Clean up time functions 2017-01-31 23:04:53 +01:00
Jérôme Leclercq b5797dfa12 Network/ENetHost: Move handling to ENetPeer 2017-01-30 18:08:21 +01:00