82 Commits

Author SHA1 Message Date
mafiesto4 2bf6fac77d Format more engine code 2022-06-14 20:26:33 +02:00
mafiesto4 b49e5e9984 Format more engine code 2022-06-14 20:17:00 +02:00
mafiesto4 a881c90b2e Refactor engine to support double-precision vectors 2022-06-13 00:40:32 +02:00
mafiesto4 778e4e0ea7 Fix crash on NetworkPeer disposing 2022-05-15 11:51:20 +02:00
mafiesto4 8c2241c6dc Update copyright year 2022-01-14 13:31:12 +01:00
mafiesto4 192af7ec14 Refactor native core objects to simplify usage for newcomers 2022-01-08 15:06:23 +01:00
mafiesto4 7955a6bc35 Minor fixes 2021-11-07 20:47:29 +01:00
mafiesto4 3838870b16 Add soft failing to NetworkPeer creation and INetworkDriver initialization 2021-10-18 11:50:03 +02:00
mafiesto4 302ec73b18 Cleanup
#651
2021-10-18 11:02:08 +02:00
Erdroy 2f6dee9735 Fix build errror 2021-10-14 20:52:13 +02:00
Erdroy 41e4ce7b2e Add DEPRECATED attribute to NetworkConfig::NetworkDriverType 2021-10-14 20:19:06 +02:00
Erdroy 9763199dbb Add INetworkDriver::DriverName() function 2021-10-14 20:19:06 +02:00
Erdroy e717d29401 Add NetworkDriver interface pointer to NetworkConfig 2021-10-14 20:19:05 +02:00
mafiesto4 ecf926a537 Cleanup ENetDriver and use interface properly for scripting 2021-10-04 12:26:35 +02:00
mafiesto4 53022ff013 Fix code quality issues detected by PVS-Studio 2021-09-21 18:23:31 +02:00
Erdroy bb4d94ee85 Fix ENet driver crash 2021-08-16 19:54:20 +02:00
Erdroy b149d91c35 Cleanup native NetworkMessage write and read string char size 2021-07-07 18:11:59 +02:00
Erdroy e62c76b0fb Add NetworkMessage Guid write and read methods 2021-07-07 18:11:20 +02:00
Erdroy 7e9f648a05 Fix NetworkMessage UTF-16 string write and read 2021-07-07 18:03:54 +02:00
Erdroy 6471f880ac Fix NetworkMessage.WriteBytes 2021-07-06 20:33:22 +02:00
Erdroy 6a2e833fca Fix NetworkMessage typo 2021-07-06 20:19:25 +02:00
Erdroy e44bca597c Fix NetworkMessage.ReadBytes 2021-07-06 20:14:29 +02:00
mafiesto4 404891fe01 Fix building for Xbox Scarlett 2021-07-02 10:53:38 +02:00
Erdroy 15b14349f9 Fix linux build 2021-07-01 22:58:45 +02:00
Erdroy 2f9147c36c Fix all merge suggestions/issues 2021-07-01 19:47:04 +02:00
Erdroy bfd50851f8 Move implementation from NetworkMessage source file into header file 2021-07-01 19:46:01 +02:00
Erdroy e41139d1fa Delete NetworkConnection.cpp 2021-07-01 19:45:39 +02:00
Erdroy 742b73f774 Cleanup NetworkMessage header XML comments 2021-06-27 12:26:11 +02:00
Erdroy 95c86efd31 Improve Write/ReadString implementation and comments 2021-06-27 12:25:45 +02:00
Erdroy a6ccbe3876 Remove NetworkManager and move peer creation/shutdown to NetworkPeer class 2021-06-26 21:30:11 +02:00
Erdroy 6aece4e388 Add note about required message recycle after message-event 2021-06-21 22:00:09 +02:00
Erdroy 25fe03f5a5 Rename NetworkTransportType to NetworkDriverType 2021-06-21 21:40:48 +02:00
Erdroy c6a8488fe1 Add XML comments 2021-06-21 21:40:27 +02:00
Erdroy d9aa9d1832 Remove UTF8 and UTF32 in favor of UTF16 strings to be consistent with C++ API 2021-06-21 21:34:21 +02:00
Erdroy 7692aaf547 Rename *Host functions to *Peer functions 2021-06-21 21:02:48 +02:00
Erdroy 3a722acc62 Cleanup 2021-06-21 20:32:02 +02:00
Erdroy 5234ae7a0d Fix NetworkPeer instance memory leak 2021-06-21 20:10:15 +02:00
Erdroy 6772d447fa Cleanup 2021-06-21 20:10:03 +02:00
Erdroy 9d7bba04cb Rename NetworkHost to NetworkPeer as it seems more appropriate 2021-06-18 20:45:30 +02:00
Erdroy 040c024dff Refactor most NetworkManager functionality into NetworkHost 2021-06-18 20:43:17 +02:00
Erdroy f40bb309d5 Fix host id issue, cleanup 2021-06-17 18:42:42 +02:00
Erdroy e0d41ab683 Fix host shutdown issue 2021-06-17 18:42:27 +02:00
Erdroy 23794c8875 Add NetworkHost id and comparison operator 2021-05-29 20:19:09 +02:00
Erdroy 97a5daf7e6 Fix NetworkMessage read/write asserts 2021-05-29 20:18:07 +02:00
Erdroy 1e22d8e3f8 Add ENet kick/connection disconnect impl 2021-05-29 19:50:28 +02:00
Erdroy 61af4c94bd Add usage of address specified in config for ENet driver 2021-05-29 19:42:22 +02:00
Erdroy 6719e0b326 Cleanup 2021-05-29 19:41:39 +02:00
Erdroy ba4979cfc2 Add NetworkConfig::Address validation 2021-05-22 19:45:44 +02:00
Erdroy cd04007a71 Add address string for Listening/Connecting 2021-05-22 19:45:31 +02:00
Erdroy 0b16490719 Add full C# NetworkMessage API 2021-04-23 21:09:15 +02:00