13,872 Commits over 1,552 Days - 0.37cph!
Apply primitive render attributes in animatables too
ButtonAttribute pulls method name as the title if not specified. ButtonAttribute no longer includes Label, and takes up the full width. Resolves Facepunch/sbox-issues#6214
https://files.facepunch.com/CarsonKompon/2024/September/06_19-28-MurkyGopher.png
Oops bring back wrapping on normal labels
Added scroll support to single-line TextEntry, will now scroll to caret/selection when confined by layout, Facepunch/sbox-issues#6274
https://files.facepunch.com/solw/2024/September/06_19-10-DeterminedFlycatcher.mp4
Fix unreachable code warning
Delta Snapshot Slots (#1660)
Hotload tests: log timings in descending duration
Hotload test benchmarking (1D/3D) (struct/interface) arrays
Hotload: Speed up struct array copying, support Rank > 1 arrays
Make sure #version gets passed properly in Package.FetchAsync
Fix Package.FetchAsync not finding packages with slash or other formatting
Update pull.yml
Release fix
Handle login exceptions more gracefully
Fix events spam
Include commit message and sha with release
Can select Skin in Avatar Menu again. Resolves Facepunch/sbox-issues#6310
Creating a Prefab Variable will default to the name of the variable you're linking. Resolves Facepunch/sbox-issues#6364
Fix perfomance validation warning on depth_only shader, it never produces output from PS, any operations from ps for translucents are clip or discard, D_WRITE_DEPTH_MASKS is never used
Strip D_WRITE_DEPTH_MASKS from the rest
De/serialize missing mixer settings, disable spatialization on Music/UI mixers by default again, Facepunch/sbox-issues#6092
Fix benchmarks not recording properly
Package Fetch api is more forgiving (just returns null on 404)
Benchmark diagnostics
Fix shadows not showing up on non-scenecamera views like Hammer
Services api (#1658)
Nothing should visibly change for end users
Don't run physics in editor
Get rid of this optional render attributes, add it when it's needed
Allow for multi-bounce reflections on EnvmapProbe
Make sure all cubemaps are up to date when loading/unloading mapinstances, cubemaps placed on scene weren't getting updated
GPU Shadow Culling light list is stored on camera where it should belong rather than on lightbinner, a lightbinner can be shared across multiple views causing issues, this also guarantees proper lifetime of list since lightbinner pool is only flushed on shutdown
https://files.facepunch.com/sam/1b0411b1/sbox-dev_Esvot2kDTb.mp4
DrawSceneObject can take attributes, by default these will come from Graphics.Attributes so Graphics.SetupLighting will now work with scene object render
Shadergraph: Add multiple outputs for float2, float3, float4 on Combine node
Shadergraph: Add distance node
Hide these properties on unary nodes
Shadergraph: Fix node menu not getting all nodes from plug drag, all nodes are relevant in shadergraph, at least for now
Shadergraph: Properties window uses the modern control sheet
Comment node uses text area for description
Move fixed update to shared tick so it can execute in editor, the docs say it should
Shadergraph: Add world tangent node, U and V tangent outputs
Fix ModelRenderer material override not applying all their material flags, SetMaterialOverrideForMeshInstances is more reliable for material overrides. Hide material groups when using material override, they're not compatible
Fix wonky drag snap when using mesh tools in a 2d view, Facepunch/sbox-issues#6108
Make missing .svg message a bit more user friendly
Catch SvgPanel NRE, Facepunch/sbox-issues#6360
Tweak positioning of ColorPicker popup
Replace ColorSampler with rewritten c# version, refresh eye dropper UI
https://files.facepunch.com/solw/2024/September/04_11-55-DisgustingTaruca.png
Fix Play Button on Game Modal not working as intended for Quick Play games
Fix terrain paint compute shader num threads, double the size of the brush so it matches the preview
Balance weights on imported splatmap, bias against alpha
Merge scene render attributes to NativeRenderingWidget camera, fixes terrain global attributes not being applied to editor camera
Fix annoying NRE in CameraComponentTool
Added `filter: greyscale()` to CSS styles (previously only had `backdrop-filter: greyscale()`)
Optimize TextureBuilder creations with no initial data
* Use vkCmdClearColorImage instead of allocating a big empty buffer in
managed
* Texture.CreateInternal also passes a nullptr if the span is empty, so we
don't do additional unnecessary setdata
It's weird all of this stuff has an API of Span<T> & int length, but hard
to fix without API breaking changes
DrawIndirectArguments should be LayoutKind.Sequential
Mainmenu improvements (#1655)
* Add GameModal that pops up when you click a Game instead of instantly launching it (Currently Empty)
* Moved Vote Up, Vote Down, and Favourite buttons into PackageRatingButtons so it can be re-used
* Finished initial version of Game Modal with options to launch into a game and see all active lobbies.
* Remove scrolling on Game Modal, replace Lobby List with a button that opens the Lobby List modal layered above.
* Close Game Modal when entering Lobby from Lobby List Modal
* Give Lobby List Modal and other missed Modals the primary background
* Fix time offset strings displaying incorrectly
* Active Lobby buttons now open the Game Modal instead of loading you directly into the lobby
* Remove Global Stats from Game Modal. Unnecessary information
* Fix Maps menu opening the Walker Game Modal instead of launching directly into the map
* Org Page is now replaced with an Org Modal that can be opened at any time.
* Moved SettingsPage into a Settings Modal that pops up over everything
* Added Settings Modal to the Pause Menu
* Fix Package Modal not toggling when pressing F1
* Pad the bottom of GameGroups
* Show Player Icons on Active Lobby Cards (shows lobby hosts)
* Game Tiles are now all the same size instead of being randomly sized
* Give Game List Columns a max-width
* Lobby Heads on LobbyCards no longer block mouse inputs and are a bit larger.
* Clicking the name of a game opens the Game Modal instead of the Generic Package Modal
* GameTiles are now treated as one big button, clicking anywhere will open Game Modal.
* Removed box around header on Game and Org Modals
* Options on Game Modal are now "Create Game" and "Join Game" if multiplayer, with the Lobby List being moved elsewhere. Join Game is disabled if there are no active lobbies
* Added `flex-shrink: 0` to entries of the ServerListModal
* Added icons to Game Modal info, removed information that wasn't important and overall cleaned up readability. Also added Total Players and Playtime
* MenuOverlay now uses Screen.DesktopScale (with 1080p minimum)
* Added missing ToolTips to GameTile
* Fixed outstanding issues where a page wouldnt load until you moved your mouse over it.
* Adjusted font size on Game Modal
* Enable Looping on Main Menu music and Loading music
* Game Tile and Lobby Cards play sounds on click instead of `:active`, prevents clicking sound playing while dragging
* Fixed LoadingOverlay not including Subtitle in BuildHash
* Remove warning from LobbyCard since it doesn't need the async stuff anymore
* Remove unused variables from Game and Org Modals
* Remove refreshing variable from GameModal
* Fix Home Page Categories. Uses ListResult instead of hardcoded categories from initial concept
* LobbyCard UsersNow displays the total number of users across all lobbies instead of the number of lobbies
* Fix max-width on HomePage columns
* Add NRE check for when Package.Screenshots is null
* Don't request partial package for GameModal
* Added a way to select previous Jams on the Game Jam Page. Currently hardcoded with gamejam1 and gamejam2.
* GameTiles all now enforce the same aspect-ratio (16:9)
* Fix GameModal not loading its contents instantly.
* Added Tooltips to LobbyCards
* Fix Lists in 4:3 Screen Ratios
* Settings Button no longer brings you back to the Home Page
* Fix padding on PageHeader
* Revert GameModal back to string ident and use Package.TryGetCached instead.
* Order ServerListModal by Player Count
* Fixed HeaderTab styling on Settings Modal
* Fixed lobby heads being off by 1 pixel
* Make all elements on the Social Bar match instead of looking completely different
* Update the Map Select Modal to match where it doesn't already
* PackageSelectionModal also follows same styles.
* Add proper Volume Slider to VideoControls
* Change default starting volume for VideoControls
* Play button is greyed out and says VR Only if the game is only compatible with VR and the user is not currently loaded in VR.
* Unify multiplayer check in Game Modal and MenuHelpers
* Fix package reference in GameModal
* Show package using cached version
* Add Application.IsVr
* Add Sessions to PackageUsage
* Add TimeSpan.Humanize
* Add MenuUtility.CloseAllModals
* Break game modal up to managable components
https://files.facepunch.com/garry/3419ba7b-7e50-4b5c-a727-3e315fb4dffe.png
* Fix broken style
* Lobby list cleanup, list view aspect
* Fix ToolTips in GameModal
* Engagement tooltips display on entire entry not just icon.
* Games with LaunchMode "QuickPlay" will only display the one play button (since both would do the exact same thing)
* Fixed Videos now having their icon styling on GameModal Media
* Fix clicking on GameTiles still opening the Org Modal when on `/games` page
* Add `GameModal.HasFullPackage`. Show skeletons until full package is loaded.
* Broke GameModal down into a BasePackageModal that GameModal inherits. Added MapModal which inherits the same thing.
* Fix Base PackageFilters not preserving tags
* MapModal ActionBar has option to select game before launching map. Add Map Modal everywhere necessary.
* MapModal ActionBar queries lobbies properly, getting lobbies across all games
* Unify Game Close functions. Fixes Review Modal not appearing and mouse status not resetting all of the time
* Lets order everything by upvotes by default, for now
* Fix some GameTiles being massive when at the end of the list
* Make the "no screenshots" view a bit nicer
---------
Co-authored-by: Carson Kompon <carsokompo@gmail.com>
Fix divs not updating when text content is cleared, Facepunch/sbox-issues#6192
ActionGraph: support reroute comments
https://files.facepunch.com/ziks/2024-09-02/sbox-dev_7qxUe4dDpf.png
TypeControlWidget: fix generic constraints referencing other parameters
Add conversion node
Fixes Facepunch/sbox-issues#6342
https://files.facepunch.com/ziks/2024-09-02/sbox-dev_TFJ3uDBLEo.png
NodeUI width tweak
Default icons for System.String, Component types
Standalone wizard has its own log, shows progress bar
https://files.facepunch.com/alexguthrie/1b0211b1/sbox-dev_ox4GI7O0Iv.png
Clean up standalone wizard
Don't create downloads folder in standalone
Disable error reporter / sentry for standalone
Fixed LoadingOverlay not including Subtitle in BuildHash
Graph editors: align everything to grid
https://files.facepunch.com/ziks/2024-09-02/sbox-dev_dBWkMgscnh.png
Scene.GetAllComponents() is pure