fortunevorti.blogg.se

Rage plugin hook 2245
Rage plugin hook 2245










Added support for accessing textures embedded in fragments (.Allows to override or create new text labels with custom strings.Includes various properties/methods related to localization.Fixed incorrect item colors in TabInteractiveListItem when an item is selected but its tab is not focused ( #127).Fixed timer bars overlapping the instructional buttons in b2372 ( #129).Fixed Localization.DoesTextExist/GetText not working correctly in b2372 ( #130).Can be used with Rage.Blip and Rage.BlipSprite:.Used to get token string needed to display the blip sprite inlined in formatted scaleform text.Added BlipExtensions.GetIconToken extension method ( #133):.Now the value must be -1 or in the range [0, MenuItems.Count), otherwise it throws ArgumentOutOfRangeException.

Rage plugin hook 2245 code#

BREAKING CHANGE: UIMenu.CurrentSelection no longer wraps around, so code like CurrentSelection++/ CurrentSelection- will not wrap around and select the first/last item when it reaches >= MenuItems.Count/ UIMenu.CurrentSelection = -1 indicates this state.When there is no selection, the navigation bar will not be drawn.

rage plugin hook 2245

  • Added support for 'no selection' state in UIMenu with items:.
  • If all items are skipped, UIMenu.CurrentSelection will be set to -1.
  • When a skipped item is selected, the selection will jump to the next non-skipped item.
  • Use UIMenuItem.Skipped = true to make the item skippable.
  • Added support for skippable UIMenuItems ( #85):.
  • Fixed Sprite.DrawTexture drawing at incorrect screen positions on multi-monitor setups.Īvailable on NuGet.
  • Support scrolling through multiple sub-items with acceleration from a single press.
  • Fixed bug that occurs when an interactive menu or mission select menu is focused in a submenu, and the user navigates away using LB/RB.
  • Dynamic scrolling when more items are available than fit on the screen.
  • Fixed texture rendering when using Rage.Graphics to render outside texture files (texture alignment was previously incorrect).
  • Updated examples to demonstrate these new capabilities.
  • rage plugin hook 2245

  • Refactored Draw() function to render correctly as a submenu item.
  • rage plugin hook 2245

    Added dynamic resizing of mission logo texture to support various aspect ratios.Added optional dynamic scaling of mission info area based on screen size and text length in item labels.Various pause menu enhancements ( #141, #144, thanks to Improvements to TabMissionSelectItem:.










    Rage plugin hook 2245