0f76252c169c8679e920a065a8d35de611c6aef2
- Created project files for ConnectTool including filters and user settings. - Added README.md with setup instructions and prerequisites for building the project. - Implemented imgui_hello.cpp as a simple Dear ImGui application using GLFW and OpenGL. - Developed online_game_tool.cpp for hosting and joining game rooms using Steam Networking. - Created p2p_chat.cpp for a peer-to-peer chat application utilizing Steam Networking. - Implemented steam_friends.cpp to display the user's Steam friends list. - Added TCP client and server classes for handling network communication. - Integrated TCP server and client functionality into online_game_tool for real-time data exchange.
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%