Skip to content

Releases: SamsDRGMods/DRGLib

4.8.1

07 Apr 23:20
76f17bc
Compare
Choose a tag to compare

Finally fixed the crash when remapping keys

  • [N] LIB_WT_InputKeySelector
    • Fixed bug where IKS would crash game when attempting to remap
  • [N] LIB_WT_ExpandableArea
    • [+] Added event dispatcher "OnExpansionChanged"
    • [N] The arrow of the box now expands with font size
  • [I] Updated to newer headers

4.8.0

21 Jan 22:07
2eff38e
Compare
Choose a tag to compare
  • Added collision layers for custom inputs

    • This allows for having inputs only overlap when relevant, e.g. if you have an editor it doesn't matter if it colides with most inputs
  • Added new watch "ManagedInputDetailedInfo"

  • Added new features to draggable windows

    • Minimize
    • Drag (partially) off screen
    • Disabling scrollbar
    • Automatically scale to the desired size of the content
  • Added new widget "LIB_WT_FilterableTreeView" which allows for the end user to search contained objects

  • [N] LIB_S_CustomInputStruct

    • [+] Added property "CollisionLayer"
  • [N] LIB_W_DraggableWindow

    • [+][I] Added variable "IsScrollable", which decides whether to place content in a scrollbox or not
    • [N] When specifying a size for a window, a value of 0 will cause the window to automatically scale to the desired size of the content. As always, this is per-axis
  • [N] LIB_F_DraggableWindow

    • [+] Added function "AddDraggableWindowV2", which adds support for the scrollbox property
      • Unfortunately I couldn't find a way to pass that information without a new function, but sometimes that's just how it is, eh?
  • [+] LIB_WT_FilterableTreeView

  • [N] LIB_WT_TreeView

    • [+] Added function "FilterObjects" which hides all objects not containing a given string in their name
  • [N] LIB_F_Input

    • [N] FindConflictingInputs
      • [+] Added input "CollisionLayer", to specify a layer to find collisions on
    • [N] AddCustomActionMapping
      • [+] Added input "CollisionLayer", to specify the layer this action is a member of

4.6.0

21 Oct 16:43
Compare
Choose a tag to compare

Added a new widget template, allowing for complex editing of a HUD widget's position/anchor data

  • [N] Removed ModHub interface files from pak
    • I really should have done this ages ago; should resolve some reported crashing issues
  • [+] Added LIB_WT_HUDPositionSelector
    • This widget supports editing anchor data, intended to be a widget for moving custom HUD elements around
  • [+] Added LIB_SAV_O_AnchorDataProperty
  • [+] Added LIB_DSP_W_AnchorDataWidget
  • [+] Added new keys to SpecialSettingsData
  • [N] Updated DRGLib save schema

4.5.2

21 Sep 01:42
3a0c7a4
Compare
Choose a tag to compare

Fixed bug where closing the escape menu could cause mouse cursor to stay visible

  • LIB_JSON_O_Value
    • [N] Fixed bug where cloning nested objects/arrays wouldn't preserve outer object hierarchy properly
  • LIB_A_Main
    • [N] Fixed bug where "UpdateInformedActors" could technically run and tell mods DRGLib is ready too early
  • LIB_SAV_O_FloatProperty
    • [N] "SetValue" now clamps properly
  • LIB_WT_WarningPopup
    • [N] Popup will now disappear when clicking on it
  • LIB_WT_InputKeySelector
    • [N] Adjusted behavior to not warn of overlaps when unbinding a key

4.5.1

19 Aug 16:57
Compare
Choose a tag to compare
Added support for gamepad keys for LIB_WT_InputKeySelector

This currently does not support "Gamepad face button bottom", but most other gamepad keys work

- [N]LIB_WT_InputKeySelector
  -[N] Added gamepad key support