usermattcancel
branchsbox/mastercancel

76 Commits over 92 Days - 0.03cph!

Today
Fix SlotNext, SlotPrev buttons not working on controllers
Today
Add mouse icons for Input.GetGlyph instead of text https://files.facepunch.com/matt/1b1711b1/sbox_BvBA1fyVuJ.png Fix glyphs for analog inputs not working
Today
Make [Net] only work on { get; set; } props and throw a nice error, people were constantly getting confused why their custom getters/setters weren't working.
Today
Make [Net, Change] work with entities and remove obsolete [OnChangedCallback]
Yesterday
Give base addons proper schemas so they don't get auto-upgraded and stomp SharedAssets.
Yesterday
Set SharedAssets to empty on base, citizen, rust addons - stops them being downloaded over multiplayer
Yesterday
Hack to resize glyphs from Steam if they're the wrong size until it's fixed on Steam, e.g PS glyphs are twice as big.. Add optional style parameter to Input.GetGlyph There's 3 styles Knockout (default) buttons are on a knocked-out background. Light is black on a white background, Dark is white on a black background. Modifiers WithNeutralColorABXY() will match the style color instead, WithSolidABXY() gives the buttons a solid fill. Example usage: Input.GetGlyph( InputButton, style: GlyphStyle.Light.WithSolidABXY() ); https://files.facepunch.com/matt/1b1711b1/glyph_styles.png
3 Days Ago
Error if trying to add the same addon twice. Remove debug log from controller testing.
3 Days Ago
Remove extra EndGlobalSection from .sln - fixes Rider being unable to open solution When upgrading .addon to new schema default SharedAssets to `*.*`
4 Days Ago
Fix hanging from SetParent, forgot to stage this fix oops
4 Days Ago
Don't allow entities to try and become children of their children, throw a warning for creators - fixes infinite recursion crash.
4 Days Ago
Fix InputBuilder.Pressed/Up not working properly with controller input
5 Days Ago
Add optional argument to Input.GetGlyph specifying glyph size. ( Small: 32px, Med: 64px, Large: 128px ) Input.GetGlyph( InputButton ) will now return glyphs in the same knockout style as controller glyphs https://files.facepunch.com/matt/1b1311b1/glyphs.png Clear all cached handles when a new Steam Input config is loaded
6 Days Ago
Whitelist ZipArchive properly so you can pass a Stream and whitelist various System.IO exceptions.
6 Days Ago
Small fix with controller config (exporter missed a #?)
6 Days Ago
Update Steamworks SDK 1.53 Resolve deprecated SteamNetworkingSockets usage Controller API in Sandbox.Engine wrapping Steam Input internally with proper async glyph loading Better controller support in C# Input system with Steam Input. New methods: * Input.UsingController - true if the last input from a user was from a controller (accessible serverside too) * Input.GetAxis( InputAnalog ) - get the raw analog axis from a controller, move / look / triggers. * Input.GetGlyph( InputButton / InputAnalog ) - Get a controller-specific glyph texture for the bound InputButton ( if using controller ) * Input.GetButtonOrigin( InputButton / InputAnalog ) - Get context specific button, e.g InputButton.Jump would return 'SPACE' or 'A Button' Users can bind any InputButton to various controller devices by opening the binding panel from the settings menu. Default configurations for Xbox One and PS4 controllers, other devices should derive nicely from these, let us know if not. InputButton: Obsolete a bunch of unused/unbound buttons that made no sense. Strip native InputSystem of legacy code for XInput / Joystick / Steam Controller.
11 Days Ago
Disable videomode settings when in tools as it's handled by the widget (prevents user getting into an infinitely tiling window state)
13 Days Ago
Throw a nicer exception if you try to add children to something that shouldn't have them ( <text>, <img> )
14 Days Ago
Fix NRE on unsized Image panel with no texture
14 Days Ago
<img> panel will now default size to their Texture size
14 Days Ago
When rendering an Image panel mimick background-size: cover instead of contain - fix it looking shit at edges
18 Days Ago
Add Open Visual Studio & Regenerate Solution options to editor window
18 Days Ago
Fix InputBuilder From/To UserCmd wrongly using static instance which meant you couldn't manipulate it properly on bots Remove long obsolete InputBuilder.CursorAim/CursorOrigin ( Use InputBuilder.Cursor instead )
19 Days Ago
Ignore uncompiled texture .jpg when sending files to client Parse CSS floats / ints with InvariantCulture in generated code too, should fix remaining issues with odd regional setups
25 Days Ago
Use InvariantCulture when parsing time in scss too
25 Days Ago
Fix initial fgd autogen needing config folder to exist
35 Days Ago
If we surpass MAX_ACTUAL_RENDERTARGETS don't try to allocate more, fixes buffer overflow crashes (cherry picked from commit 124a7d351686733fe63d829c49ee65f18aec8359) Double MAX_ACTUAL_RENDERTARGETS to 256, with people making their own tools 128 would easily get hit (cherry picked from commit 08628fb0f855688c84909b976a2d3b3c3cd678da)
36 Days Ago
Backport engine fix for debug scratch rendertargets running out
36 Days Ago
Support loading font files with SemiLight (350) or ExtraBlack (950) names Fix NRE in stylesheet parser if an invalid file is requested Parse floats properly in stylesheets with InvariantCulture Add WaterSceneObject's PlanarReflection as a scene object child properly
41 Days Ago
▊▇▉ ▇▅ #▆▊▉▅▇ ▋▅█▅▄▇ ▄▉ ▅▆ ▌▆▉▌█▌▉▅▍ ▆▇▋▋▅▋█ ▊▍▋▌█▇▌ ▍▍▊▄▋ █▊▇▉, ▊▆▉ ▇▌▊▌ ▇▊█▊ ▍▍ ▍ ▇▇▇ ▊▋▅▋▇ ▋█▇▉▍▋ ▋▌▊▆▍▌▅█▉
42 Days Ago
▆▍▇ ▍▉▅▅▍▇▍▄▋▊ ▌▋▄▊▇▄ ▅▊▊▍▆ ▊▋ ▄_▍▅▌▍█▄▅▅▋▇::▇▄▊▉▉▉█, ▇▇▋▅▊ ▉▋▍▇▇ ▋▉ ▄▄▇▌▅▅▌▉▍ ▉▊█▊/▄▊▆▆█▊ ▅▅█▍ ▆▍▌▇▊▄▍ ▅▋▇▊▋▆▍ ▆▉▇▊▄▉ ▌▋▇█▊▌▉▋ ▍▋▊ █▊▅▄▌▆▌▅█ ▍▇ ▌ ▄▄▆█▇▄▌▆█▄▍▄▉▊█ ▊▌▉▆▆▄▋▅ ▄▅▌▇ ▇▉█ ▉▉█▌▆█▇█ ▅▊ ▄█▆▇▋▄█, ▆▋▆▇▍▋▄▌ ▇▌▅▆█▊█▋▍ ██▊▋█▄▆ █▇▊▅▊▉ ▋▇▄█▅▉▇ ▅▊▋▇▍▌▉▆ ▅▋▄▊▊▆▍▇█▋ ▋▋ ▍▍▉▄▌▆▋▅, ▌▆▄█▌ █▌▌ ▊▆▋▉█▄▆▉▉▉▍ ▆▌ ▄▊▊ ▇▋▇▅ ▄▋█▋ ▄▇▇▍▋ ▉▋▆█▄▋▅▍ ▆▇ ▍▊▄ █▇▆▉▆▋ ▉▇▄▄ ▄▊▋▌▋▍█▄▊ ▇▌ ▄ ▌▊▌▋▇█▋▅ ██ █▄▆▅▉▉▅▊▇▇█ ▊▅▋▇▌▇ ▍ ▋▆▆▆▅ ██ ▉▊▉ █▅▊ ▍▊▊▅▋▊▊█ ▍▍ ▄▄▉▊▆▉▄█▉ ▅▋█ ▆▆▅▍▋▋▍ ▍▊▅▆▋. ▉▄▉▉▊▅▋█ ▌▆▅▆▊▌ ▆▄▉▄ ▍▍▌▉ ▇█▄ ▋▍▌▉▍▇▍ ▌▋ ▅▅▄ ▉▋▇▇ ▆▉▄▄▍ ▇▍█▌▇▉▆ = ▆▌▍▋▄▉▌
44 Days Ago
Remove redundant inherited member on MainMenuPanel
44 Days Ago
Don't render panels on invisible overlay panels 🤦 optimize some other code paths too
44 Days Ago
OpenVR update 1.10.20 -> 1.16.8, resolve deprecated crap Interopgen OpenVR's IVROverlay to managed engine Add VROverlayPanel - these are panels rendered in local VR space over the world, input is automatically simulated VR.Init() in MenuDll, set VR.Enabled in Init only since it never changes When in VR create a main menu with an VROverlayPanel, make this wide and 4k so it doesn't look ass Basic interop of IVRInput to managed, get action origins & add VROverlay.SetTransformRelative( VRTrackedDevice ) Add console commands from Sandbox.Menu dll making menu_reload work again Add missing internals to a couple OpenVR structs Add float.MeterToInch / float.InchToMeter extension methods Make main menu VR overlay properly show when ingame Make the loading screen show in VR, add VROverlay.SortOrder, add RootPanel.IsVR set when a RootPanel is owned by a VROverlay If VR is enabled make the GameList.ControlTag default to VR Add 4k & 8k render target sizes to be used as scratch ( dx11 max texture size = 16k ) Use a copy of the current viewport instead of framebuffer when rendering panel backdrop filters Adjust main menu vr size / scaling to a more square aspect ratio and scale it bigger so it's not difficult to read
49 Days Ago
Network Client.IsBot so it works clientside
59 Days Ago
Fix Event.Hotload not calling on the server, fixes network tables not updating on hotload and probably other shit
2 Months Ago
Make sure we update our GameAssembly hash on initial load, fixes all networking errors
2 Months Ago
Make non public and inherited methods register for events again
2 Months Ago
fix build log discord post on long message commits
2 Months Ago
Ensure resident model resources get added to the manifest, fixes error models from missing resources in manifest. This would specifically happen if a server starts a game / map a second time, the resources would remain resident, so when a client does their initial join these models are missing from the manifest resulting in an error. If the client had previously joined on the first time their resources would already be resident and not error. Simplest way to do it, rather then change (and slow down) how the rest of the resource system works. If a resource we try to preload returns an error handle, don't keep the handle alive. Map resources specifically will become valid and load automatically after this.
2 Months Ago
Change WorldInput API to instances to resolve issues and allow simultaneous inputs. * Replace WorldInput.Update with instanced WorldInput fixing hovering and clicking issues as well as allowing simultaneous inputs. * Resolved various issues with WorldPanel.RayToLocalPosition not using the right axis, being inverted and not scaling. * Simulate double click and mousemove events for world inputs. * Fix right clicks not working on WorldInput.
2 Months Ago
Fix missing game lobby settings
2 Months Ago
Allow RootPanel.Parent = null though
2 Months Ago
Throw if trying to set RootPanel.Parent Fix a couple of NREs preventing -dedicated from working
2 Months Ago
SetProperty fallback on [Property] attributes, fixes map entities not working from having their properties not set
2 Months Ago
Generator error if you try to [Net] a static property INetworkSerializer.Read: use ref of NetRead NetWrite.Write don't try to blindly write ref or containing ref types
2 Months Ago
Add transform: scalex, scaley (scale was already supported)
2 Months Ago
Add scss transform: translate( <length>, <length>? ) ( translateX, translateY were already supported )
2 Months Ago
Don't write empty modeldata.fgd
2 Months Ago
Add [Net] support for generic IDictionary<TKey, TVal>