af181bb133cd0dc5f7c499f609d098f721482809
- Removed SteamMessageHandler class and its implementation files. - Integrated control packet handling directly into the SteamMessageHandler. - Updated TCPClient and TCPServer classes to improve connection management and error handling. - Added SteamNetworkingManager class to manage Steam networking, including lobby creation and connection handling. - Implemented callbacks for Steam Friends and Matchmaking to handle lobby events. - Enhanced message forwarding logic between TCP clients and Steam connections. - Introduced control packet handling for ping responses. - Improved thread safety with mutexes for shared resources.
ConnectTool - Dear ImGui Hello World
This repository includes a simple Dear ImGui "Hello World" example using GLFW + OpenGL3 for cross-platform compatibility.
Prerequisites
- C++17 compatible compiler
- CMake 3.10 or higher
- OpenGL 3.0 or higher
- GLFW library
Getting Dear ImGui
- Download Dear ImGui from https://github.com/ocornut/imgui
- Extract the contents to a folder named
imguiin the project root (next toCMakeLists.txt)
Building
-
Ensure you have GLFW installed. On Windows, you can use vcpkg:
vcpkg install glfw3On Linux/macOS, use your package manager (e.g.,
sudo apt install libglfw3-devon Ubuntu). -
Create a build directory:
mkdir build cd build cmake .. make -
Run the executable:
./ConnectTool
Cross-Platform Notes
- This setup uses GLFW for window management and OpenGL for rendering, ensuring compatibility across Windows, Linux, and macOS.
- If using Visual Studio on Windows, you can generate VS solution files with
cmake -G "Visual Studio 16 2019" ..(adjust for your version). - For macOS, ensure you have Xcode command line tools installed.
Description
Languages
C++
91.9%
CMake
8.1%