6,277 Commits over 790 Days - 0.33cph!
merge from new_console-ui
Error assert and exceptions can share the same bucket, they have the same color etc
Fixed colored background on console entries not working for asserts and exceptions but for real this time
Removed global.error, we now have debug.testerror
Fixed colored background on console entries not working for asserts and exceptions
merge from new_console-ui
Changed the strange 'Manifest Assets Loaded' log breaking TMP
User submitted commands are green + some other stuff I didnt save
Pressing tab auto accept the first auto completion entry
User submitted commands can't share the same bucket as regular logs (they have different colors)
Console auto complete buttons:
- Description has its own color
- Tweaked the command name and input bar colors
- Removed the space in between realm and command name
- Auto complete entries are as wide as the input bar
- Rows are a tad smaller, it can fit 6 now
Console entries are colored via the text instead of rich text
Add an '>" to user submitted commands
Default log color is brighter
User submitted commands color matches the input field text color
Error logs have a coloured background
Console auto complete is now anchored to the input field, fixes issues when changing game view size
console.clear and console.copy work with the new console
Console buckets are copyable in the same way as data rows, stripped the old copy button logic
Console localization bits, fixed slight scrollbar layout issues
Made system info row copyable as well
Made all data row clickable, copies the content to the clipboard
Admin UI localization pass + some minor layout fixes
Fixed UGC filtering panel not closing when pressing escape, blocking the callback
Show player health as int in the admin tab
Added something for when you dont have any loadouts or copy paste files
merge from new_console-ui
Fixed quick join text flex settings
Auto init the server tab for admins so you can't see the placeholder data
merge from new_console-ui
Changed item and vehicle list flex virtual scroll mode
Fixed some loc stuff
Fixed some misconfigured flex texts affected by the optims earlier, one in the featured store and one in the server browser entry prefab
merge from steaminventory_optims
Added a mode for FlexVirtualScroll to hide its elements instead of disabling the gameobject
Use that for the steam inventory scroll
HttpImage: Don't bother creating sprites if we can just use textures directly
Back SteamPlatform.ItemDefinitions with a dictionnary so getting a steam item def doens't take 2 working days (we have 6000 items)
merge from new_console-ui
merge from new_console-ui/optims
Changed the steam inventory item button texts to use the fast path
Fixed cart button text settings
Added a fast path for RustFlexText MeasureHorizontal for when the text width doesnt matter and wont impact the parent size, to avoid calling the slow TMP GetPreferredValues
Scrolling in the item tab:
MeasureCrossAxis 0.84ms 21.5KB to 0.25ms 0KB
Embedded com.whinarn.unitymeshsimplifier so we don't need git installed on all machines
Some optims to FlexElement LayoutMainAxis (scrolling a virtual scroll view is quite slow)
- Get rid of the SizingChildren.Exists in LayoutMainAxis and keep track of the remaining elements manually, saves some time
- Put Grow and Shrink in the childParams struct
- Cache the children count
~0.65ms -> ~0.50ms per frame when scrolling the items tab
merge from autoconnect_menu_fix
Moved t+autobench switch after OnMenuLoaded as well
Shotgun traps and flame turrets are destroyed on boat death
merge from new_console-ui
Better background blur shader, only used by the F1 menu for now
Added back error overlay toggle in the tools tab, it flips the convar
Fixed NRE when clicking on vehicle buttons in the main menu