22,814 Commits over 1,642 Days - 0.58cph!
Remove ToolsVis Mode (#1763)
* Remove ToolsVis from RenderingPipeline, remove ToolsVis combo, make it toggle through the integer only
* Remove ToolsVis() MODES from all shaders 🙏🏻
* Remove ToolsWireframe and ToolsVis from shadergraph template
* Legacy ToolsVis isn't even supported, any legacy variable refs to it can go
* Compiled shaders with branched ToolsVis
Remove ToolsVis from RenderingPipeline, remove ToolsVis combo, make it toggle through the integer only
Remove ToolsVis() MODES from all shaders 🙏🏻
Remove ToolsWireframe and ToolsVis from shadergraph template
Legacy ToolsVis isn't even supported, any legacy variable refs to it can go
Compiled shaders with branched ToolsVis
Change PlayerController [HelpUrl] to the sbox.game URL
Replace animation [Header]s with [Group]s in PlayerController for consistency with the other tabs
Get more information from ControlSheetRow ToolTips, showing the C# Type and C# Property Name.
https://files.facepunch.com/CarsonKompon/2025/January/09_09-14-LateHorseshoecrab.mp4
Added ControlSheet.IncludePropertyNames, defaults to false. Only show C# Property Names in GameObject, Component, and GameResource inspectors.
Colour code the type names in Property Tooltips, also ensure property names don't show for Variable Prefabs..
Compiled shaders with branched ToolsVis
User perms config
Allow Json comments
Add default users.json file and change structure of config
Don't ignore game/config/users.json because we want to keep the default with comments
Return true in Connection.HasPermission if the connection is the host. We'll check user permissions from the config file for connections to a dedicated server.
Remove some test logs and make HasPermission available
Hide/Unhide works on Hammer GameObjects
Resolves Facepunch/sbox-issues#7200
Delete all this dota grass code
Remove some test logs and make HasPermission available
Update Facepunch.ActionGraphs to 1.9
* Fix graph compilation times
* Compiled graphs avoid allocations where possible
* Compiled graph performance is now much closer to C#
* Cleaner node definition API
* Groundwork for new features #1667
* Fixes #1756
Revert "Fix unit tests getting the wrong envrionment var (not sure what changed)"
This reverts commit ce247dd3bd66aaad88b3b73b8e8ab8297dc38d9d.
VR: clean up logging
VR: Synchronization refactor, update Facepunch.XR to 1c1b65ae7ec5ef89ff2f1e508f4bcdbea58ebd3c
Removes Sync() call, should remove jittering(!), and reduces unnecessary logging
Add dump_scene concmd, puts a clone of the current scene onto the clipboard for debugging
MapInstance: Don't delete all our children we've just received from the network snapshot
Mounted VPKs are part of the snapshot, we need these mounted before we deserialize the received scene / networked objects
Return true in Connection.HasPermission if the connection is the host. We'll check user permissions from the config file for connections to a dedicated server.
User perms config
Allow Json comments
Add default users.json file and change structure of config
Don't ignore game/config/users.json because we want to keep the default with comments
Investigate why test is running in wrong directory during ci
Ignore null GameSystem's when shutting down - it might be null due to hotloading
Add PlayerController.IEvents.OnJumped
Update Facepunch.ActionGraphs to 1.9
* Fix graph compilation times
* Compiled graphs avoid allocations where possible
* Compiled graph performance is now much closer to C#
* Cleaner node definition API
* Groundwork for new features #1667
* Fixes #1756
Improve networked scene changing by simplifying it and no longer reusing the handshake process
Scene changing working again nicely. Use DisconnectScope() when clearing scene/disconnecting on play mode exit to keep other clients functioning properly
This needs to be reset before dragging
Better handling of drop traces when below grid, trace to plane using last traced height https://files.facepunch.com/layla/1b0811b1/sbox-dev_QR4dwTeq7E.mp4
Texture.Depth returns 6 for cube textures - Fixes getting pixels from cube textures
Fix CRenderThreadVulkan::OnReadPixels not reading from volume textures properly, it was using src slice as array layer
Add Scene, Prefab, and Sound to the top of the New Asset menu for ease-of-access. Resolves Facepunch/sbox-issues#7003
Added [TargetType] attribute so you can only select a `Type` that derives from the target type. Resolves Facepunch/sbox-issues#7345
Added "None" option to TypeControlWidget
Ensure Facets are always reset in Cloud Browser
Added Type Filter to Cloud Browser when not already filtering by type. Resolves Facepunch/sbox-issues#7031
Need to confirm scene load, to call OnJoined again appropriately
Added button to test sound component from the Inspector. Resolves Facepunch/sbox-issues#7348
Soundscape Component no longer overrides the volume of stings. Resolves Facepunch/sbox-issues#7346
Fix BaseSoundComponent not applying override values to SoundHandle properly
Don't forget to initialize NetworkObjects array
Networked scene change rewrite - much cleaner approach
Menu for adding properties
Line renderer supports additive blending in fog https://files.facepunch.com/layla/1b0811b1/sbox-dev_CFQJAMRIhQ.png
Another angle at action graph properties
Add optional count badges to TabWidget tabs
Asset Inspector: always show ref/usage tabs, allow flexible preview sizing
Save asset browser filters/search between sessions, resolves Facepunch/sbox-issues#7247
Add Additive and FogStrength to LineRenderer https://files.facepunch.com/layla/1b0811b1/sbox-dev_VnTl4GS71x.mp4
Allow `.` and `-` in command names
Update Facepunch.ActionGraphs to 1.9
* Fix graph compilation times
* Compiled graphs avoid allocations where possible
* Compiled graph performance is now much closer to C#
* Cleaner node definition API
* Groundwork for new features #1667
* Fixes #1756
Fix SceneNetworkSystem.Library not being set
Update Facepunch.ActionGraphs to 1.9
* Fix graph compilation times
* Compiled graphs avoid allocations where possible
* Compiled graph performance is now much closer to C#
* Cleaner node definition API
* Groundwork for new features #1667
* Fixes #1756
Managed compiler also includes currently unrecognized asset paths as references, so they can be populated later
Fixes incomplete dependencies list for resources, uploader missing required cloud assets, etc.
Show still unrecognized asset paths in reference/asset list without errors
Add PlayerController.RunByDefault , PlayerController.AltMoveButton
Add Capsule and Line to TypeLibrary
Accidentally yanked Src/DstBlend from Spritecard, also bring back shading complexity to it even if it makes code awful for now
Fix typo causing var property to not be hidden
Add ConVar flags
Remove dead code
Route console commands from engine to managed
No need to register convars with engine, we are the owner now
Strip command buffer running, aliasing
Store native console commands, everything works again
Native console command help etc
print variable value when no arguments
Move "find" to c#, add ConvarFlags.Hidden
Autocomplete is all c#
Remove IConfigurationSystem
Remove CommandTarget_t, InputCommandSource_t
Don't need these hacks to create SceneNetworkSystem anymore
Remove more unused convar code
Replicated convars stringtable
Capture native convars more reliably, without having to query
Userdata convars
Add ConvarFlags.Protected and ConvarFlags.Cheat - all native convars are protected
Remove FCVAR_DEVELOPMENTONLY
Remove FCVAR_GAMEDLL
Remove CCommandBuffer
Remove FCVAR_RELEASE
WrapepdPropertySet provides a Getter, to get the current value
Include all attributes with wrapped properties, no just the codegen attributes
ConvarSystem.SetValue always takes a string value instead of object
Only set native convar if value is different
Move sv_cheats to game code, so it gets codegen
Always register sbox.game assembly with convar system
Only set managed convar value if value changed
Placeholder to return replicated values for convar
Call ConVarSystem.OnConVarChanged when managed convar changes
Native convars call OnConVarChanged
Rename ConvarFlags to ConVarFlags
Remove dead code
Delete ivr.h, remove g_pVr (none if this is used anymore.. right?)
Fix CodeGen attribute blunder
Fix unit tests getting the wrong envrionment var (not sure what changed)
Rename ConVar to ConVarAttribute, ConCmdAttribute
Convar changed event
Update replicated convar string table entry when it changes, if we're the host
Clients use replicated vars table instead of accessing the value from the convar
Update Facepunch.ActionGraphs to 1.8.56
* Fix ignoring _type property of method nodes with target input
* More robust method binding for generic types
Convar changed event
Update replicated convar string table entry when it changes, if we're the host
Clients use replicated vars table instead of accessing the value from the convar