1.27.17 for Maniaplanet 4

beta 6 months ago

  • Added UI::LoadSystemFont to load fonts installed in Windows (from C:\Windows\Fonts)
  • Added UI::PushFont() with size parameter
  • Added UI::PushFontSize()
  • Added UI::TextAligned()
  • Added option for FPS counter to Finetuner
  • Added new fonts that can be used by plugins: Montserrat.ttf, Montserrat-Bold.ttf, Oswald.ttf, Oswalf-Bold.ttf
  • Added the ability to set an empty icon for SettingsTab using icon=""
  • Added parameter documentation for UI::ShowNotification
  • Added plugin build duration to verbose build log
  • Added fallback to local appdata directory if needed (instead of C:\Users\Username\Openplanet\)
  • Added documentation for global and type properties
  • Added option to show plugin setting variable names
  • Added new About dialog
  • Deprecated UI::LoadFont with ranges and fallback parameters (use the simpler overload instead)
  • Improve table readability on Plugins tab in Settings window
  • Removed UI scale step restriction
  • Updated dear imgui with massive font handling improvements:
    • Overlay scaling setting can now be changed at runtime without requiring a game restart
    • Overlay scaling is now completely stable no matter how large you make it
    • Fonts are now dynamically resized and rasterized as needed
    • Fonts are no longer limited to a single size, they can be changed at runtime
    • Font loading is now a very fast operation instead of freezing up the game
    • Font ranges are no longer necessary: all characters are loaded
    • Font fallbacks are no longer configurable, as they allow virtually every important Unicode character without limitation
    • Font fallbacks are now automatically loaded from system fonts: Arial, Meiryo UI for Japanese characters (may not exist on Wine), YaHei UI for Chinese characters (and Japanese characters on Wine)
  • Updated Angelscript, which fixes an issue with shared namespaced classes across different plugin modules
  • Fixed crash due to exception when trying to create user directory but there is no permissions (OneDrive issue)
  • Fixed Draw::MeasureString not using current UI font as default font
  • Fixed missing types in UI::GetStyleVarX
  • Fixed update branch setting on Maniaplanet and Turbo not having any effect on startup
  • Fixed assertion when passing empty strings to UI::InputText
  • Fixed missing documentation for UI::SeparatorFlags
  • Fixed some issues reported in Finetuner
  • Fixed crash when solo reloading or unloading a plugin from menu
  • Fixed crash when unhooking inside of a hook by throwing an exception instead