1
0
mirror of https://github.com/solemnwarning/directplay-lite synced 2024-12-30 16:45:37 +01:00

Commit Graph

  • 2d5651350c Fix a few compiler warnings. master Daniel Collins 2023-12-11 22:45:20 +00:00
  • 6f9a8d32e3 Implement DllRegisterServer() and DllUnregisterServer() in dpnet.dll Daniel Collins 2023-12-11 22:42:48 +00:00
  • c8fe35b819 Replace build.bat with VS projects and fix some compile errors. Daniel Collins 2023-12-11 22:37:46 +00:00
  • 25640cc67d
    Merge pull request #1 from Lafikateh/master Daniel Collins 2022-05-27 08:19:34 +01:00
  • 8a39f8979e
    Update DirectPlay8Address.cpp Lafika 2022-05-26 22:10:53 +02:00
  • 7170581117 Added email address to copyright notices. Daniel Collins 2019-03-17 14:42:02 +00:00
  • 2d5b282dc1 Added README. Daniel Collins 2019-03-17 14:31:19 +00:00
  • 3c44ccf06e Added GPL license and headers to sources. Daniel Collins 2019-03-17 13:56:19 +00:00
  • fbfd8469f4 Optionally build with debug symbols. Daniel Collins 2018-11-27 19:01:30 +00:00
  • 638a52dcfd IDirectPlay8Peer: Debug messages when connecting to peers. Daniel Collins 2018-11-27 18:55:51 +00:00
  • 7cc4e85f6d IDirectPlay8Peer: Implement DPLITE_CONNECT_IP environment variable. Daniel Collins 2018-11-27 18:53:59 +00:00
  • 8d46ae9e9b IDirectPlay8Peer: Complete asynchronous sends in the worker pool. Daniel Collins 2018-11-27 18:50:44 +00:00
  • 1837aa1915 Misc. fixes Daniel Collins 2018-11-14 01:33:35 +00:00
  • e1b51c22b1 IDirectPlay8Peer: Allow non-host peers to create groups. Daniel Collins 2018-11-12 21:16:07 +00:00
  • 7c75bf7f9b IDirectPlay8Peer: Implement SendTo() on groups. Daniel Collins 2018-11-11 14:44:10 +00:00
  • 9c1345f44a IDirectPlay8Peer: Randomly select dynamic ports in Connect() method. Daniel Collins 2018-11-10 22:37:02 +00:00
  • 6df47cee60 Handle group cleanups for session end etc Daniel Collins 2018-11-10 21:34:31 +00:00
  • e8e35c1c45 IDirectPlay8Peer: Added more group tests based on reference behaviour. Daniel Collins 2018-11-09 15:24:22 +00:00
  • 5297110b12 IDirectPlay8Peer: Implement RemovePlayerFromGroup() Daniel Collins 2018-11-09 10:34:54 +00:00
  • d68ba86da9 DirectPlay8Peer: Implement AddPlayerToGroup() and EnumGroupMembers() Daniel Collins 2018-11-09 00:55:15 +00:00
  • 89a3174ecd IDirectPlay8Peer: Implement explicit group destruction. Daniel Collins 2018-11-08 22:42:48 +00:00
  • 2149caef53 IDirectPlay8Peer: Implement group creation and enumeration. Daniel Collins 2018-11-08 21:51:04 +00:00
  • 7cfb9b3a5a Extended IDirectPlay8Peer group tests. Daniel Collins 2018-11-08 01:07:48 +00:00
  • 3b1e6d8b5e Send guaranteed messages in soak/performance test. Daniel Collins 2018-11-07 09:04:41 +00:00
  • a7a6a4a0da Implement tests for CreateGroup() and AddPlayerToGroup() Daniel Collins 2018-11-06 23:53:33 +00:00
  • 21c5340793 Run client soak test in phases Daniel Collins 2018-11-01 09:07:41 +00:00
  • 5c44ce26e0 Send messages and track statistics in soak test. Daniel Collins 2018-10-31 23:31:25 +00:00
  • f3a3533660 Allow calling IDirectPlay8Peer::SendTo() during connection. Daniel Collins 2018-10-31 23:16:12 +00:00
  • 685a6c27cf Initial implementation of soak test client side. Daniel Collins 2018-10-28 15:47:47 +00:00
  • 988ea0c3b6 Initial implementation of soak testing framework Daniel Collins 2018-10-28 14:00:20 +00:00
  • 44423f4596 Avoid spinning the workers whenever a peer is connected. Daniel Collins 2018-10-24 00:57:09 +01:00
  • 14c78e506b Raise maximum packet size. Daniel Collins 2018-10-24 00:54:41 +01:00
  • 56772c9813 Build dsound hook DLL. Daniel Collins 2018-10-23 22:04:34 +01:00
  • 8ffad7fbdd Fix logging. Daniel Collins 2018-10-23 22:04:06 +01:00
  • 4b962954ef Release lock when dispatching DPNMSG_CREATE_PLAYER in IDirectPlay8::Host() Daniel Collins 2018-10-23 22:03:18 +01:00
  • a5ff5b9a09 Build dpnet.dll Daniel Collins 2018-10-21 20:52:49 +01:00
  • 780a37965b Implement IDirectPlay8Peer::GetLocalHostAddresses() method Daniel Collins 2018-10-21 20:52:24 +01:00
  • b04735e8ea Don't crash if IDirectPlay8Peer::Host() is passed a NULL session name. Daniel Collins 2018-10-21 20:50:35 +01:00
  • d9c78f14bf Delete obsolete Makefile Daniel Collins 2018-10-17 00:07:10 +01:00
  • 5ccf66fceb Implement cancelling of queued asynchronous sends. Daniel Collins 2018-10-16 23:25:08 +01:00
  • 5c8f19d5a8 Log failures in hookdll Daniel Collins 2018-10-16 13:48:51 +01:00
  • dd6488969e Track and wait for synchronous EnumHosts() calls in Close() Daniel Collins 2018-10-16 13:23:48 +01:00
  • 0239e5357d Add missing lock uses in DirectPlay8Peer Daniel Collins 2018-10-16 13:13:45 +01:00
  • 9fc69d67ea Remove code duplication in disconnect/cleanup paths. Daniel Collins 2018-10-15 18:13:10 +01:00
  • b74b018ff2 Implement IDirectPlay8Peer::TerminateSession() Daniel Collins 2018-10-15 13:29:07 +01:00
  • b44689b38f Implement IDirectPlay8Peer::DestroyPeer() Daniel Collins 2018-10-14 17:41:57 +01:00
  • 7723fc04e3 Implement player enumeration in IDirectPlay8Peer::EnumPlayersAndGroups() Daniel Collins 2018-10-14 13:42:07 +01:00
  • c88355efb9 DirectPlay8Peer: Support cancelling in-progress connections. Daniel Collins 2018-10-14 01:13:57 +01:00
  • f753f42d44 Allocate async handles correctly. Daniel Collins 2018-10-14 01:06:00 +01:00
  • 56ab6ea75a Destroy local player is connecting to a peer fails. Daniel Collins 2018-10-12 16:41:49 +01:00
  • 1b16624577 Handle IDirectPlay8Peer::Close() being called by the host. Daniel Collins 2018-10-12 10:14:20 +01:00
  • e7f5d0f68d Proper implementation of IDirectPlay8Peer::Close() Daniel Collins 2018-10-11 12:26:20 +01:00
  • 61e8d23da8 Don't leak peer sockets and handle I/O errors on them. Daniel Collins 2018-10-06 22:06:05 +01:00
  • fffbfe3ce4 Don't poll for TCP recv() events when processing one. Daniel Collins 2018-10-06 14:07:51 +01:00
  • f000152a7a Fix message ordering race in IDirectPlay8Peer::SetPeerInfo() Daniel Collins 2018-10-06 14:02:32 +01:00
  • 8db9aa277f Maintain worker_pool only when DirectPlay8Peer is initialised. Daniel Collins 2018-10-06 10:51:49 +01:00
  • 818adcbba1 Connect non-host peers in sessions together. Daniel Collins 2018-10-05 19:26:05 +01:00
  • a91ded1268 Allow connecting to "IPX" addresses. Daniel Collins 2018-10-03 23:28:47 +01:00
  • 551cbcf43c Include Wine DirectPlay headers rather than needing the DX SDK. Daniel Collins 2018-10-03 23:21:02 +01:00
  • d2bd2bc85a Tweak debug logging. Daniel Collins 2018-10-03 21:35:23 +01:00
  • b1289366be Address handling improvements. Daniel Collins 2018-10-03 21:21:56 +01:00
  • f8ee41f365 Implement basic logging functions, do some TODOs. Daniel Collins 2018-10-02 00:46:05 +01:00
  • 8b70fea3bc Finish implementation of (Get|Set)ApplicationDesc() Daniel Collins 2018-10-01 23:03:02 +01:00
  • f5c660f22a Copy values for DPN_APPLICATION_DESC between peers. Daniel Collins 2018-09-30 19:45:57 +01:00
  • d4d0c2f64a Use same host enumeration parameters as DirectX. Daniel Collins 2018-09-29 19:59:38 +01:00
  • f150264c93 Implement IDirectPlay8Peer::GetSPCaps() and SetSPCaps() Daniel Collins 2018-09-29 19:56:47 +01:00
  • 82a8842fa0 Implement IDirectPlay8Peer::GetCaps() and SetCaps() Daniel Collins 2018-09-29 19:31:01 +01:00
  • c2a3b51c9d Implement IDirectPlay8Peer::EnumServiceProviders() Daniel Collins 2018-09-29 19:00:45 +01:00
  • 2b1a0fb687 Exchange peer information between host/peer. Daniel Collins 2018-09-27 22:46:34 +01:00
  • 6b8d3eab9b HostEnumerator: Populate host address port correctly. Daniel Collins 2018-09-27 22:22:56 +01:00
  • ca6184b1c9 DirectPlay8Address: Convert ANSI strings to Unicode. Daniel Collins 2018-09-27 22:05:38 +01:00
  • f19678217f SendTo() support for DPNID_ALL_PLAYERS_GROUP, DPNSEND_NOLOOPBACK. Daniel Collins 2018-09-24 21:43:25 +01:00
  • 2635fd04cd Initial SetPeerInfo() and SetPeerInfo() implementations. Daniel Collins 2018-09-24 19:39:15 +01:00
  • c28f880fee Initial prototype of a hook DLL (ddraw.dll) Daniel Collins 2018-09-23 15:43:15 +01:00
  • 45b4fd19bd Basic message sending. Daniel Collins 2018-09-21 01:03:49 +01:00
  • e8fdf2ecb1 Simple SendTo tests Daniel Collins 2018-09-20 22:51:54 +01:00
  • 25341f2488 Milestone: Connect a single peer! Daniel Collins 2018-09-20 00:58:41 +01:00
  • 98b37cf76c WIP: DirectPlay8Peer::Connect() tests Daniel Collins 2018-09-17 23:18:49 +01:00
  • da3cd1a55f Use HandleHandlingPool to run DirectPlay8Peer worker threads. Daniel Collins 2018-09-15 23:24:54 +01:00
  • f06f219d61 Implement HandleHandlingPool class. Daniel Collins 2018-09-15 21:38:01 +01:00
  • 26c038a24d Build with Visual Studio toolchain rather than GCC. Daniel Collins 2018-09-13 01:42:31 +01:00
  • 1dd9e45145 Improve DirectPlay8Peer object management in tests. Daniel Collins 2018-09-13 01:40:47 +01:00
  • d10a456883 Fix use of uninitialised memory, leaks. Daniel Collins 2018-09-13 01:20:45 +01:00
  • c63945facd Initial prototype of network I/O and session enumeration. Daniel Collins 2018-09-11 21:30:44 +01:00
  • 286c86ea46 Implement serialising of GUIDs in packets. Daniel Collins 2018-09-11 21:53:00 +01:00
  • 971119edae Implement low-level packet (de)serialisation code. Daniel Collins 2018-09-02 13:02:20 +01:00
  • c865ecb1f7 Disable IDirectPlay8Address::GetURLX() tests. Daniel Collins 2018-09-02 13:01:02 +01:00
  • f829367d1b Create sockets for hosting. Daniel Collins 2018-08-30 22:55:00 +01:00
  • 9659e2e84b Ensure provider component is always first. Daniel Collins 2018-08-29 00:29:08 +01:00
  • d2092b8641 Added tests for DirectPlay8Address::GetURL[AW]() and component ordering. Daniel Collins 2018-08-29 00:25:25 +01:00
  • 5550c78658 More DirectPlay8Address tests, "fix" GetUserData() behaviour Daniel Collins 2018-08-28 23:19:47 +01:00
  • 45a9f1b268 More DirectPlay8Address tests, fixed ANSI string components. Daniel Collins 2018-08-28 22:34:56 +01:00
  • 1405a9f127 Import Google Test framework Daniel Collins 2018-08-28 21:56:00 +01:00
  • 1564ddf309 Initial DirectPlay8Address unit tests and fixes. Daniel Collins 2018-08-28 16:09:13 +01:00
  • b8364c5997 Partial DirectPlay8Address implementation. Daniel Collins 2018-08-23 00:10:18 +01:00
  • 1c41ec3b76 Implemented DirectPlay8Address skeleton Daniel Collins 2018-08-21 23:11:41 +01:00
  • b2c025b530 Implemented initial skeleton of dpnet.dll and DirectPlay8Peer. Daniel Collins 2018-08-21 22:59:27 +01:00
  • c687913b7b Initial commit Daniel Collins 2018-08-20 21:50:46 +01:00