1,023 Commits over 1,127 Days - 0.04cph!
Fix editors (hammer, modeldoc, etc.) autosaves for files outside of the game directory
Fix GameData accepting inherited [HammerEntity] as a map class, it's explicit on every entity
Tools compile newly enabled games on localaddons.changed - tools need games compiled for GameData and GameResource assets
Rework how Tools.GameData handles new assemblies, only reloading entities from them and batch them to refresh, go from consuming 140ms -> 8ms on hotloads. Fix local packages and make older asset.party assemblies work.
DisplayInfo cache
Optimize Prediction.WasPredicted, iterate RpcHistory backwards to delete previous ticks
Don't Prediction.Watch when prediction isn't enabled, won't needlessly fill up RpcHistory when using the Sound system clientside only or any other ClientRpc systems
PackageSelector specify a query e.g type:game instead of Package.Type.Gamemode, fix Hammer Add Game showing all non-game packages too
Fix addons targeting local projects erroring - don't use #local in addon compiler references, there's code further down that will favour local package
If an addon doesn't target a specific game add a reference to base - Sandbox.Internal.AssemblyModifier seems to take care of all the references
Remove Compiler.ReportCompileDiagnostics - this was only used in non-tools mode and was double printing something already handled in CompileGroup
Merge codegen diagnostics into Compiler.Diagnostics so errors/warnings show in editor error list or console in non-tools
If codegen reports any diagnostics of error severity, fail the build ( warnings won't fail the build )
Clean up some generator diagnostic descriptors, make them more clear, set severity to warning on warnings.. Non-static ConCmd.Client errors
Menu is allowed to access engine convars - unfucks all the settings menus
Don't render game ui in VR, it showing was a regression from render hooks. We can revisit this if we end up doing a separate desktop view for VR games
RenderHook works in VR as you'd expect without needing to do anything, passing the multiview instancing combo as expected ( doesn't fuck up through monitors either too )
Viewmodels can multiview instance, not really useful but less annoying in debug
vr: controllers linear velocity affected by VR.Scale too
Fix tags not going to the datatable on client only entities, stopping collisions and traces working properly
vr: controller poses scale properly with VR.Scale now, so your hands are where you expect them
more crash fix for when m_pInterpolatedBoneTransformWeights is nullptr, missed checking the src
vr: don't transform hand's angular velocity to anchored pose, it's not something you want or expect to be affected by it
Unfuck VR culling frustum which was causing scene objects to get rejected thinking they were only visible on 0.1% of the screen
vr: particle renderer don't initialize 4x vbos for instancing, only need 2x
vr: fix cables renderer adjusting the transform id the wrong way, cables will render in right eye again
Update sentry-native 0.5.2, add Crashpad WER handler which bypasses SEH to handle __fastfail and stack buffer overrun crashes
release shaders for projected decals - should fully behave in VR now
projected decals: small compile fix for shader
Fix r_stereo_multiview_instancing affecting non stereo rendering
Get rid of anaglyph and parallel stereo rendering modes
r_stereo_multiview_instancing: default 1, same as VR
Add Debug menu options for stereo rendering to the editor ( easy way to see if your game renders properly in VR )
Release shader for projected decals
projected decal shader: adjust the instance id under multiview instancing so it actually appears in the right eye - decal space position still seems off though
vr: make debugoverlay work on right-eye again, don't constantly change render target to swapchain
vr: debugoverlay behaves properly for multiview instancing now too
System.Net.WebSockets for tool addons
Load System.Security.Cryptography.Algorithms.dll, System.Security.Cryptography.Primitives.dll - and whitelist System.Security.Cryptography
hammer: fix entities not loading from remote packages, this was accidentally reliant on tools.refresh event & now it makes more sense
Assert when a nullptr is passed to CCompositeParentSpaceState::CopyBoneTransformWeights - we need to figure out why it's happening, and if it is valid then we need a dozen nullptr checks on m_pInterpolatedBoneTransformWeights
Crash fix / assert in CCompositeParentSpaceState::operator== where m_pInterpolatedBoneTransformWeights could be nullptr
hammer: fix crash when undoing changes to path nodes
Send fonts over network for local games
Hammer API: Add Selection.PivotPosition
Add GameSetting.Step for Float types
Game Settings: Fix float value sliders being integer only
GameSettings: Fix string type settings not displaying
Un-whitelist Task.WhenAll/Task.WhenAny, implement them on GameTask and TaskSource instead
Whitelist more of System.Threading.Tasks.Task: Task.FromCanceled, Task.FromException, Task.FromResult, Task.WhenAll, Task.WhenAny, Task.CompletedTask
Games targeting <empty> map don't show map selection
Implement "This List Only" map selection
Add a cookie on project list's show disabled option
Fix Apply Changes not working on Settings menu where it was using old onclick syntax
Fix Input.Pressed not working outside of Simulate when FPS was lower than tick rate
Only call tools.refresh when we have new tool assemblies and not game assemblies
Support all the different orders CSS border property can be in, add unit tests too - resolves Facepunch/sbox-issues#89
Party deck: fix avatar sizing, give margin between add button and party friends - Fixes Facepunch/sbox-issues#2453
Whitelist System.Private.CoreLib/System.Diagnostics.ConditionalAttribute
Whitelist System.Private.CoreLib/System.Text.*
Whitelist System.ObjectModel/System.Collections.Specialized.*
Whitelist System.Private.CoreLib/System.IO.StreamReader.get_* and Close()
Project creator folder selector works first time when path already exists - Fixes Facepunch/sbox-issues#2454
Server list spelling
Clip project path text so it doesn't overlap the settings icon
Saftey checks around memcpy in CCompositeParentSpaceState::CopyBoneTransformWeights to prevent crash, additional asserts to catch when this stuff is bad
CQAttributeEditor_SoundPicker: use path instead of name for sound events
Create a resource reference on sounds in maps so custom sounds will get properly uploaded and loaded with the map
This will require you to reselect sounds in your maps to update to their full paths, asset name only is obsolete
Load entity GameData after ToolsDll.OnAddonsCompiled instead of tools.refresh - I think this was accidentally still working somehow, but now it'll hotload and all that shit again
Fix errors in local projects preventing base loading for tools ( Hammer entities, ModelDoc data, base resources ), remove hack from Sandbox.Engine and make Sandbox.Tools responsible for compiling base before local projects are added to the compile group
Add MapNode.Parent property
Fallback to default code editor if selected code editor is no longer installed
Add IEnumerable<MapNode> MapNode.Children
Add MapPath and MapPathNode to C# API
MapGroup and MapInstance init their handles correctly
Hammer: Fix entities from newly uploaded asset.party games not working
CQBuildMapDialog::GetMapLaunchCommand wraps map name in quotes
Make sure Global.Server gets set OnServerInfo so Global.GameTitle and shit is avaliable, fixes rich presence not working too
Hammer: Fix base entities appearing as if they only belonged to certain local games
Only create this package.base Compiler in tools mode once again (for Hammer / GameData), since local compilations are now consolidated with base code