Commit Graph

221 Commits

Author SHA1 Message Date
ImperatorS79
d4cd0581e4 Update SocketImpl.cpp 2020-11-21 21:35:51 +01:00
ImperatorS79
255812c80e Fix missing MSG_NOSIGNAL and TCP_KEEPIDLE on macos 2020-11-21 21:29:23 +01:00
Jérôme Leclercq
2b6a463a45 Remove Nz::String and Nz::StringStream 2020-09-25 19:31:01 +02:00
Jérôme Leclercq
790815e9ee Merge branch 'master' into nazara-next 2020-09-17 20:28:11 +02:00
Jérôme Leclercq
36d3c51eeb Add module configurations 2020-09-17 20:10:39 +02:00
Jérôme Leclercq
fd1d416510 Rename Module to ModuleBase 2020-09-11 13:39:18 +02:00
Jérôme Leclercq
a7fac3beb8 Rework modules 2020-09-10 20:12:09 +02:00
Jérôme Leclercq
193deb6c04 Fix some minor stuff 2020-09-06 17:09:39 +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
3d22321109 Big f***ing cleanup part 1 2020-02-23 00:42:22 +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
Jérôme Leclercq
278ff26795 Forgot to fix this for Linux too 2019-04-24 14:29:55 +02:00
Jérôme Leclercq
408d37a27a Network/IpAddress: Fix problem with some IPv6 2019-04-24 13:46:02 +02:00
Jérôme Leclercq
853e01c192 Enet fixes (#200)
* Network/ENet: Fix UnreliableFragment flag

* Network/ENet: Match libenet new behavior on DisconnectLater
2019-03-20 17:12:34 +01:00
Lynix
f3febe5d34 Network/ENetHost: Comment out warning in case of error 2018-10-21 13:53:06 +02:00
Lynix
34787d6766 Network/SocketImpl: Fix linux build 2018-10-01 23:10:25 +02:00
Lynix
aa9bec6e5e Network/TcpClient: Revert to previous behavior on failure 2018-10-01 23:05:14 +02:00
Lynix
67c56b2aba Network/TcpClient: Add PollForConnected 2018-10-01 23:04:53 +02:00
Lynix
dad2dbae1c Network/TcpClient: WaitForConnected now returns new socket state 2018-10-01 22:38:20 +02:00
Lynix
13a515c1b5 Network/TcpClient: WaitForConnected now closes the socket on failure 2018-10-01 22:19:49 +02:00
Jérôme Leclercq
706a06b506 Increase NetPacket size from UInt16 to UInt32 2018-09-25 15:51:45 +02:00
Jérôme Leclercq
56873b92b0 Network/Socket: Fix Connect (timeout) on Windows/Linux 2018-08-30 13:03:50 +02:00
Jérôme Leclercq
28c6bd7af7 Network: Log internal errors 2018-08-30 12:10:33 +02:00
Faymoon
beca6e7dd5 little fixes (#183)
* Update

* Add: [Get/Set]AngularDaming for standardization

* Fix: Name error

* Add: [Get/Set][AngularDamping/MomentOfInertia] in PhysicsComponent2D

* Forgot in last commit

* Add: param coordSys in [PhysicsComponent2D/RigidBody2D]::SetMassCenter

* Add: Some forgotten inline

* Fix little error

* Fix: Indentation before case

* Move and Change GetCenterOfGravity

* Rename m_world into m_physWorld

* Rename GetWorld int GetPhysWorld

* Update: PhysicsSystem2D became an interface of PhysWorld2D

* Update Collison/PhysicsComponent because GetWorld was renamed

* Update tests

* Update: Make the interface usable with Entity instead of PhysicsComponent

* Update: Make GetPhysWorld private

* Update PhysicsSystem2D.hpp

* Update: indent

* Remove: useless blank line

* update order(?)

* Update PhysicsSystem2D.hpp

* Add calls to GetPhysWorld to attempt a nullptr value

* update include

* little fix

* add some missing inline
2018-08-14 18:44:41 +02:00
Jérôme Leclercq
6dfc866a4d Network/ENetPeer: Fix enet stuff 2018-07-17 09:56:30 +02:00
Jérôme Leclercq
a870954762 Network/ENetPeer: Fix reliable sequence number wrap error 2018-07-09 18:06:08 +02:00
Jérôme Leclercq
2fcea6b79f Core/StackArray: Moved StackArray class to its own header 2018-07-02 17:53:49 +02:00
Jérôme Leclercq
56b23a2f27 Network/SocketPoller: Wait() now returns the number of active sockets, and optionally the last error
It will also ignore the EINTR error on Linux
2018-06-12 14:31:49 +02:00
Jérôme Leclercq
15f84dc712 Noexcept all the things! 2018-06-12 11:37:44 +02:00
Jérôme Leclercq
33fb70b65b Network: Fix SocketPoller error handling 2018-05-31 16:08:46 +02:00
Lynix
e8e3c29f37 Refactor IpAddressImpl.cpp (Windows) + update changelog 2018-04-02 16:30:39 +02:00
Lynix
63ee3ca8d4 Network/Socket: Fix IPv6 decoding on posix 2018-04-01 21:56:45 +02:00
Lynix
c869967928 Network/Socket: Fix dual-stack support 2018-04-01 21:34:50 +02:00
Lynix
a5400f07c9 Network/Socket: Fix IPv6 encoding 2018-04-01 21:30:07 +02:00
Lynix
df510aeb78 Network/Socket: Fix broadcast & dual-stack on Posix 2018-04-01 21:01:13 +02:00
Lynix
eeba7f96a0 Fix compilation 2018-04-01 20:52:52 +02:00
Lynix
715729fc02 Network: Add support for dual-stack sockets 2018-04-01 20:48:50 +02:00
Jérôme Leclercq
edec42038c Fix compilation for MinGW 2018-03-27 15:07:34 +02:00
Lynix
3afdbd2141 Fix typo 2018-01-28 14:27:52 +01:00
Lynix
a8c1a2f488 Network/Win32: Fix a parsing error when compiler doesn't support __has_include 2018-01-26 20:57:14 +01:00
Jérôme Leclercq
3f7bac186b Network/Win32: Second patch for MinGW #157
Extending Mstcpip.h fix using C++17 feature __has_include
2018-01-26 16:11:53 +01:00
Jérôme Leclercq
b93320613e Network/Windows: MinGW compatibility fix 2018-01-26 15:41:01 +01:00
Jérôme Leclercq
2bef737dc6 Network/ENetPeer: Fix indent 2018-01-05 15:39:47 +01:00