2 Years Ago
Documentation pass
Dirt footsteps for testing
Citizen/clothing: misc. fixes
Calculate lod level clamps to max lod level of model
ModelDoc: Clean up code for new morph frame compiling now that we know it works
Add description attributes to Surface asset for the editor
Make "clear" option available for "Unknown asset" in AssetProperty editor
Fixed "Collection has a fixed size" error when trying to remove items from an array in an asset
Updated all surface assets
Added grass surface & footsteps
Fixed Resources not loading when networked from server
Fixes shatter glass being invisible for clients who are not the host
Hammer Map Nodes API
Split Hammer save/load logic into different file and document all the internals so anyone other than me can know what the fuck is going on
Fix double filesystem dispose with addon config
Closes #498
Fixed some histograms being offset horizontally
Only show histogram markers that are in range
Add Hotload.AssemblyResolver, warn if not assigned when needed
Set HotloadManager.AssemblyResolver for client / menu / server
Documentation pass
Hides Prop.weldParent, Prop.childrenProps and Prop.clonedShapes
TagAttribute can now accept multiple tags at the same time
Documentation pass
VertexBuffer index methods throw if buffer is not indexed
Obsolete TextureArrayBuilder
Readd single string constructor for TagAttribute
Hook up the CMapView's CToolCamera so we can have the camera pos/angles and able to build rays from 2d coords
Hammer traces return their hit MapNode by managed handle so can do `if ( tr.MapNode is MapMesh mesh )` now
Add MapMesh.SetMaterial( Material )
Real simple drag handler for material packages - this code is all getting shit though time to rip it up
Refactored map view drop targets into an interface with attributes: `[CanDrop( Package.Type.Model )] class ModelDropTarget : IMapViewDropTarget`
Once I wrap CMapView I'll make this public and make it work with standard AssetType too, so you'd be able to create custom drop targets for your game resources.
Simple color picker for color properties
Snap to color on mouse press
Add comments to new publics
Merge pull request #573 from Facepunch/color-picker
Simple color picker for color properties
Documentation pass for SceneWorld and related classes
Obsolete non implemented methods of SceneSkyBox
Zero out native pointer of SceneWorld in its Delete() method
Fixing up TextureBuilder documentation
Rearrange texture builder methods
Added test for adding properties with default values
Support for log value histograms
https://files.facepunch.com/ziks/2022-10-10/sbox-dev_YnroiYzjt5.png
Make Asset.TryLoadGameResource<T> work on compiled assets w/o source files by implementing in EngineGlue::LoadJsonAsset for compiled files
Delete unused/non functioning fog override convars
Delete fog properties from sky_camera - they do not work
Add Widget.OnKeyRelease
nullptr checks for Hammer.ActiveMap
MapEntity / MapMesh constructors will default to active map doc if not specified
MapView wraps CMapView so we can use it in addon space
Add `[CanDrop( string AssetFileExtension )]` that support `IMapViewDropTarget.DragEnter( Asset ... )`, make it all accessible to addon space
Move MaterialDropTarget to addon space
Hammer: Add SoundDropTarget - creates snd_event_point for .sound assets
Do not try to auto generate mips for static textures that provide their own
Rename Sound Definition to Sound Event for consistency
Fixed an exception in DragData.Url
Added DragData.Files
Some tools drag'n'drop related docs
Asset lists support multi file drag and drop
https://files.facepunch.com/rubat/1b1111b1/sbox-dev_tH20o2aafW.mp4
Implement multi file drag'n'drop for asset list/browser
Drop targets don't need to be public
MapNode creation/deletion has to be done on main thread, add asserts
Null safety checks on map node shit
Update to .NET 6.0.10
Improve color picker's layout & design, add an alpha slider
https://files.facepunch.com/crayz/1b1111b1/sbox-dev_s2QkeANHgK.mp4
updated glass mats and ad billboard texture
Better error handling for Asset.Party uploader
Do not display OMG SUCCESS on failure, and actually display relevant errors to the user
Whitelist System.Diagnostics.StackTraceHiddenAttribute
Fixed codegen errors with string.Empty default values
Sandbox.Json respects JsonPropertyNameAttribute
Citizen/clothing: hawaiian shirt updates (neck seam fix + LODs)
Editing float properties shows & works with full precision
https://files.facepunch.com/rubat/1b1311b1/sbox-dev_2A2G1luuKQ.mp4
Fixed a bug with DataBind and integers
Fixes sbox-issues/issues/2119
Added property editors for double and decimal types
Fixed build not passing databind tests
npcclip/navclip/playerclip affect nav mesh in Hammer
Fixed an assert in ModelDoc rotation gizmo
sbox-issues/issues/2135
Color picker style improvements & layout tweaks
Fix hue slider being slightly larger
Remove nullable from AssetList icon, fixed an error I was getting on editor launch
Re-enabled translucent screenspace effects
Add IsValueType to TypeDescription
sbox-issues/issues/2370
Fix 4-way blendable material crashing & added safety assertions
Fixed Group Sort Key Mismatch & Dropped useless "Color" section for blend
build shaders
Merge pull request #576 from Facepunch/blend-cleanup
Blend cleanup
Allow glow occlusion color & line width to be customizable
Fixes sbox-issues/issues/2395
Replace asset picking with our own in more native situations
* Improved the native API for opening our AssetPicker so it's easier to swap out the old embedded asset browsers
* QAssetSelectionWidget ( property sheets ) and QEmbeddedAssetPicker ( Active material ) use our AssetPicker
* Limit the ability for the AssetPicker to select cloud assets, when called from native we only allowed it when the context asset is a vmap
AssetList: don't encode a `file:///` URI in DragData.Text keeping it consistent with all native tools, fixes Hammer not accepting models dragged from our asset browser
properly document ColorHsv to be 0->360 instead of 0->1
also update constructor docs to reflect the range too
Create text gradients with Skia, fixes overwriting strokes and emojis
* Update RichTextKit.dll with newly added Gradient parameter in TextPaintOptions
* Deleted D_TEXT_BACKGROUND_IMAGE and recompiled ui_text
* Removed text background image from stylesheet parsing
* Added new GradientInfo class, generated during stylesheet parsing
* Updated SkiaTextBlock to grab gradient info and pass it to RichTextKit
Fixed OGG files not receiving correct duration (Recompiles needed)
Added SoundFile.IsValid
Error handling for SoundFilePreview
ConditionalVisibilityAttribute works for child sheets
sbox-issues/issues/2162
DragData.Files does not rely on file:/// prefix
Add category to angular fog related properties
Replace rect definition picker with our own whilst I'm here
Add Asset.GetAdditionalRelatedFiles()
Upload hotspot .rect for a material asset, only for single assets and not games
Add SoundscapeDropTarget so you can drag and drop soundscapes into your maps
Citizen/clothing: polo shirt updates (neck seam fix, skinning & LOD improvements)
Asset publishing widget doesn't stomp potential asset editor
Can publish sound and soundscape assets
Handle null thumbnails for uploaded assets, I think garry's already made the backend auto generate them if nothing is provided
Asset browser can find cloud sounds, SoundDropTarget supports async setting from package
ModelDoc: Don't show duplicate context action for selections that include singleton nodes, these nodes can't be duplicated
Clean up model state a little bit, don't need to know about the old model state when setting up rendering
Animgraph: Don't allow tags or other items to be removed when preview mode is active
Animgraph: Disable state machine condition list when preview mode is active
Animgraph: Do the same for state machine tag list
Add Widget.OnDragMove
cctv_globe, ceiling light glass material tweak
Documentation pass
Added Angles.Forward, obsoleted Angles.Direction
Set ConsoleSystem.Caller to Local.Client for clientside concommands
Documentation pass
Hitbox Tags (#562)
- Added Hitbox, Hitbox.HasTag, Hitbox.HasAllTags, Hitbox.HasAnyTags, Hitbox.GetName
- Added TraceResult.Hitbox, DamageInfo.Hitbox
- Obsoleted DamageInfo.HitboxIndex, DamageInfo.WithHitbox, ModelEntity.GetHitboxGroup
You'll have to update your code to get hitboxes to work again (headshots, etc) - check the wiki page @ https://wiki.facepunch.com/sbox/Hitboxes
Add starting & current colors to color picker
Pack color picker specific widgets into partials
ColorProperty picker tweaks
Add hex value input to color picker
Allow Graphics.RenderToTexture to be used outside of render block
Add Ortho settings to SceneCamera
Add DebugOverlay.Texture
Fix AO proxies
Tone down the intensity, we haven't authored AO proxies properly for a few months
Seems to fix sbox/issues/549
Revert "Tone down the intensity, we haven't authored AO proxies properly for a few months"
This reverts commit 32b7ca573f22b412419162ae4a4980b18922ce6b.
Added sphere ao proxy shapes
fixed advertising board glass position, fixed office desk colliders
Merge branch 'master' of sbox
Merge branch 'master' into sausageman-sucks
thumb_up
2
thumb_down
0