Git Product home page Git Product logo

mainui_cpp's Introduction

mainui_cpp

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

Key features:

  • Custom font renderer with multiple backends based on FreeType, stb_truetype and GDI on Windows
  • Unicode and l10n support
  • Completely self-contained, just clone this repo (with --recursive) and add to your mod
  • Complex widget containers system, ability to put widget into containers into container
  • Window system as a continuation of containers system
  • Client-side menus (needs to be documented)

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.
  1. Place your built menu.dll/libmenu.so ALONGSIDE your client.dll/client.so.
  2. 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

  • mainui_cpp doesn't supports original Xash3D anymore. If it's possible, you can switch to Xash3D FWGS, otherwise you're on your own. I will accept patches to enable other Xash3D forks, but I won't support them on my own.

mainui_cpp's People

Contributors

a1batross avatar mittorn avatar vladislav4kz avatar velaron avatar nekonomicon avatar kungfulon avatar fgsfdsfgs avatar lorsanta avatar numas13 avatar exl avatar glebm avatar midlou avatar snmetamorph avatar solexid avatar lewa-j avatar nillerusr avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.