22,893 Commits over 1,642 Days - 0.58cph!
Use same asset picker size/location cookie regardless of what control created it
Get rid of special case map picker
WIP AO to Lighting - DONT USE THIS YET
Reference package.base from libraries when publishing
Fixes Facepunch/sbox-issues#5899
Cache versioned packages separately
AssertNoGraphErrorsInScene: assert downloaded package version
Package.FetchAsync: allow fetching specific version
Disable AssertNoGraphErrorsInScene test temporarily
Added OnOrg to PackageCard and PackageList. Added basic Org Page when clicking org on Main Menu. Helps users find games made by the same creator(s).
https://files.facepunch.com/CarsonKompon/2024/July/26_01-31-CuddlyCaracal.mp4
VectorInts are fields instead of properies (like they used to) with [JsonInclude] fields
Don't make VectorInt properties readonly since some games set them already (fixes tests failing)
Asset picker: only allow multi selection if we want that
Added a lot more functionality to Vector2Int and Vector3Int. Much more in line with their floating-point counterparts now, only including what makes the most sense for integer values. Also added documentation/summaries to everything. Resolves Facepunch/sbox-issues#5254
Fix Vector3Int converter error
Stop prefab source widget changing value and closing picker before a selection has been submitted
Asset picker: will now grab/install remote cloud assets when selected (fixes Facepunch/sbox-issues#5904), improved validation so you can only select resource types you're supposed to
Expose particle DeathTime, so effects can use it to do calculations
Fix ParticleSpriteRenderer error when no texture defined
Add ParticleEmitter.RateOverDistance , overrides for manipulating burst count, rate count
Fix Vector2.Json serialization only loading x value when supplying string as json object and not number array. Also updated function summaries that said "vector4" instead of "vector2"
Vector2Int and Vector3Int values now serialize to/from JSON properly. Resolves Facepunch/sbox-issues#5821
Created Vector2Int/Vector3Int ControlWidgets. Resolves Facepunch/sbox-issues#5606
Fix new game objects created thru heirarchy context menu always spawning at 0,0,0
This only needs to be a warning
Prefab preload: preload into a dummy scene
Revert "Populate Json reflection cache in Json.Initialize"
This reverts commit c0f2f57fc0a12a43ca0b73f3e3bf934a260bd69b.
We don't need this if we preload prefabs
Preload all prefabs when loading a scene
Add ParticleModelRenderer
Restore skeleton compile to how it used to be, we're missing optimizations by just keeping every bone no matter what
Fix LineRenderer bug
ParticleFloat, ParticleGradient have evaluations where you pass in the particle , which reduces the risk of fucking up the parameters
Move ParticleRenderer's into own folder
ParticleController has OnParticleCreated
Add Particle.BaseListener - allows creating of classes that run on particle create, update and destroy - with instance data and guaranteed destroy
Add ParticleLightRenderer
Fix bug in capsule tracing, fixes picker in modeldoc when using capsules
Fix IBL not working, Transparency in AmbientColor is used to lerp between artist's decided flat color and IBL/GI, defaults to GI
AmbientLight component defaults to Gray color
Don't implicitly set zfar as infinity, if we want to do so we can do from C# side, but make it respect what we pass as zfar
LineRenderer has a UseVectorPoints option
Fix Json.PopulateReflectionCache
JsonTypeInfos would only be stored if the JsonSerializerOptions is immutable
Add serialization_warn_time con var
https://files.facepunch.com/ziks/2024-07-24/sbox-dev_0DtqgKK1dt.png
Fix for AO outline
AO moved in PP to post-transparent to ensure that sky-dome is rendered before AO
Merge branch 'master' of sbox
Tidy and make some context menus more consistent, prevent selecting unworkable options, add hierarchal path support to create asset menus
Mark `MenuAttribute.Shortcut` as Obsolete. Get identifier from `[Shortcut]` attribute if one exists.
Update Shortcut value in AssetInspector
Display shortcuts on Tool and Subtool buttons without need for ShortcutAttribute on the class
Download from server (#1632)
Download game asset files from the server, when not using a package. This allows people to make "local only" games and test them locally and multiplayer.
In the future we can change the download method to upload and download from our backend instead of over network.
Simplify RedirectFileSystem, fix not mounting
Fix number keys not working
Create keybinds for the different Tools now that Editor.Shortcut is internal
Create keybinds for the different subtools for the same reason
Add LargeNetworkFiles table
No network files needed for remote packages
File download framework
Add Connection.SendRequest<T> - allows async waiting for a response to a specific message, instead of routing through global handlers
Request files loop
Fix filesystems not clearing properly between games
Download required files from server
Move the asset download cache to a single purpose class
Respect JsonIgnoreAttribute when serializing component properties
We were already checking it for fields
Revert "Add LargeNetworkFiles table"
This reverts commit 7365c616af37ef1665abe4961344013815e89b70.
Accidentally rebased master onto a branch - Metapyziks
Fix warnings in ParticleVector3ControlWidget
Fix some download toasts sticking around forever, and incorrectly displaying as cancelled
Populate Json reflection cache in Json.Initialize
We were seeing some long frame times during first-time prefab instantiation caused by this
Do panel bind/parameter events when things change even if tree is empty, Facepunch/sbox-issues#5908
Custom panels that do stuff/populate from attributes etc should work again now, incl settings page
Don't use internal message type for changing level
Fixed retry logic
Docs
Merge branch 'master' into local_files
Merge fixes
Merge branch 'master' into local_files
Move the asset download cache to a single purpose class
WIP adding simplified interface
ditto
Fix Function Keys not being sent when in-game since it was checking for a console bind instead of keybind
Don't use internal message type for changing level
Fixed retry logic
Docs
Remove `Editor.Option.ShortcutContext`
Strip native shortcuts from `Editor.Shortcut` class. Make class internal.
Documentation cleanup
Update Shortcut.Invoke so it handles Mode logic
EditorShortcut.Invoke is now a bool returning whether or not a shortcut was invoked from the pressed keys
Shortcuts are now invoked from Sandbox.Tools instead of thru native QT shortcut.
Make `scene.fullscreen` (F4) bind static. Fixes rebuilding issue.
Fix filesystems not clearing properly between games
Download required files from server
Do panel bind/parameter events when things change even if tree is empty, Facepunch/sbox-issues#5908
Custom panels that do stuff/populate from attributes etc should work again now, incl settings page
Populate Json reflection cache in Json.Initialize
We were seeing some long frame times during first-time prefab instantiation caused by this
No network files needed for remote packages
File download framework
Add Connection.SendRequest<T> - allows async waiting for a response to a specific message, instead of routing through global handlers
Request files loop
Fix some download toasts sticking around forever, and incorrectly displaying as cancelled