22,418 Commits over 1,614 Days - 0.58cph!
Prefixed downsample ratios, maybe we should make these dynamic from bottom up?
Either we fixed all crashes or our crash reporting stopped working.. fact check that
Default Hammer map view port to single 3d pane since thats what 90% of people use all the time
Don't bother showing the new asset browser at all in Hammer, have it opt in from View -> Toolbars so we can get some proper feedback on it
Asset browser dock widgets collapse properly on ToggleAssetBrowserDockWidget command
Add ToggleAssetBrowserDockWidget command to Hammer that does exactly that, default key bind Alt + A
Cleanup HammerAssetBrowser class location, move OnAssetHighlight / OnAssetSelected that inspect / open in editor to MainAssetBrowser
Setup default locations for Hammer dock widgets a bit better, open selection sets by default but tab them next to the Outliner since you're going to be using one or the other and not both.
Give asset browser dock widget a sane default size
Reimplement the Hammer pane embedded asset browser as a dock widget, tabify it at the bottom alongside our new C# one, always show the legacy first (for now). And in general tidy up / simplify the implementation of this
Add these asset browser dock widgets to the View->Toolbars menu
Need to setObjectName on these so they saveState properly
Remove QHeaderView from asset browser grid layout, not useful takes up a shit load of space
Legacy asset browser icon sizes match our new asset browser icon sizes, makes the medium icons actually usable in embedded browsers
Calculate & Pass LODs for shadows but don't do anything with them yet
New Outfit Piece- Army Cargo Pants + Army Reskins
Army Cargo Pants outfit piece, plus some army reskins of the tactical helmet and vest. As well as this, some fixes to skinning of the hawaiian shirt, thanks to the lovely Maxime. A full Army outfit, including tactical glove reskin and a new Army Coat to finish the full outfit.
Fixed ErrorList margins, given more space for item text
Add Game Category to project settings
For spot & ortho lights, calculate the closest points between the fustrums
Doesn't make sense to use radius for ortho
Account for distance when light sorting
Remove light count tracking
Delete complicated / hacky pane modes from Hammer map views ( Game, Asset Browser, Object Properties, Entity IO )
Create a dock widget below the Hammer viewport for the asset browser
Create the new C# asset browser in Hammer, quite a few things work already with no effort :o
Update Templates ListView so the scrollbar isn't always showing
Add Control Modes to Project Settings
- Add Input page to project settings, set up ControlModes meta
- Use generated input tags in GameScreen/GameList
- Update WarningBox to support one-line widgets
https://files.facepunch.com/devultj/1b2511b1/sbox_igBwGDMiev.png
Add display name to ControlModeSettings.Keyboard
Use generated input tags in GameScreen/GameList
Add Input page to project settings, set up ControlModes meta
Update WarningBox to support one-line widgets
Could probably do this a better way
Allow created sound to be looped
Sound glue stubs
First pass at creating sound resource
Bind the create sound glue function
Add bullshit function to create sound resource from managed to test it
fix dodgy memcpy of sound data
Move create sound to Sound instead of SoundFile for now https://files.facepunch.com/layla/1b2411b1/sbox-dev_EXUbMAAhf6.mp4
AssetPicker explicitly plays sound files and sound events, these are normally handled w/ the inspector previews of them.
Remove CAnimSkeletonConstPtr typedef from physics interface (why was this here)
Add IAssetSystem::OpenPicker( IAssetType* type, IAssetPickerListener* pListener ) which opens our AssetPicker from tools addon
CQAttributeEditor_SoundPicker ( used in Hammer and probs other shit ) uses the managed AssetPicker, this is way easier to use, doesn't show duplicate entries and shows all sound events not just base ones.
Old: https://files.facepunch.com/matt/1b2311b1/sbox_yEIejKDxCd.png
New: https://files.facepunch.com/matt/1b2311b1/sbox_8xvDTdEb0c.png
Remove Get/Set HeightMap from physics world interface, nothing uses it
Remove CreateXConstraints from physics interface
Remove CVPhys2Spring, Remove CreateSpring and DestroySpring from physics interface
Add Audio/Mute for when you don't want sound at all https://files.facepunch.com/layla/1b2311b1/sbox-dev_rMbBnXxmZR.png
moving asset, updated skybox/textures
Animgraph: Revert parameter choice sorting to see if it fixes crash in steam build
Abandon frameless window ambitions, use a normal window but force dark mode on it
Addon creator will derive a path from the provided ident
Fix Widget.ConstrainToScreen()
Assetbrowser improvements
Widget debug overlay can be enabled with alt and pause/break
Fixed historylist trimming too many items when navigating from a previous position
Keep asset type filter control in sync with history
BaseItemWidget - only call ItemActivated if double clicking with the LEFT mouse button
Fix NRE
Right clicking an item selects it without events
Move hacky line edit syntax highlighting to its own class
https://files.facepunch.com/garry/ce4f0f77-d312-4275-8584-1cea5e56b24d.png
Add Widget.ContentMargins
Only include enabled addons in VSCode
Try to fix VSCode support by wrapping launch arguments in quotes
PathPlatformEntity moves smoother when switching nodes
TagEdit becomes TagPicker
Added ability to get the cursor & selection info on LineEdit
Horrible syntax highlighting code, will fix
Show asset counts on folders in asset browser list
Hide folders starting with .
Add TextEdit.Html
Folder context menu
Can set Widget.Layout directly, added Layout.Row(), Layout.Grid() etc
Add AssetType.All
Hack so Widget.IsPressed doesn't get stuck
Clean up GridLayout usage
Can Draw Pixmap with alpha
Asset type filter improvements
https://files.facepunch.com/garry/93252055-2617-4be4-9786-35aa2043397e.mp4
Account for sunlight when resampling
Fix tool.minimal template
Tool addons reference base tools addon
Added Friction property to Hinge and Slide constraints
Warning fixes
Add Rider as a code editor (thanks @peter-r-g), I didn't test it but it's just the same as the VSCode one with different regkeys so it should be fine, & clean up some duplicate code around code editors too
For default code editor pick VS > VS Code > anything that is installed
Fix touch events collision filter exclusion where it needed both entites to have touch events off
Fixes Facepunch/sbox-issues#2046