Skip to content

URAKOLOUY5/source-sdk-2013-rmlui

Repository files navigation

rmlonsourcesdk

RmlUI Integration for Source SDK 2013

mockup-gmod

Mockup Garry's Mod menu featuring linear-gradient, position: absolute, display: flex

Note: For implementation find #ifdef RMLUI in code,client_rmlui_base.vpc file and src/game/client/rmlui folder

Rendering features:

Feature Description Required by properties
Basic rendering Rendering box geometry, images, text, and basic decorators. Always required
Clip Masks Proper clipping of transformed elements and elements with rounded borders. transform{:.prop} and perspective{:.prop}, border-radius{:.prop} combined with overflow: none{:.value}
Transforms Apply arbitrary matrix transformations to rotate, scale, skew, or translate elements. transform{:.prop} and perspective{:.prop}
Layers Rendering to layers, and compositing, so that render effects can be applied in isolation. filter{:.prop}, backdrop-filter{:.prop}, mask-image{:.prop}, box-shadow{:.prop}
Render Targets Allow a layer to be stored as a texture for later rendering. box-shadow{:.prop}
Mask Images Allow a layer to be stored and later used as a mask. mask-image{:.prop}
Filters Applying filters during compositing. filter{:.prop}, backdrop-filter{:.prop}, box-shadow{:.prop} with blur applied
Shaders Rendering geometry with special shaders. The following decorator{:.prop} types: shader{:.value}, linear-gradient{:.value}, radial-gradient{:.value}, conic-gradient{:.value}, in addition to their repeating-{:.value} variants.

System features:

Feature Description
Localization Expose localization from engine
FileSystem Expose filesystem from engine (MOD search path)
Logging Expose console logging (and system messages WIN32 ONLY)
Cursors Allow using cursor property in CSS
Clipboard Expose clipboard functionality
Lua Add lua plugin integration
SVG Add svg plugin integration
Png Add libpng/other integration
Jpeg Add libjpeg/other integration
video_services Add webm/bink/other integration

How to compile

  1. Clone or download repository as archive
  2. [Visual Studio 2022 required] Run createallprojects
  3. Open created .sln file
  4. Compile solution in Debug/Release configuration
  5. Run mod using executable mod_hl2mp_win64.exe in game folder (Source SDK 2013 Multiplayer is required)
  6. Use

Current issues

Check Issues tab for more info!

Credits

Check thirdpartylegalnotices.txt for licenses.

Contributors

About

Source SDK 2013 integration with RmlUi

Resources

License

Contributing

Stars

Watchers

Forks

Contributors