7,974 Commits over 3,775 Days - 0.09cph!
Fix undoing dragging connection handles
Fix updating connection positions
Fix transition label tooltips not always updating
Grid-aligned wires option
https://files.facepunch.com/ziks/2024-10-22/sbox-dev_bUe9p89nrF.mp4
Fix editing method bodies from outside component editor
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
Forward display info for return parameters
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
Fix bounds checks when editing world
Freeze player when spawning, save position when quitting
Fix possible NRE when exiting scene
Add Input.config
Fix warnings
Add Verbose Hotload Logging option under Help
https://files.facepunch.com/ziks/2024-10-11/sbox-dev_AHgWLtzQtX.png
Document WorldCell, tweak cell initialization
Cells get unloaded gracefully when world is cleared / destroyed
Fix warnings
Use every ICellLoader in the scene, not just the first
Document ICellLoader
Document CellIndex, change property order
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
Make AccessorNodeDefinition.BindingTarget protected
Fixed default display info for accessor nodes
Update Facepunch.ActionGraphs
Stricter test for resolved generic type with default arg
Make resolved generic type properties optional instead of removing them
Test fixup