GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - FWGS/mainui_cpp: Main menu UI toolkit for Xash3D FWGS engine

BranchesTags
Open more actions menu

Latest commit

 

History

1,175 Commits
1,175 Commits

Folders and files

NameName
Last commit message
Last commit date
controls
controls
 
 
font
font
 
 
menus
menus
 
 
miniutl @ 048a416
miniutl @ 048a416
 
 
model
model
 
 
sdk_includes
sdk_includes
 
 
tests
tests
 
 
translations
translations
 
 
vs2022
vs2022
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
BMPUtils.h
BMPUtils.h
 
 
BaseMenu.cpp
BaseMenu.cpp
 
 
BaseMenu.h
BaseMenu.h
 
 
Btns.cpp
Btns.cpp
 
 
Btns.h
Btns.h
 
 
CFGScript.cpp
CFGScript.cpp
 
 
CFGScript.h
CFGScript.h
 
 
CMakeLists.txt
CMakeLists.txt
 
 
Color.h
Color.h
 
 
ColorUtils.h
ColorUtils.h
 
 
Coord.h
Coord.h
 
 
EngineCallback.cpp
EngineCallback.cpp
 
 
EventSystem.cpp
EventSystem.cpp
 
 
EventSystem.h
EventSystem.h
 
 
Image.h
Image.h
 
 
MenuStrings.cpp
MenuStrings.cpp
 
 
MenuStrings.h
MenuStrings.h
 
 
Primitive.h
Primitive.h
 
 
README.md
README.md
 
 
Scissor.cpp
Scissor.cpp
 
 
Scissor.h
Scissor.h
 
 
Utils.cpp
Utils.cpp
 
 
Utils.h
Utils.h
 
 
WindowSystem.cpp
WindowSystem.cpp
 
 
WindowSystem.h
WindowSystem.h
 
 
dictgen.py
dictgen.py
 
 
enginecallback_menu.h
enginecallback_menu.h
 
 
exports.txt
exports.txt
 
 
extdll_menu.h
extdll_menu.h
 
 
menufont.h
menufont.h
 
 
test_dictgen.py
test_dictgen.py
 
 
udll_int.cpp
udll_int.cpp
 
 
utflib.cpp
utflib.cpp
 
 
utflib.h
utflib.h
 
 
wscript
wscript
 
 

Repository files navigation

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.

About

Main menu UI toolkit for Xash3D FWGS engine

Topics

game-uixash3dxash3d-enginexash3d-fwgs

Resources

Readme
Activity
Custom properties

Stars

61 stars

Watchers

15 watching

Forks

92 forks
Report repository

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.