reposboxcancel

20,774 Commits over 1,522 Days - 0.57cph!

4 Months Ago
Should be fine, it shouldn't be using much memory and we need it for VertexDetail
4 Months Ago
Add GameObjectSystem.StartUpdate Add Plane.Position Move the Physics DebugDraw to ScenePhysicsSystem Add GameObjectSystem.Stage.SceneLoaded Add Stage.StartFixedUpdate, Stage.FinishFixedUpdate
4 Months Ago
Revert this to be safe, I think it's using up a lot of memory
4 Months Ago
Adding render mesh to ray trace env adds the vertices so the mesh trace result can access them
4 Months Ago
Try not linking stacktranslate, it shouldn't exist anymore?
4 Months Ago
Sort map objects by parent and child so that the parent gameobject should exist when building the hierarchy Use parent name and target name to build game object hierarchy for map objects https://files.facepunch.com/layla/1b3111b1/sbox-dev_2kuoiBBYGD.mp4
4 Months Ago
Provide targetname and parentname in ObjectEntry
4 Months Ago
Add Sound.Play with mixer, this is common enough to justify adding it
4 Months Ago
Add Sqrt shader node Fix shadergraph save shortcut breaking after keybinds merge
4 Months Ago
Make SetTool and SetSubTool public so they are accessible to editor libraries
4 Months Ago
Remove optional argument from GetMethodsWithAttribute and instead have an overload with the parameter required. This should solve tests failing.
4 Months Ago
Unify the names of all tool shortcuts Rebuild Keybind List widget on hotload (when Shortcuts are added/removed). Order Shortcuts alphabetically so list order isn't random
4 Months Ago
Add Shortcut for Object Tool, and only allow Subtool Shortcuts if proper parent Tool
4 Months Ago
Created EditorKeybinds.cs with a few starting keybinds Move Keybinds into EditorPreferences since that makes more sense Add RegisterShortcuts() function whenever shortcuts are registered and use the EditorPreferences keybind instead of hardcoded string Added Editor Keybinds page to EditorPreferencesWindow Subscribe all RegisterShortcut voids to keybinds.update EditorEvent https://files.facepunch.com/CarsonKompon/2024/July/10_21-46-TautDuck.mp4 Create shortcut for EditorCycleViewMode Make Keybinds page scrollable, add Reset to Default button, and add Are You Sure popup to Reset button Use TitleAttribute for keybind names https://files.facepunch.com/CarsonKompon/2024/July/10_22-23-FakeGourami.png Add AllowModifiers to KeyBind widget, set to true for Editor Keybinds Page (Allows you to bind CTRL+SHIFT+ALT+Whatever) Some FileOption binds, but they dont auto-update yet. Will need to find a good way to do that for Option entries Call keybinds.update EditorEvent on Reset to Default Created EditorShortcuts.cs to eventually replace EditorPreferences.Keybinds Need to call this after EditorTypeLibrary is created Register shortcuts elsewhere and remove some option shortcuts Change default shortcut type Register shortcuts on hotload Convert some older shortcuts into the new [Shortcut] attribute Change shortcut defaults Update EditorShortcuts to include Identifier and Keys, including method to get current keys from overrides (player defined overrides) Display [Shortcut] shortcuts in Editor Keybinds page instead of EditorPreferences.Keybinds EditorShortcuts rebinding actually works now, much more lightweight than prior version Make user overrides save properly Get Name and Group properly, allow attributes to override. Get keys from shortcut name in Option.cs Allow non-static method shortcuts since there seems to be a good chunk of those Stop feeding shortcut to Options for now Fix size of Editor Keybinds page Fix using the wrong widget for non-static shortcuts Move EditorPreferences.Keybinds over to new [Shortcut] attribute system on each function Completely remove EditorPreferences.Keybinds Change name/groups for a few shortcuts Order categories by name in PageKeybinds Remove some debug logs Create Texture Editor and Actiongraph shortcuts Create ShaderGraph, Hotspot Editor and some more scene shortcuts Add GameObject/Transform shortcuts and fix static method issues. Made grid size shortcuts Window type instead of Widget type Make all the different editors share a few binds (So there's not a Copy,Cut,Paste,Undo,Redo,ect. per-editor) Make classes with [Shortcut] attribute properly rebindable (used for editortools) Cleanup shortcut groups Added individual Revert button when bind is different from the default https://files.facepunch.com/CarsonKompon/2024/July/12_08-54-UnimportantTarantula.mp4 Qt Option now takes shortcut ident (eg. "editor.undo") and internally resolves bind (eg. "CTRL+Z"), updating when changed. No longer registers shortcut internally when set. Shortcuts with Function Keys are always to editor even when Game Frame is in focus F3 and F5 editor commands are now Shortcuts like everything else Fix shortcut not displaying on Align To View option Fix SaveMixer being static Change "F5" -> "editor.toggle-play" on Play menu option Cache the overrides so we don't have to keep checking against EditorCookie Super minor cleanup Rename Name -> DisplayName so there's no conflict on KeybindPanel Fix ShortcutOverrides not loading properly Use CodeToString(ButtonCode) instead of the weird enum parsing I was doing. 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 Function Keys not being sent when in-game since it was checking for a console bind instead of keybind 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 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 Mark Editor.Option.Shortcut as [Obsolete], telling users to use Editor.Option.ShortcutName instead GlobalKeyPressed now passes KeyEvent instead of key int Added KeyEvent.Name which returns the name of the key pressed based on it's KeyCode and NativeKeyCode Strip the Shortcut class from EditorShortcuts altogether, reducing bloat and fixing widget focus issues. Pulled ShortcutType enum outside of ShortcutAttribute class. Added `Widget.IsDescendantOf` and `Widget.IsAscenstorOf` Check if widget is a descendant of the focused widget when invoking shortcuts NRE fixes Don't invoke shortcuts if the focused widget is an input field Remove hack to call F1-F12 binds in the editor. Make F6 Editor Shortcut to replace F6 bind. Merge pull request #1624 from Facepunch/editor-keybinds Editor Keybinds
4 Months Ago
Created EditorKeybinds.cs with a few starting keybinds Move Keybinds into EditorPreferences since that makes more sense Add RegisterShortcuts() function whenever shortcuts are registered and use the EditorPreferences keybind instead of hardcoded string Added Editor Keybinds page to EditorPreferencesWindow Subscribe all RegisterShortcut voids to keybinds.update EditorEvent https://files.facepunch.com/CarsonKompon/2024/July/10_21-46-TautDuck.mp4 Create shortcut for EditorCycleViewMode Make Keybinds page scrollable, add Reset to Default button, and add Are You Sure popup to Reset button Use TitleAttribute for keybind names https://files.facepunch.com/CarsonKompon/2024/July/10_22-23-FakeGourami.png Add AllowModifiers to KeyBind widget, set to true for Editor Keybinds Page (Allows you to bind CTRL+SHIFT+ALT+Whatever) Some FileOption binds, but they dont auto-update yet. Will need to find a good way to do that for Option entries Call keybinds.update EditorEvent on Reset to Default Created EditorShortcuts.cs to eventually replace EditorPreferences.Keybinds Need to call this after EditorTypeLibrary is created Register shortcuts elsewhere and remove some option shortcuts Change default shortcut type Register shortcuts on hotload Convert some older shortcuts into the new [Shortcut] attribute Change shortcut defaults Update EditorShortcuts to include Identifier and Keys, including method to get current keys from overrides (player defined overrides) Display [Shortcut] shortcuts in Editor Keybinds page instead of EditorPreferences.Keybinds EditorShortcuts rebinding actually works now, much more lightweight than prior version Make user overrides save properly Get Name and Group properly, allow attributes to override. Get keys from shortcut name in Option.cs Allow non-static method shortcuts since there seems to be a good chunk of those Stop feeding shortcut to Options for now Fix size of Editor Keybinds page Fix using the wrong widget for non-static shortcuts Move EditorPreferences.Keybinds over to new [Shortcut] attribute system on each function Completely remove EditorPreferences.Keybinds Change name/groups for a few shortcuts Order categories by name in PageKeybinds Remove some debug logs Create Texture Editor and Actiongraph shortcuts Create ShaderGraph, Hotspot Editor and some more scene shortcuts Add GameObject/Transform shortcuts and fix static method issues. Made grid size shortcuts Window type instead of Widget type Make all the different editors share a few binds (So there's not a Copy,Cut,Paste,Undo,Redo,ect. per-editor) Make classes with [Shortcut] attribute properly rebindable (used for editortools) Cleanup shortcut groups Added individual Revert button when bind is different from the default https://files.facepunch.com/CarsonKompon/2024/July/12_08-54-UnimportantTarantula.mp4 Qt Option now takes shortcut ident (eg. "editor.undo") and internally resolves bind (eg. "CTRL+Z"), updating when changed. No longer registers shortcut internally when set. Shortcuts with Function Keys are always to editor even when Game Frame is in focus F3 and F5 editor commands are now Shortcuts like everything else Fix shortcut not displaying on Align To View option Fix SaveMixer being static Change "F5" -> "editor.toggle-play" on Play menu option Cache the overrides so we don't have to keep checking against EditorCookie Super minor cleanup Rename Name -> DisplayName so there's no conflict on KeybindPanel Fix ShortcutOverrides not loading properly Use CodeToString(ButtonCode) instead of the weird enum parsing I was doing. 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 Function Keys not being sent when in-game since it was checking for a console bind instead of keybind 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 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 Mark Editor.Option.Shortcut as [Obsolete], telling users to use Editor.Option.ShortcutName instead GlobalKeyPressed now passes KeyEvent instead of key int Added KeyEvent.Name which returns the name of the key pressed based on it's KeyCode and NativeKeyCode Strip the Shortcut class from EditorShortcuts altogether, reducing bloat and fixing widget focus issues. Pulled ShortcutType enum outside of ShortcutAttribute class. Added `Widget.IsDescendantOf` and `Widget.IsAscenstorOf` Check if widget is a descendant of the focused widget when invoking shortcuts NRE fixes Don't invoke shortcuts if the focused widget is an input field Remove hack to call F1-F12 binds in the editor. Make F6 Editor Shortcut to replace F6 bind.
4 Months Ago
Fix setting the initial position on an object create in a FixedUpdate wrongly lerping to that position Fixes sbox-issues/issues/6002 Don't let people create or destroy GameObjects in a thread
4 Months Ago
AO texture format changed to A8 ditto
4 Months Ago
Improve handling of control widgets with Nullable structs, Facepunch/sbox-issues#5984 Spruce up PropertySheetPopup, disable position cookies so they always appear closer to the action
4 Months Ago
Revert formatting this entire file Add missing ctor Can export without having to disable whitelist Don't need loads of warnings here, people can read Unify terminology, icons
4 Months Ago
Added `Widget.IsDescendantOf` and `Widget.IsAscenstorOf` Check if widget is a descendant of the focused widget when invoking shortcuts NRE fixes Don't invoke shortcuts if the focused widget is an input field Remove hack to call F1-F12 binds in the editor. Make F6 Editor Shortcut to replace F6 bind.
4 Months Ago
Add AG nodes to find objects by name https://files.facepunch.com/ziks/2024-07-30/Pj8i1MXoJx.png
4 Months Ago
Add start delay to particles
4 Months Ago
Expose network accessor to ActionGraph
4 Months Ago
Add preview icon to clothing resources in the asset browser
4 Months Ago
Squash game-exporting branch Bring everything up to date Exit whole app in standalone mode Export option in Project menu CMaterialSystem2AppSystemDict uses struct for initialisation instead of parameters Custom steam app ID for standalone games Put steam appid field here for now - we might wanna rethink this later though would help if I labelled this correctly Init steamclient in standalone Explicit copy sounds Reject API access in Standalone (we should probably dependency inject this stuff, it'd be cleaner) Slightly better time estimate Generate .ico from thumbnail, try changing it on the exe Can't get this working no matter what, just corrupts the exe header, disable it Use correct exit function Get networking working, even if it's a bit hacky Move API into backends for standalone/platform, stub out standalone backend Standalone.Init() Get rid of LoadStandaloneGameAsync, roll diff into LoadGamePackageAsync Make a StandaloneGameInstance in standalone Remove all these file hacks so I'm forced to do something to fix them Fix file hacks Add missing sbox-standalone exe back to sln We only need to copy core/scripts/soundmixers.txt as far as I know Move gamecontrollerdb.txt into core/cfg/ Get rid of `IsCitizenEnabled` hack Don't override window title with gameinfo name, apply it nice and early when making app dict Can't think of any other way to filter out citizen assets, cuts down build by 1.8gb(!) so we'll have to live with this for now Copy all compiled assets from enabled addons again, because sometimes they'll be referenced at runtime even though they're not in a dependency tree Rebase fixes Standalone config / wizard changes: - Can either export standalone or publish to sbox.game, but not both - Add dialog warning about no whitelist, sbox.game access - Export step is similar to sbox.game upload rather than being its own thing - Tell people not to distribute their games or anything - Remove AppID, Icon entries for now Remove logs Respect desired executable name Delete IconChanger, it don't work
4 Months Ago
Strip the Shortcut class from EditorShortcuts altogether, reducing bloat and fixing widget focus issues. Pulled ShortcutType enum outside of ShortcutAttribute class.
4 Months Ago
Delete IconChanger, it don't work
4 Months Ago
Fix SceneCamera.GetFrustum for ortho cameras Breaking change, but fixes incorrect behaviour Fixes Facepunch/sbox-issues#5999
4 Months Ago
Stop opening scenes overriding other tabs' camera locations, fixes Facepunch/sbox-issues#5929
4 Months Ago
Add Gizmo.Draw.LineFrustum Use Gizmo.Draw.LineFrustum in CameraComponent.DrawGizmos Facepunch/sbox-issues#5999
4 Months Ago
Fix wrong delta for movement snap making 2d drag go all weird, fixes Facepunch/sbox-issues#5981
4 Months Ago
Mark Editor.Option.Shortcut as [Obsolete], telling users to use Editor.Option.ShortcutName instead GlobalKeyPressed now passes KeyEvent instead of key int Added KeyEvent.Name which returns the name of the key pressed based on it's KeyCode and NativeKeyCode
4 Months Ago
If the benchmark can't access the backend, just quit (like if azure is down)
4 Months Ago
Fix crash from trying to upload too many envmaps to the GPU, missing range check but also why are there this many envmaps being binned @samzanemesis
4 Months Ago
This caused more problems than it solved Default sort to popular, matches backend
4 Months Ago
Fix Module.ResolveType for ByRef types Caused fast hotload to fail for some methods
4 Months Ago
Close package modal if we try to open the same one again
4 Months Ago
Hide library projects from template list
4 Months Ago
Fix being unable to fullscreen editor windows when there is no open console window, fixes Facepunch/sbox-issues#5974
4 Months Ago
Add ToString / GetHashCode nodes https://files.facepunch.com/ziks/2024-07-30/6SrcmglJqF.png
4 Months Ago
Fix package caching in other thread errors When copying project template files, allow overwrite Warn if couldn't make cookies backup
4 Months Ago
Remove unused Remove unused Remove dbghelp.dll from bin folder, see how much chaos it causes
4 Months Ago
Add volume to VideoPlayer.Audio
4 Months Ago
Dispose sound handle before deleting managed audio source
4 Months Ago
Revert "Create a CallbackBatch around Udpate/FixedUpdate/Start, so inner calls don't create their own, and callbacks all get called at the end" This reverts commit 7dd50b001d043165f5389e4dcb64e8fcbc6faabd. Revert "Make CallbackBatch 'safer' by making it always require a scene" This reverts commit f3fdd37d24ebbaf66cbb92b47582e6a12a559532. Re-apply OnPropertyDirty fixes
4 Months Ago
It's probably wise to dispose the sound handle of video player when we're done with it
4 Months Ago
Allow videoplayer audio to set target mixer
4 Months Ago
Make sure audio plays for video player when playing through URL. Add audio accessor to video player to configure audio playback
4 Months Ago
Shadergraph: Add toolbar option to open generated shader
4 Months Ago
Create bone objects for all bones, don't try to filter them out - we just need a better way of filtering out "unimportant" bones for the bone gizmos