FWGS / mainui_cpp

Main menu UI toolkit for Xash3D FWGS engine
31 stars 36 forks source link
game-ui xash3d xash3d-engine xash3d-fwgs

mainui_cpp

Main Menu UI for Xash3D FWGS engine, built entirely in C++.

Key features:

Including mainui_cpp in your mod

  1. Clone this repo: git clone --recursive https://github.com/FWGS/mainui_cpp to your mod source code tree.
  2. If you use:
    • CMake: invoke add_subdirectory(mainui_cpp) in your CMakeLists.txt file
    • Waf/WAiFu: invoke ctx.add_subdirectory('mainui_cpp') in your wscript file
    • Visual Studio: if you want to build it from your mod tree, include vs2022/mainui_cpp.vcxproj to your mod solution, or use vs2022/mainui_cpp.sln.
  3. Place your built menu.dll/libmenu.so ALONGSIDE your client.dll/client.so.
  4. Check that everything is working and happy hacking!

If you have any troubles setting this up, create an issue in https://github.com/FWGS/mainui_cpp/issues.

Notes and restrictions