22,546 Commits over 1,614 Days - 0.58cph!
Delete me_shaderselect.cpp
aoproxies: fix crash when a non-anim sceneobject has bones and aoproxies, the game used to override sceneobjects to be anim so this code made assumptions
aoproxies: optimize loop over aoProxies by ref instead of copying
New Outfit! - Bomber Jacket
https://files.facepunch.com/daniel/1b0111b1/slack_sEoatXbAqn.png
LODs and skinning adjustments coming.
Fixed changing asset types breaking paths with spaces in Asset Browser
Added asset type locations to Everything in Hammer
https://files.facepunch.com/rubat/1b0111b1/4YRjDUkg2p.png
This only includes stuff that can be drag'n'dropped in Hammer
Fix soundscape drag'n'drop not applying offset from hit surface
Tie vr_foveated_rendering to autofidelity, optimize shaders a bit
Give Hammer asset browser object name and icon again
Fix crash when closing console and restoring default layout
Fix unable to close/open game view dock
Arrange View/ menu alphabetically
Fix gameframe fullscreen
Allow access to material attributes without asserting, if modes have loaded
Diagnostic fixes
Move Debug Overlay options
Asset party type selector
Move TagPicker to TagPicker files
Fix NRE when hotloading after closing hammer
TagEdit - updated asset browser & publisher
https://files.facepunch.com/garry/cfb1e92e-6654-43c7-95ec-b587a7fe34b4.png
Move Map/MaterialMenu files
Update AssertNotPreSpawn message
Fixed EntityComponent.Entity being null in OnDeactivate
Merge branch 'master' into custom-client-input
Asset Browser handle spaces better https://files.facepunch.com/garry/0c89437d-84c0-439e-85e5-6fb5e5232f8b.png
Fixed comboboxes in assets firing OnChanged event when first created
Also fixed not changing the combo box selected item firing OnChanged event
SoundEvent preview extra uses Audio.Play
Some documentation
UI2: Hook up "not-allowed" cursor type
Update citizen eyes materials
Fix assets not firing PostReload when updated from memory
New Outfit Piece! - Skater Helmet
https://files.facepunch.com/daniel/1b2911b1/sbox-dev_M98p5o19LV.png
WIP and in need of LODs that will be coming ASAP.
Add a palette to the color picker
Add ParticleSnapshot resource class
Bind UpdateParticleSnapshotFromVertices
Add Particles.SetSnapshot from resource
Allow procedural particle snapshot to be created from managed
Add ParticleSnapshot.Vertex
Update particle snapshot from vertices
Documentation
Include creation time in snapshot vertex
Show facets in asset browser
https://files.facepunch.com/garry/ad56d755-b646-4e12-a854-f43e1b1cad49.png
Fix ParticleSnapshotVertex_t being incorrect
Hammer API: Add event Selection.OnChanged which fires when your selection set changes
Fix crash with Hammer.MapAsset when there's no map asset
Hammer Asset Browser: Add @selected and @inmap tag filters
https://files.facepunch.com/matt/1b2911b1/sbox_zPl9iqmF1Z.png
@selected shows map mesh materials too
Add Hammer specific locations to asset browser for Selected, In Map, Prefabs
https://files.facepunch.com/matt/1b2911b1/sbox_CTSLP9Ccz5.png
Hammer: Make default Asset Browser the C# one, label legacy as legacy and tuck it away in View -> Toolbars
Don't cock up MainAssetBrowser with double spacing
Fix not being able to load maps by path, usually from launching map with Hammer or building cubemaps
Fix SceneSunLight using invalid native pointer
Don't obsolete Texture.CreateArray, 2d texture arrays and 3d textures aren't the same thing
Actually hook up a count for TextureArrayBuilder to work..
Updated to .NET 7.0 and C#11
Please update Visual Studio if you're experiencing issues with it. Read more about what's new here: https://devblogs.microsoft.com/dotnet/announcing-dotnet-7/
Skater Helmet Reskins
White Checker and Camo Skater Helmet skins
Sorting out the Sub categories of the tops and bottoms
Hammer: Update sound(scape) drop targets to use file paths
Also allows drag'n'dropping asset.party soundscapes.
Map compiler does not complain about invalid format of unset sounds
Fix handle leak in RenderTools.ResolveDepth/FrameBuffer causing huge vram leaks when using glow
Fix compiler refs to System.Security.Cryptography, in .NET 7 they've merged the 5 dlls into 1
Hammer: Selection API only supports object mode currently, fixes crashes using it when the active selection mode is non-object
Fix material editor not writing to image meta, fixes texture settings
Allow boneless hitboxes
Add a dict of native to manged materials so we can grab them from native
Merge branch 'master' into custom-client-input
Citizen/animgraph: increased long idle tag trigger time from 5 to 60 seconds
Merge branch 'master' of sbox
Fixed an issue with bind proxies change detection but passes tests now
Fixes cases when the value of a bind proxy target or source changes after assigned but before the hash was calculated., making the 2 sides desynced until the next value change.
Fixes sboxgame/issues/issues/2594
Compile addons in tools
GameData.LoadEntitiesFromPackage works with addons
Save / load map entities' addon packages to meta data
Download and use addons specified by the map at runtime for local maps
Entity tool can use packaged addons tagged map + entity
Make Window.StatusBar able to handle late initialization of statusBar() - fixes Hammer asset browser assets disappearing due to native ptr in StatusBar being null
Simplify mat_reloadshaders, just do a shader and used materials blocking reload
Fix assert on material layer destructor, static combo ref count should be fine to be zero here, we probably should reloaded shader
Update Facepunch.SymStore.exe
Switch back to using resource system to get shaders for material, remove vfx dictionary
Free shaders for static combos that have zero ref count
Destroy static combo shaders when deallocating shader resource
Create all modes for error material.. again
Switch to error resource if setting up static combos for mode fails
Switch to ResourceIsError for other places that need to check if a shader is error
Remove deallocate logs
Embed shader macros so we know what combos are set when viewing shader debug info
Fix crash caused by invalid vertex stages trying to be loaded on material compilation
Update Facepunch.SymStore.exe
Make damn sure all shaders are packed from vcs from master
Material doesn't grab shaders from resource system anymore until I figure out why it was fucking up
Remove DisplayInfo.For cache, it sucked hard under parallelization - after thinking about the best way to do it, it doesn't need to be done really.. Can use TypeLibrary.GetDescription<T>() instead where it's already cached
Fix Hammer Asset Browser not creating
Update Facepunch.SymStore to .NET 7
Stop watching System.Text.Json since we're clearing its cache now
Ignore LiteDB types during hotload
Make hotload tests more strict
Warn when encountering delegates that can't be upgraded
Even simpler way to clear System.Text.Json cache on hotload
Readonly field hotload test
Trace instance paths when doing hotload tests
Revert "Fixed an issue with bind proxies change detection"
This reverts commit 25876a3af2d31f764e5ccbcc3774b36b39b992e1.
Fixed an issue with bind proxies change detection
Fixes cases when the value of a bind proxy target or source changes after assigned but before the hash was calculated., making the 2 sides desynced until the next value change.
Fixes sboxgame/issues/issues/2594
Minor cleanups
Recompile base shaders
Update Graphics.Paint and PanelRenderer
Update shaders.def
Fixed ConditionalWeakTableUpgrader
Handles the case where oldInstance == newInstance, or if the collection gets modified while being processed
Simplify JsonSerializerOptionsUpgrader
Directly process JsonConverters inside existing JsonSerializerOptions, without creating a new instance. Handles case where we can't create a new instance, and the options aren't mutable. Also make sure we process static fields in System.Text.Json assembly. Possible fix for #640
Add some more easy hotload skips to save a few milliseconds
JsonSerializerOptionsUpgrader .NET 7 fixes
Log path to instance when a hotload error occurs
Some nicer paths for items in common collections
Replace TypeDescription / MemberDescription instances during swap
Tests for TypeDescription / MemberDescription replacing
Tweak autofidelity, remove autofidelity for multigpu, add autofidelity for mobile while at it, fix typo
Readd FSR for now, wouldn't be able to properly remove it until we have a good replacement, but don't bother with it if we're in VR
Remove unused convars
Added upgraded docking system
Add convars for vr_foveated_rendering
Get center lens position from HMD, pass foveation parameters to GPU
Cleanup and update shader files
Update high_quality_reflections shader
Recompile all core shader resources from master
Fix asset.party sound(scapes) not loading for local maps
unless they were opened in Hammer first
Fixed Game Launcher play button not working on game start when the selected item is the first one
More diagnostics for TestAccessControl and OnAddonsCompile with scopes of each stage
Impl GetErrorResource for shader type manager so we get an error shader when shader can't be found
Enable all modes for error shader
Add a dict of native to manged materials so we can grab them from native
Fix material editor not writing to image meta, fixes texture settings
Fix ParticleSnapshotVertex_t being incorrect
Hammer API: Add event Selection.OnChanged which fires when your selection set changes
Fix crash with Hammer.MapAsset when there's no map asset
Hammer Asset Browser: Add @selected and @inmap tag filters
https://files.facepunch.com/matt/1b2911b1/sbox_zPl9iqmF1Z.png
@selected shows map mesh materials too
Add Hammer specific locations to asset browser for Selected, In Map, Prefabs
https://files.facepunch.com/matt/1b2911b1/sbox_CTSLP9Ccz5.png
Hammer: Make default Asset Browser the C# one, label legacy as legacy and tuck it away in View -> Toolbars
Don't cock up MainAssetBrowser with double spacing
Fix not being able to load maps by path, usually from launching map with Hammer or building cubemaps
Fix SceneSunLight using invalid native pointer
Don't obsolete Texture.CreateArray, 2d texture arrays and 3d textures aren't the same thing
Actually hook up a count for TextureArrayBuilder to work..
Updated to .NET 7.0 and C#11
Please update Visual Studio if you're experiencing issues with it. Read more about what's new here: https://devblogs.microsoft.com/dotnet/announcing-dotnet-7/
Skater Helmet Reskins
White Checker and Camo Skater Helmet skins
Sorting out the Sub categories of the tops and bottoms
Hammer: Update sound(scape) drop targets to use file paths
Also allows drag'n'dropping asset.party soundscapes.
Map compiler does not complain about invalid format of unset sounds
Fix handle leak in RenderTools.ResolveDepth/FrameBuffer causing huge vram leaks when using glow
Fix compiler refs to System.Security.Cryptography, in .NET 7 they've merged the 5 dlls into 1
Merge branch 'master' into updock
Hammer: Selection API only supports object mode currently, fixes crashes using it when the active selection mode is non-object
Log path to instance when a hotload error occurs
Some nicer paths for items in common collections
Fix compiler refs to System.Security.Cryptography, in .NET 7 they've merged the 5 dlls into 1
Fix handle leak in RenderTools.ResolveDepth/FrameBuffer causing huge vram leaks when using glow
Rename to DockManager
Allow toggle docks on and off
Baseline fixed source
Remove DockWidget, replace with new DockManager
Fix logs not saving in log folder
Dock state save/restore