1,002 Commits over 1,369 Days - 0.03cph!
Tone down ByteStreamTest.DecompressStressTest
Expose EditorActionGraph.CanModifyParameters
IAssetEditor: focus existing editor if it's a BaseWindow
Fix ValueNoise shader function not being smooth
Before: https://files.facepunch.com/ziks/2024-11-16/sbox-dev_KoXuUh9TIr.png
After: https://files.facepunch.com/ziks/2024-11-16/sbox-dev_FtB7jYPzCf.png
Started looking into fixing prefab variable action graphs
Will finish after hackweek
WIP can use .actions in multicast delegates
Fix opening .action resources
Fixes Facepunch/sbox-issues#6841
Multicast action graph delegates
https://files.facepunch.com/ziks/2024-11-05/sbox-dev_ntUf9trdvk.png
WIP multicast delegates
https://files.facepunch.com/ziks/2024-11-05/sbox-dev_ntUf9trdvk.png
Update Facepunch.ActionGraphs
Update Facepunch.ActionGraphs
Fixes Facepunch/sbox-issues#6736
Switch case node
https://files.facepunch.com/ziks/2024-10-31/sbox-dev_YiyL34b2CY.mp4
Switch case node
https://files.facepunch.com/ziks/2024-10-31/sbox-dev_YiyL34b2CY.mp4
Failing tests reproducing Facepunch/sbox-issues#6731
Fix Facepunch/sbox-issues#6731
Clean up string.To{Numeric} extension methods
Can give an optional target to scene event nodes
Fixes Facepunch/sbox-issues#6726
Add TreatWarningsAsErrors compiler option
Add TreatWarningsAsErrors to built-in addons
Helps us catch warnings before the build fails because of BuiltInTests.NoWarnings
Add some default lighting to game object thumbs if scene is unlit
Add failing hotload test, reproducing #1673
Stricter AreEquivalentTypes, fixes #1673
Fixed Facepunch/sbox-issues#6696
Remove mock GameObject/Prefab code from managed MapEntity
Clean up Entity tool as you can no longer add/target games this way
# Conflicts:
# game/editor/Hammer/Code/Tools/EntityTool.cs
# game/editor/Hammer/Code/Tools/EntityTool/EntitySelector.cs
Remove Hammer EntityIO UI
Remove unused complicated stuff from worldbuilder: point templates, some hardcoded ents, dioramas, ...
remove nav markup volumes from fgd
ActionGraph source location refactor
Add WithExtension(this string path, string ext)
Refactor rename flyout in asset browser, add error flyout
Fixed Facepunch/sbox-issues#6695
https://files.facepunch.com/ziks/2024-10-28/sbox-dev_do9WlbwLbF.mp4
Fix warnings in editor projects
Naming consistency between Widget, Option, GraphicsItem
Tooltip -> ToolTip
StatusText -> StatusTip
Expose Menu.ToolTipsVisible, add Menu.PathElement.Description
Node menu rewrite, add tooltips
https://files.facepunch.com/ziks/2024-10-26/sbox-dev_BqmtPdWalM.png
Node menu: list all scene refs
https://files.facepunch.com/ziks/2024-10-23/sbox-dev_qisG1bsjT4.mp4
Fix undoing dragging connection handles
Fix updating connection positions
Grid-aligned wires option
https://files.facepunch.com/ziks/2024-10-22/sbox-dev_bUe9p89nrF.mp4
More docstring elements
https://files.facepunch.com/ziks/2024-10-21/sbox-dev_l5UcrtR1tm.png
Courtesy of bringing my laptop on some long train journeys this weekend
Reference formatting tweaks
https://files.facepunch.com/ziks/2024-10-19/sbox-dev_UakhR0G0Jj.png
Some nicer description formatting for tooltips
Show return value descriptions in action graphs
Fixes Facepunch/sbox-issues#6636
Expose Sandbox.Achievement to TypeLibrary / ActionGraph
Fixes Facepunch/sbox-issues#6637
Description attrib codegen: support method parameters
Fixes Facepunch/sbox-issues#6622
Fix description of expanded outputs
Fix action graphs in unsaved hammer maps
Associate graphs with a HammerSceneEditorSession if open in hammer,
which is resilient to renaming etc
Remove mock GameObject/Prefab code from managed MapEntity
Add CMapGameObject map node with managed counter part that wraps a GameObject
Hammer world's Scene uses HammerSceneEditorSession
Add HammerManagedInspector that can take over if it likes the MapNode. We only like MapGameObject for now
Run Scene.EditorDraw() on MapView for gizmos, remove old Entity.DrawGizmos
Hammer: Create GameObject Test option
More explicit HammerEvents
Managed map node callback interface, a little convoluted because of mapdoclib <-> hammer <-> managed. But this is easier to do callbacks and can return values
And the managed side
Serialize/deserialize CMapGameObject
CMapGameObject::GeneratesEntityModelGeometry()
Expose CMapGameObject JSON to MapBuilder via IHammerMapLoader
Collect CMapGameObjects, compile them into scene.json inside the vpk and let MapInstance load them (Very hacky code needs cleaning up)
MapWorld.Scene sets a Scene.Source in an attempt to make AG happy
Tie Meshes to GameObject button
Add def for CMapNode.GetRootDocument()
ActionGraph source location refactor
Add MapSourceLocation, fix editing action graphs in .vmap files
Check for MapSourceLocation in ActionGraphView
Open source map when inspecting graph from .vmap
Parent action graph editor to hammer window if editing map graph
Push AG serialization options when saving map game object
Makes sure we replace any cached versions of graphs
Implement setting HammerSceneEditorSession.HasUnsavedChanges
Fix action graphs from maps not caching correctly
Only OpenContainingResource if not already open
Second pass at grid-aligned connection style
https://files.facepunch.com/ziks/2024-10-15/sbox-dev_635BI3Qt2h.png
Simple solver for default connection offsets
https://files.facepunch.com/ziks/2024-10-15/sbox-dev_x2R1XluVOZ.mp4
Tweak ZIndex of connections when hovering / selecting
https://files.facepunch.com/ziks/2024-10-16/sbox-dev_kaYI58Tlex.mp4
Some final tweaking of default offsets for connections
Simple solver for default connection offsets
https://files.facepunch.com/ziks/2024-10-15/sbox-dev_x2R1XluVOZ.mp4
Second pass at grid-aligned connection style
https://files.facepunch.com/ziks/2024-10-15/sbox-dev_635BI3Qt2h.png
Add Editor.NodeEditor.ConnectionStyle
Tweak is null / not null nodes to test for IValid
Fix action graphs from maps not caching correctly
Only OpenContainingResource if not already open
Implement setting HammerSceneEditorSession.HasUnsavedChanges
Push AG serialization options when saving map game object
Makes sure we replace any cached versions of graphs
Add def for CMapNode.GetRootDocument()
ActionGraph source location refactor
Add MapSourceLocation, fix editing action graphs in .vmap files
Check for MapSourceLocation in ActionGraphView
Open source map when inspecting graph from .vmap
Parent action graph editor to hammer window if editing map graph
Push AG serialization options when saving map game object
Makes sure we replace any cached versions of graphs
Parent action graph editor to hammer window if editing map graph
Check for MapSourceLocation in ActionGraphView
Add def for CMapNode.GetRootDocument()
ActionGraph source location refactor
Add MapSourceLocation, fix editing action graphs in .vmap files
Add Verbose Hotload Logging option under Help
https://files.facepunch.com/ziks/2024-10-11/sbox-dev_AHgWLtzQtX.png
Make it easy to drag onto input plugs again
Nicer behaviour dragging to / from reroute nodes
Split off node menu logic to a separate file
Basic version of dragging from inputs in graph editors
Fixes Facepunch/sbox-issues#6031
https://files.facepunch.com/ziks/2024-10-10/sbox-dev_QpOhqAKPM5.mp4
Clean up node creation menu types, add a description of each class
Clean up FindAllReflectionNodeTypes
Clean up EventSystem.Run
* Avoid repeated logic
* Aggregate exceptions
* Make sure all actions run
Fix AreParametersActionGraphSafe with delegate parameters
Validate event method parameters in RunEventNodeType