Space Engineers

Space Engineers

Rich HUD Master
正在显示第 41 - 50 项,共 72 项条目
< 1 ... 3  4  5  6  7  8 >
更新于:2021 年 2 月 27 日 下午 9:10

Version 1.0.2.1: Hotfix

HudMain Clipboard now returns empty RichText instances instead of null values.

更新于:2021 年 1 月 28 日 下午 5:16

Version 1.0.2.0: Tab Stops, Statistics, Text Management and Bug Fixes

Additions:
• Added support for tab stops to the text renderer.
• Added stats page to debug utils; enabled/disabled with the "/rhd toggledebug" chat command.
• Added support for extended client registration message to improve extensibility and facilitate access to the client's exception handler. Backward compatible.
• Added ObjectPool documentation and added support for resetting/returning collections to minimize profiler overhead.
• Added support for RichText Clearing/Trimming and added a method for appending StringBuilders to improve reusability.
• Added more overloaded methods for adding StringBuilders/Strings/Chars to RichText and TextBuilders.

Fixes:
• Exceptions thrown in methods registered to client bind press events are now caught by the client instead of master.
• Client PixelToWorld transform and cursor now updating at the correct time. Any UI elements parented to Root that didn't
update their own transform would appear to lag behind the camera.
• Fixed a few instances where API accessors were creating unnecessary copies of RichText objects.
• Fixed bug in TextBuilder that would cause SetFormatting() format comparison to always return false and force a glyph data to be regenerated.
• FIxed bug in NodeUtils that could cause HudCollection to over-allocate when adding fast unregistered UI elements.
• Fixed bug in NodeUtils that would cause it to throw an exception when trying to remove an empty collection.
• Fixed bug in NodeUtils that caused unregister range to always mark elements as fast unregistered.
• Fixed a number of API accessors that were inappropriately casting RichText data as IList instead of List, forcing a copy to be made.

Other Changes:
• TextBuilder will now attempt to reuse the last RichText object used to set text when retrieving its contents.
• Replaced Utils.Stopwatch with System.Debugging.Stopwatch. I don't know when this was whitelisted, but I'm really happy that it was.
• RichText will now compare the formatting of the last appended string to the current string to see if it can reuse the previous StringBuilder.
• HudMain clipboard now returns/creates copies instead of the original, mutable instance.
• ObjectPool now backed by List instead of ConcurrentBag.
• Renamed IBind and IChatCommand events to match the convention used by other events.
• Removed RichString class.

更新于:2021 年 1 月 20 日 上午 3:36

Version 1.0.1.0: Demo Page, HudCollection Fixes and Library Defaults

Additions:
• Added Demo terminal page to allow users to test library UI elements and HUD spaces. Enabled/disabled with the "/rhd toggledebug" command.
• Added CamSpaceNode to facilitate easier creation of draw matrices based on the camera's world matrix.

Fixes:
• Fixed bug that prevented terminal pages from being disabled
• Fixed bug that caused the cursor to remain disabled if the terminal were opened via the Text HUD API
• Changed RebindPage padding to match the other terminal pages
• Fixed ListBox SetSelectionAt() index bouding bug.
• Fixed bugs in HudCollection Add/Insert/Remove methods that could cause members to be added or removed more than once.
• Renamed mouse and text input events. I somehow got the naming conventions for events and event handlers reversed, but only some of the time.

Other Changes:
• Refactored HudCollection Add/Remove methods to use new NodeUtils for bulk registration/unregistration of members. This should make collection modifications significantly more efficient.
• HudSpaceNode made into an abstract class and renamed to HudSpaceNodeBase. Replaced by CustomSpaceNode.
• All library elements have proper default states now. The more generic elements won't look pretty, but they're recognizable.

更新于:2021 年 1 月 17 日 下午 7:09

Version 1.0.0.0

World draw support and framework overhaul. See the patch notes on GitHub for details.[github.com]

更新于:2020 年 7 月 5 日 上午 1:29

Version 0.9.9

• Added new billboard wrapper in UI.Rendering, BlockBoard, for rendering rectangular prisms in world space
• Added alternate drawing methods to QuadBoard and MatBoard to facilitate drawing in world space
• QuadBoard.AddBillboard no longer requires a point and a normal. Apparently, MyTransparentGeometry.AddTriangleBillboard() doesn't actually use those values.

更新于:2020 年 6 月 11 日 下午 3:08

Version 0.9.8

HudMain.Clipboard no longer returns null when no value is set

更新于:2020 年 6 月 8 日 下午 7:35

Version 0.9.7

• Incremented API version, older clients not supported
• HUD Element input now uses rendering layers
• Simplified HudMain accessors and exposed PixelToWorld matrix to client

更新于:2020 年 6 月 8 日 下午 3:21

Version 0.9.6

• Cursor position calculation now correctly compensates for differences between desktop and in-game resolution.
• Minor improvement to billboard rendering performance.

更新于:2020 年 6 月 8 日 下午 3:16

更新于:2020 年 5 月 2 日 上午 6:50

Version 0.9.5

• Trailing line breaks no longer contribute to total text height
• Fixed CJK character alignment in default (Space Engineers) font
• ScrollBox<T> scrollbar now accurately reflects the visible range
• ScrollBox<T> visible range no longer includes spacing for the last element
• Fixed null ref exceptions in BindGroup.TryLoadBindData() and RichText.Add(string)
• Removed chat messages from BindGroup
• Forced keybind change to F1. Apparently, some keys don't play nice with localization settings, and as it turns out ~ was a pretty bad choice.