reposboxcancel

17,179 Commits over 1,308 Days - 0.55cph!

1 Year Ago
Only add events on retail Don't hotload/etc compiled assemblies that we've already hotloaded Client only reload assemblies that have changed No need to re-verify assemblies that we've already verified Parallel thread .cs reads Cleaner Generators Clean compilegroup/compiler thread stuff Entity.FindByIndex<T> just return null if can't cast to right type Fix test TypeLibrary hunch speedups Don't do GC during server addon loading Include editor sounds so everyone gets annoying compile sounds Hotload manager use its own logger Include compiled shaders on server Disable AC optimization (it's not filling the resolver in propertly)
1 Year Ago
Squashed commit of the following: commit abde76e295233d5016231a15e3eae7d17e50a79a Author: James King <james.king@facepunchstudios.com> Date: Mon Dec 12 16:39:43 2022 +0000 Fixed finding substitutions for generic parameters commit 44dd2550bcc88feff936ea770e8ed78a0f930599 Author: James King <james.king@facepunchstudios.com> Date: Mon Dec 12 14:16:08 2022 +0000 AreEquivalentTypes(old, new) refactor commit 3d50bd934dac1a96962c5bdc4571bc2959e73f8e Author: James King <james.king@facepunchstudios.com> Date: Mon Dec 12 14:15:44 2022 +0000 Fixed AreEqualTypes when exactly one param is null commit 4aa2e90f38ca7c5a31ffbd426e68468c33613328 Author: James King <james.king@facepunchstudios.com> Date: Mon Dec 12 14:02:15 2022 +0000 Organised and documented delegate hotloading tests commit f0ecfff2f59fbe84d67542077e60dccdd6cbdb2e Author: James King <james.king@facepunchstudios.com> Date: Mon Dec 12 12:34:34 2022 +0000 Added failing generic delegate test commit 9813c1b43ec3aa0400071c5597f5494f9809bcad Author: James King <james.king@facepunchstudios.com> Date: Fri Dec 9 12:07:16 2022 +0000 GetNewType consistency Now returns null to mean a substitution couldn't be found commit bd4602be39855f0726d67fbca3455b53f4ea1a7f Author: James King <james.king@facepunchstudios.com> Date: Fri Dec 9 11:37:46 2022 +0000 Fix upgrading lambda display class instances that are found in the wild commit a39847fea77570d4c6651ca22b03484e386b83f2 Author: James King <james.king@facepunchstudios.com> Date: Thu Dec 8 19:25:10 2022 +0000 Fixed ResolveMethod() with a static constructor ref commit 34e54eab8089083f03c013d1133c1395bf97ee4d Author: James King <james.king@facepunchstudios.com> Date: Thu Dec 8 19:24:13 2022 +0000 Fixed IsMatchingType(typeRef, type) with nested types commit 5a0725c233052d8a1941bb7bd724340557fba534 Author: James King <james.king@facepunchstudios.com> Date: Thu Dec 8 19:22:47 2022 +0000 Stop expecting every method to have a scope ordinal commit e806ebdfc172436ad22395be5633188fe6e7aeb6 Author: James King <james.king@facepunchstudios.com> Date: Thu Dec 8 18:54:26 2022 +0000 Fixed finding scope method ordinals of static constructors commit a23782634226ac1965db29d6e0ecf79431a982ee Author: James King <james.king@facepunchstudios.com> Date: Thu Dec 8 18:49:21 2022 +0000 Failing hotload tests for lambdas in static constructors commit f4bf0f1db69a284939f5c89e98fa9e633a4d0bb1 Author: James King <james.king@facepunchstudios.com> Date: Thu Dec 8 17:26:30 2022 +0000 Cleanup commit 65193611b12b547bf794893bbd9128fa369de58b Author: James King <james.king@facepunchstudios.com> Date: Thu Dec 8 17:25:30 2022 +0000 Implemented a simple assembly resolver for Tools Allows hotload to make more valid substitutions commit 585bcbe6ee4dc7069704698cd64640f3e239744a Author: Matt Stevens <matt@mattstevens.co.uk> Date: Mon Dec 12 18:40:06 2022 +0000 Add -noamsi command line parameter for testing commit 0403c9883f16ecf9bb4cce413c8ed98643f6f1ec Merge: 7471387c3f 16cbcf8ec4 Author: EzMeowFP <ezmeow@facepunchstudios.com> Date: Tue Dec 13 02:29:15 2022 +0900 Merge branch 'master' of sbox commit 7471387c3f43448c4691ba4402d8bd90d32f3d43 Author: EzMeowFP <ezmeow@facepunchstudios.com> Date: Tue Dec 13 02:29:08 2022 +0900 props updates - disabling baking light on some asset in the prefabs - moved aircon and trash bin breakable piece to embed, adjusted placement/pivot of the gibs - dirt pass on dead end road sign/material - collider/ Lod adjustment commit 16cbcf8ec40c2e738e3c257b599dbc5c5500b97c Author: Maxime Lebled <ml.maxofs2d@gmail.com> Date: Mon Dec 12 17:07:17 2022 +0100 Recompiled content under /addons/citizen/ commit fc407123ec9fb3a6349d2defff3d3cccfb5b4f96 Author: Matt Stevens <matt@mattstevens.co.uk> Date: Mon Dec 12 15:18:07 2022 +0000 Revert "Only create resource dependency on texture .meta if it exists" This reverts commit 55e57df69e0f6335962a5923ef956b658e9e7393. commit 55e57df69e0f6335962a5923ef956b658e9e7393 Author: Matt Stevens <matt@mattstevens.co.uk> Date: Mon Dec 12 15:09:28 2022 +0000 Only create resource dependency on texture .meta if it exists commit ab33d75d66d1940b796952e196832a627670f294 Author: Maxime Lebled <ml.maxofs2d@gmail.com> Date: Mon Dec 12 15:53:50 2022 +0100 Taken delivery of crate. commit 50ed28d7a4e956aa73b82ce2216e468d0967046d Author: Garry Newman <garrynewman@users.noreply.github.com> Date: Mon Dec 12 14:22:27 2022 +0000 Diagnostic event for start to end code iteration timings commit d85cf33d5baffad2a7fad0c742ae9d2614756799 Author: Garry Newman <garrynewman@users.noreply.github.com> Date: Mon Dec 12 13:32:01 2022 +0000 TypeLibrary logging commit e8d624c100f114a2aee43a3ab751a6a8f08677c4 Author: Garry Newman <garrynewman@users.noreply.github.com> Date: Mon Dec 12 13:14:48 2022 +0000 Logging in CompileGroup commit 937e1bd03110d606c6864f6e6a5b161fad738e64 Author: DanduwFP <daniel@facepunchstudios.com> Date: Mon Dec 12 14:18:57 2022 +0000 Adjustments to Clothing AO Pretty much just been adjusting the ao in the material editor so the AO shows up abit more nicely on some clothing pieces. Crate has been delivered. commit 44079b86d852692fbeef7cef1af27a876bfc20fc Author: Garry Newman <garrynewman@users.noreply.github.com> Date: Mon Dec 12 12:26:50 2022 +0000 Add logging menu to editor, can switch Trace/Detailed logging on https://files.facepunch.com/garry/88a623bf-7fcd-4245-bf05-13ae6da6f5d9.png commit f997317d22ca3cbab92561201bd19ed0f243a170 Author: Garry Newman <garrynewman@users.noreply.github.com> Date: Mon Dec 12 12:24:26 2022 +0000 Add names for other runtime textures to aid debugging commit 618c92339120f9bd933f76bcd2e936e92b1bdc6b Author: Garry Newman <garrynewman@users.noreply.github.com> Date: Mon Dec 12 12:23:46 2022 +0000 SkiaTextBlock will update the texture instead of disposing and creating a new one commit 397dc8b7469c62edc5ba9ffe4716197c110238c3 Author: Garry Newman <garrynewman@users.noreply.github.com> Date: Mon Dec 12 12:20:41 2022 +0000 Texture.Update doesn't crash with wrong sized data, can update the first mip only, will generate the other mipmaps if only updating the first mip commit 7b447de6ed76adb7252cab9ffa6d31861182e1c9 Author: Garry Newman <garrynewman@users.noreply.github.com> Date: Mon Dec 12 09:57:28 2022 +0000 Remove the rest of the log tags commit 2f2a2b867e6aecda3797f1042b63b7a53938be71 Author: Garry Newman <garrynewman@users.noreply.github.com> Date: Mon Dec 12 09:32:04 2022 +0000 Remove log tags commit fc42fd0f0a8378eb3cbcfb950156ee6e358fb7e0 Author: Tony Ferguson <devultj@gmail.com> Date: Sun Dec 11 23:36:45 2022 +0000 Made DamageInfo.Tags public
1 Year Ago
Implemented a simple assembly resolver for Tools Allows hotload to make more valid substitutions Cleanup Failing hotload tests for lambdas in static constructors Fixed finding scope method ordinals of static constructors Stop expecting every method to have a scope ordinal Fixed IsMatchingType(typeRef, type) with nested types Fixed ResolveMethod() with a static constructor ref Fix upgrading lambda display class instances that are found in the wild GetNewType consistency Now returns null to mean a substitution couldn't be found Added failing generic delegate test Organised and documented delegate hotloading tests Fixed AreEqualTypes when exactly one param is null AreEquivalentTypes(old, new) refactor Fixed finding substitutions for generic parameters
1 Year Ago
Add -noamsi command line parameter for testing
1 Year Ago
Move Hammer attributes to Editor.MapEditor Delete AutoGenerateAttribute - unused Delete DebugOverlayAttribute.cs - empty file Clean up entities to not use LibraryAttribute Cleanup DevCam namespaces
1 Year Ago
props updates - disabling baking light on some asset in the prefabs - moved aircon and trash bin breakable piece to embed, adjusted placement/pivot of the gibs - dirt pass on dead end road sign/material - collider/ Lod adjustment Merge branch 'master' of sbox
1 Year Ago
Fixed AreEqualTypes when exactly one param is null AreEquivalentTypes(old, new) refactor Fixed finding substitutions for generic parameters
1 Year Ago
Recompiled content under /addons/citizen/
1 Year Ago
Revert "Only create resource dependency on texture .meta if it exists" This reverts commit 55e57df69e0f6335962a5923ef956b658e9e7393.
1 Year Ago
Only create resource dependency on texture .meta if it exists
1 Year Ago
Taken delivery of crate.
1 Year Ago
Logging in CompileGroup TypeLibrary logging Diagnostic event for start to end code iteration timings
1 Year Ago
Adjustments to Clothing AO Pretty much just been adjusting the ao in the material editor so the AO shows up abit more nicely on some clothing pieces. Crate has been delivered.
1 Year Ago
Added failing generic delegate test Organised and documented delegate hotloading tests
1 Year Ago
Moved to /core
1 Year Ago
Remove log tags Remove the rest of the log tags Texture.Update doesn't crash with wrong sized data, can update the first mip only, will generate the other mipmaps if only updating the first mip SkiaTextBlock will update the texture instead of disposing and creating a new one Add names for other runtime textures to aid debugging Add logging menu to editor, can switch Trace/Detailed logging on https://files.facepunch.com/garry/88a623bf-7fcd-4245-bf05-13ae6da6f5d9.png
1 Year Ago
Implemented a simple assembly resolver for Tools Allows hotload to make more valid substitutions Cleanup Failing hotload tests for lambdas in static constructors Fixed finding scope method ordinals of static constructors Stop expecting every method to have a scope ordinal Fixed IsMatchingType(typeRef, type) with nested types Fixed ResolveMethod() with a static constructor ref Fix upgrading lambda display class instances that are found in the wild GetNewType consistency Now returns null to mean a substitution couldn't be found
1 Year Ago
Prefab copies
1 Year Ago
Made DamageInfo.Tags public
1 Year Ago
Copied working files to new addon + new rig + testing/debug stuff
1 Year Ago
Strip out built in noclip Devcam cleanup PackageExtensions to SandboxGameExtensions Transform.ConcatTransforms => Transform.Concat Move GameServices to Sandbox.Internal Organize base extensions into one class Move Assert to Sandbox.Diagnostics NullChecks => SandboxGameExtensions Move internal EntityUtility to OOBChecks Move DevCam stuff to Sandbox.UI.DevCam from Sandbox Move Sandbox.MenuEngine.FileSystem.OpenFileDialog to Sandbox.MenuUtility.OpenFileDialog Rename Sandbox.FileSystem in System.Tools to Editor.FileSystem Move Sandbox.IMenuAddon to Sandbox.Internal and make it an interface Added "Animation Speed" property to prop_animated Implement prop_data SpawnMotionDisabled Use prop_data.SpawnMotionDisabled for parking_barrier first gib PackageExtensions to SandboxGameExtensions Transform.ConcatTransforms => Transform.Concat Move GameServices to Sandbox.Internal NullChecks => SandboxGameExtensions Move internal EntityUtility to OOBChecks Move DevCam stuff to Sandbox.UI.DevCam from Sandbox Move Sandbox.MenuEngine.FileSystem.OpenFileDialog to Sandbox.MenuUtility.OpenFileDialog Rename Sandbox.FileSystem in System.Tools to Editor.FileSystem Move Sandbox.IMenuAddon to Sandbox.Internal and make it an interface Revert "Move DevCam stuff to Sandbox.UI.DevCam from Sandbox" This reverts commit e084b44e963a5ada259328585b83444dfc66d5d0. Merge branch 'rubat-pain-day-2' of sbox into rubat-pain-day-2 Make Global a real static class, Remove GameService completely (we can take another run at this) Rename Sandbox.Global to Sandbox.Game Remove Rand, add Game.Random Fix devcam scss Delete Host, move everything to Game Remove Client, replace with IClient, Client.All is now Game.Clients Move Local.UserPreference to Game.Preferences Remove 'Local', all moved to Game Moved everything from Map. into Game. and deleted Map Merge branch 'master' into engine-refactor-3 protocol++ Add filtering to params https://files.facepunch.com/layla/1b1011b1/sbox_w3t6TA9lNr.mp4 Clear animgraph resource loaded dict like we do with other resources Add ParticleSystem resource class so they can be referenced in game resources like any other resource Allow creating SceneParticles from particle system resource Dedicated server fixes MapSchema experiment (unexposed) Re-add ResetMap, HammerID is a string Protocol++ (sorry, HammerId forced it) Remove Entity.IsClient, Entity.IsServer (just add Game. in front of them) Don't need special checks for IClient anymore in netcode, because it's an IEntity IClient and IEntity can be [Net] Fix fallback shaders pointing to their deprecated counterparts, fixes ToolsShadingComplexity for the upcoming debug views refactor Much better directional ao falloff curve Use same AO directionality filter path on lightmapped materials to fix backface bleed Fix remaining .vfx references in code Merge branch 'master' into sausageman-sucks
1 Year Ago
Cleanup & move glow component to base Initial work for SDF glows https://files.facepunch.com/ognik/1b2611b1/sbox-dev_ulizyuqJD0.jpg remove useless imports Drop our floor steps, 11 seems to be good enough from what I can tell? Fix glow for pain day, time to start trimming ✂️
1 Year Ago
Fix fallback shaders pointing to their deprecated counterparts, fixes ToolsShadingComplexity for the upcoming debug views refactor Much better directional ao falloff curve Use same AO directionality filter path on lightmapped materials to fix backface bleed Fix remaining .vfx references in code
1 Year Ago
Don't need special checks for IClient anymore in netcode, because it's an IEntity IClient and IEntity can be [Net]
1 Year Ago
Dedicated server fixes MapSchema experiment (unexposed) Re-add ResetMap, HammerID is a string Protocol++ (sorry, HammerId forced it) Remove Entity.IsClient, Entity.IsServer (just add Game. in front of them)
1 Year Ago
Add ParticleSystem resource class so they can be referenced in game resources like any other resource Allow creating SceneParticles from particle system resource
1 Year Ago
Clear animgraph resource loaded dict like we do with other resources
1 Year Ago
Add filtering to params https://files.facepunch.com/layla/1b1011b1/sbox_w3t6TA9lNr.mp4
1 Year Ago
1 Year Ago
Strip out built in noclip Devcam cleanup PackageExtensions to SandboxGameExtensions Transform.ConcatTransforms => Transform.Concat Move GameServices to Sandbox.Internal Organize base extensions into one class Move Assert to Sandbox.Diagnostics NullChecks => SandboxGameExtensions Move internal EntityUtility to OOBChecks Move DevCam stuff to Sandbox.UI.DevCam from Sandbox Move Sandbox.MenuEngine.FileSystem.OpenFileDialog to Sandbox.MenuUtility.OpenFileDialog Rename Sandbox.FileSystem in System.Tools to Editor.FileSystem Move Sandbox.IMenuAddon to Sandbox.Internal and make it an interface Added "Animation Speed" property to prop_animated Implement prop_data SpawnMotionDisabled Use prop_data.SpawnMotionDisabled for parking_barrier first gib PackageExtensions to SandboxGameExtensions Transform.ConcatTransforms => Transform.Concat Move GameServices to Sandbox.Internal NullChecks => SandboxGameExtensions Move internal EntityUtility to OOBChecks Move DevCam stuff to Sandbox.UI.DevCam from Sandbox Move Sandbox.MenuEngine.FileSystem.OpenFileDialog to Sandbox.MenuUtility.OpenFileDialog Rename Sandbox.FileSystem in System.Tools to Editor.FileSystem Move Sandbox.IMenuAddon to Sandbox.Internal and make it an interface Revert "Move DevCam stuff to Sandbox.UI.DevCam from Sandbox" This reverts commit e084b44e963a5ada259328585b83444dfc66d5d0. Merge branch 'rubat-pain-day-2' of sbox into rubat-pain-day-2 Make Global a real static class, Remove GameService completely (we can take another run at this) Rename Sandbox.Global to Sandbox.Game Remove Rand, add Game.Random Fix devcam scss Delete Host, move everything to Game Remove Client, replace with IClient, Client.All is now Game.Clients Move Local.UserPreference to Game.Preferences Remove 'Local', all moved to Game Moved everything from Map. into Game. and deleted Map Merge branch 'master' into engine-refactor-3 protocol++
1 Year Ago
protocol++
1 Year Ago
Add GetParameterType, GetParameterName and GetParameter<T> to AnimationGraph Add AnimatedEntity.GetAnimParameterRotation Add editor for animated entity which extends the entity inspector with animgraph parameter inspector https://files.facepunch.com/layla/1b0911b1/sbox-dev_hLHvjjjIWi.mp4 alphabetic sort on params Merge branch 'master' into engine-refactor-3
1 Year Ago
Moved everything from Map. into Game. and deleted Map
1 Year Ago
Move Local.UserPreference to Game.Preferences Remove 'Local', all moved to Game
1 Year Ago
Remove Client, replace with IClient, Client.All is now Game.Clients
1 Year Ago
Let high quality reflections propagate to all user shaders optionally since we can just check if a feature even exists now
1 Year Ago
F_ADDITIVE_BLEND is no longer mandatory for shaders Trim a lot of features needed to be included, they're now optional instead of forced! Last one left is morph, still need to do some work to get rid of that one! https://files.facepunch.com/ognik/1b1011b1/sbox-dev_r0eCOvInhu.png
1 Year Ago
Delete Host, move everything to Game
1 Year Ago
Remove Rand, add Game.Random Fix devcam scss
1 Year Ago
Make Global a real static class, Remove GameService completely (we can take another run at this) Rename Sandbox.Global to Sandbox.Game
1 Year Ago
Update all shaders
1 Year Ago
Fixed ConditionalWeakTableUpgrader Handles the case where oldInstance == newInstance, or if the collection gets modified while being processed Simplify JsonSerializerOptionsUpgrader Directly process JsonConverters inside existing JsonSerializerOptions, without creating a new instance. Handles case where we can't create a new instance, and the options aren't mutable. Also make sure we process static fields in System.Text.Json assembly. Possible fix for #640 Add some more easy hotload skips to save a few milliseconds JsonSerializerOptionsUpgrader .NET 7 fixes Log path to instance when a hotload error occurs Some nicer paths for items in common collections Replace TypeDescription / MemberDescription instances during swap Tests for TypeDescription / MemberDescription replacing Make hotload tests more strict Warn when encountering delegates that can't be upgraded Even simpler way to clear System.Text.Json cache on hotload Readonly field hotload test Trace instance paths when doing hotload tests Stop watching System.Text.Json since we're clearing its cache now Ignore LiteDB types during hotload Merge remote-tracking branch 'origin/master' into hotload-fixes Get rid of soon-to-be-unused "context" arg in OnTryCreateNewInstance Some more permutations of lambda method types Big DelegateUpgrader rewrite * A lot more careful about matching generated methods that change name * Fixed case where swapping unchanged code would substitute in the wrong lambda method * Now replace lambdas we can't find a match for with one that throws a helpful error (before they would become null) Easy case for delegate methods from non-swapped assemblies Failing delegate swap involving same-named methods Strategies for fixing HotloadTests.Delegate11 Split DelegateUpgrader up, mocked up same-named scope method solution Refactor to assume we have Mono.Cecil, WIP method resolution Fixed HotloadTests.Delegate11 Hotload message type consistency Warning: non-fatal, but recommend reloading the game Error: something went wrong that we should fix Fixed resolving nested type definitions Merge remote-tracking branch 'origin/master' into hotload-fixes Failing test for lambdas with a generator context method Fixed upgrading lambdas with a generator context method Tests for finding definitions of methods involving generic parameters More generic type / method fixes in hotload Added failing test for handling removed lambda with a return type Test case for nested lambdas Fixed generating error delegate if original lambda had a return type Some more test cases for upgrading delegates Fixed resolving multi-dimensional array parameter methods ByRef and async method tests Fixed resolving method definitions with ByRef parameters Support for upgrading lambdas defined in async methods More array and ByRef fixes Type equivalence fixes Vector2.Dot returns float Vector3.Equals doesn't use AlmostEqual, but the == and != operators do Move a bunch of stuff from Client to IClient, PlayerId is now SteamId Client.Pawn is an IEntity Game becomes GameController, added Sandbox.Game namespace Move stuff from GameController to BaseGameController where possible Remove Sandbox.Hooks Rename CameraMode to CameraComponent Make CameraSetup internal Delete FixedCamera.cs Delete LookAtCamera.cs Obsolete [UseTemplate] so we appreciate the scope of removing it Move Event.Frame to Event.Client.Frame, add ToolEvent.Frame Add Event.Client.PreCamera, PostCamera Move Event.BuildInput to Event.Client.BuildInput Move default BuildInput to internal BaseGameController Rename files to match new classnames GameController becomes GameManager Apparently MakeArrayType( 1 ) != MakeArrayType() We can skip cached lambda instances now They'll still get upgraded if they're referenced in a non-cache field somewhere Merge remote-tracking branch 'origin/master' into hotload-fixes Delete CameraSetup Delete CurrentView Use Map.Camera in place of CurrentView Remove dof and motionblur from ViewDesc Removed Sandbox.Hooks obsolete code Moved VoiceSpeaker, VoiceEntry, VoiceList to Sandbox.UI namespace, removed Style.Dirty usage Tools: Remove Utility.RunCommand, replace with ConsoleSystem.Run (to match Sandbox.Game) Replace tools addon usage of Utility.RunCommand Delete BrushEntity.Solid (was obsolete) SurroundingBoundsType.Obb => SurroundingBoundsType.OBB Use RangedFloat in SoundEvent resource This change will make existing assets lose their PitchRandom/VolumeRandom until updated Move GlobalRpcHandler to Sandbox.Internal Make Sound.Index internal Hide Prediction.CommandsAcknowledged/LastExecutedPacketNum Move QTextBlock to Tools namespace Rename ModelDoc namespace to Sandbox.ModelEditor Also moved all ModelDoc node classes to Sandbox.ModelEditor.Nodes Renamed ModelDocAttributes.cs to ModelEditorAttributes.cs Delete Sandbox.ConstantBuffer (obsolete & unused) Delete TriggerHurt and TriggerTeleport (obsolete aliases) Delete TriggerMultiple.Wait (obsolete alias) Delete ModelBreakPiece.CollisionGroupOverride (obsolete) Delete CameraMode.DoFPoint/DoFBlurSize (obsolete) Add Local.UserPreference.DefaultFieldOfView Remove unused properties of Sandbox.Water EnableShadows/EnableFog/EnableRefraction Fixed main SceneCamera not controlling the render properly Remove SharedRendering/SetDevLayer hack Delete more obsoletes Deleted PhysicsWorld.IsPointWater Deleted Sandbox.Component.Glow.Active/RangeMin/RangeMax Deleted FogStength from all light entities Deleted OrthoLightEntity.UseFogNoShadows Deleted Global.IsDedicatedServer/PhysicsSubSteps/PhysicsTimeScale Deleted ScenePanel.CameraPosition/CameraRotation/FieldOfView/AmbientColor/ClearColor/ZNear/ZFar/DisablePostProcessing/SceneAttributes Delete CameraComponent DevCamera tweaks Convert GameIcon & Home to razor Loading screen to razor Remove FriendLine html template Remove Map.Camera, add global Camera Don't use EyeRotation for view angles - because it's laggy and fucked and I'm gonna remove it Remove Entity.,EyePosition, Entity.EyeRotation, Entity.EyeLocalPosition, Entity.EyeLocalRotation, Added Entity.GetAimRay() Delete StandardPlayerAnimator, PawnAnimator Fix monitor rendering in vr https://i.imgur.com/RxCVQ2h.png Refactoring Cleaning Notes for future Remove unsued Merge remote-tracking branch 'origin/pain-day-rubat1' into engine-refactor-1 Rename SurroundingBoundsType.OBB to SurroundingBoundsType.Object, comment out unused Remove now unused constant buffer binds Defaults for main camera Matched the volume of the grass footstep sound to match the rest Minimal template fixes Reduce default vertex size Move some stuff from base addon into the game dll protocol++ Add prediction tolerance to m_vecOrigin Split base and compiled assembly again Only compile base addon if we're a runtime game Remove debug Fix soundscape NRE Fix PanelList overflow Add support for TSPEC_USE_TYPED_IMAGEFORMAT back, video encoding needs this unfortunately Do not display "Recompile" option for assets that can't be recompiled Not Upload => Pending Upload Added "Copy Asset Path" to context menu in asset.party asset browser Also made "Copy Path" for local assets copy the correct extension Remove rest of fov hacking code, add Screen.CreateVerticalFieldOfView Always add "Compile" option for shader asset type Update TransformTest.cs Fix Gamemode download unit test to use new assembly schema Disable tests that are too much work to get working yet Only suppress texture deletion and not texture loading during managed render layers, fixes hangs Don't allow LocalScale < 0 Don't complain about TaskCanceledException on game shutdown Add Copy To Clipboard button to Stack property Add facepunch.unicycle_frenzy to test Lets mark a bunch of stuff as obsoleted so people aren't surprised Set default FOV back Merge pull request #669 from Facepunch/engine-refactor-1 orgs/sboxgame/discussions/2652 Clarify Camera.FieldOfView is vertical and Screen.CreateVerticalFieldOfView converts horizontal -> vertical SceneCamera.IsOrtho is SceneCamera.Ortho fix normal on pavement material/ asset cleanup Merge branch 'master' of sbox Add a couple of events to [ToolEvent.MapEditor] for discoverability Camera.FieldOfView is actually horizontal and not vertical 😳 Convert DevCamera ui to razor Local.PlayerId -> Local.SteamId Make PerformanceStats.Timings.History use a circular buffer, this was starting to take a small amount of time as we collected more and more perf stats Only default VR.Anchor to Local.Pawn.Transform unless it's been explicitly set from a game - that way games can set VR.Anchor whenever and whereever they want Add version to events Add defaults for znear/zfar, so if games don't mess they'll be fine. Add comments with suggested values. Merge pull request #668 from Facepunch/hotload-fixes Hotload Maintenance Merge branch 'master' into pain_day Load the packaged dlls in a determinate order Assure Base Runtime is available when loading a runtime game Add an assembly manifest to addons so we don't need the hack in the future when we let people add more assemblies Don't generate resource for any shaders that fail to compile Merge remote-tracking branch 'origin/pain_day' into engine-refactor-2 Move DebugOverlayAttribuite to Event.Debug.Overlay Update GameDebug.cs "getpos" runs clientside, uses Camera.Position, Camera.Rotation - fixes inaccurate values being reported. Removed cl_showpos Remove Entity WaterLevel + WaterEntity Protocol++ Fix some warnings Pressing ESC in asset picker closes it Hide EntityComponentAccessor, make component system interface based, accessible on IEntity (from tools etc) Clear that up, add some extensions to get water level easier Remove PhysicsBody.WaterLevel Show components in Entity list TypeLibrary.GetDescription becomes TypeLibrary.GetType Hammer remote packages use new .bin path, remove all the legacy support Parallelize MapClass parsing Add a "New Shader.." button in the asset browser Make AssemblyInitialize internal Remove ApplicationTimings BBox's "center" constructor takes an optional size argument Input.AnalogLook and Input.AnalogMove are accessible serverside like everthing else in Input Use CircularBuffer for InputHistory Make Input serverside asserts a bit more clear Fix SoundEvent using the max value when not supposed to Breakables follow animations when attached to a bone Adds Model.GetBoneTransform. Transform.RotateAround, Transform.ConcatTransforms Add ability for AnimatedMapEntity to be breakable Follows the same rules as normal props/door models Update Parking Barrier prop to use embedded break pieces Remove this ancient source behaviour we've been keeping around that amplifies the Input.AnalogLook pitch by 1.5 Remove env_tonemap_controller, Remove EnginePostProcess, Remove ITonemapEntity, make SceneTonemapParameters internal Warning fixes SandboxEditor becomes Editor Rename Tools to Editor ToolEvent to EditorEvent Can change visibility of Razor created panels using @visibility https://files.facepunch.com/garry/ba7154d8-e33c-4ce8-b799-09ad82dc8d17.png Move PhysicsJoint, CollisionRules, PhysicsSettings to Sandbox.Physics props update adding rig/ animation to aircon / fix bad naming convention adding meta data for some props tweaked wall_vent LOD tweaked LOD distance on some props to something useful removing old tree model Move Sandbox.Easing to Sandbox.Utility.Easing Move PerformanceStats to Sandbox.Diagnostics Put CircularBuffer in Sandbox.Utility Flatten all the extension classes to per-assembly classes Move Logger to Sandbox.Diagnostics, making Logging internal Make Sandbox.TextureLoader.Image internal Delete AboutDialog Move Task related stuff to Sandbox.Tasks Move Noise to Sandbox.Utility Squashed commit of the following: commit 9f84591e8130aa00e90d4ea6a6ceab96a0860585 Author: Tony <devultj@gmail.com> Date: Mon Nov 14 14:16:54 2022 +0000 Update Water and VoxelChunk to use tags commit e178470dbc3917cf3b5321c3326a69e2726dfd1a Author: Tony <devultj@gmail.com> Date: Mon Nov 14 14:08:32 2022 +0000 Refactor DamageInfo to use tags instead of flags - Obsolete DamageFlags, DamageInfo.Flags, DamageInfo.WithFlag, DamageInfo.Explosion - Add DamageInfo.FromExplosion, DamageInfo.WithTag, DamageInfo.HasTag - Replaced all obsolete flag usage with new tag usage Completely remove DamageFlags Minimal addon correct fov calculation Move glow component to addon code Don't switch loading screen to addons Remove further obsoletes Merge branch 'master' into engine-refactor-2 Fixed writing null strings Merge branch 'master' of github.com:Facepunch/sbox Merge fixes Merge branch 'master' into engine-refactor-2 engine-refactor-2 Engine refactor 2 added animation to the aircon assets to replace the map prefabs Fix VR.Anchor not setting anchor angles Fixed console key not working in editor Added "Animation Speed" property to prop_animated Implement prop_data SpawnMotionDisabled Use prop_data.SpawnMotionDisabled for parking_barrier first gib Add GetParameterType, GetParameterName and GetParameter<T> to AnimationGraph Add AnimatedEntity.GetAnimParameterRotation Add editor for animated entity which extends the entity inspector with animgraph parameter inspector https://files.facepunch.com/layla/1b0911b1/sbox-dev_hLHvjjjIWi.mp4 alphabetic sort on params Merge branch 'master' into sausageman-sucks
1 Year Ago
alphabetic sort on params
1 Year Ago
Add GetParameterType, GetParameterName and GetParameter<T> to AnimationGraph Add AnimatedEntity.GetAnimParameterRotation Add editor for animated entity which extends the entity inspector with animgraph parameter inspector https://files.facepunch.com/layla/1b0911b1/sbox-dev_hLHvjjjIWi.mp4
1 Year Ago
PackageExtensions to SandboxGameExtensions Transform.ConcatTransforms => Transform.Concat Move GameServices to Sandbox.Internal NullChecks => SandboxGameExtensions Move internal EntityUtility to OOBChecks Move Sandbox.MenuEngine.FileSystem.OpenFileDialog to Sandbox.MenuUtility.OpenFileDialog Rename Sandbox.FileSystem in System.Tools to Editor.FileSystem Move Sandbox.IMenuAddon to Sandbox.Internal and make it an interface
1 Year Ago
Added "Animation Speed" property to prop_animated Implement prop_data SpawnMotionDisabled Use prop_data.SpawnMotionDisabled for parking_barrier first gib PackageExtensions to SandboxGameExtensions Transform.ConcatTransforms => Transform.Concat Move GameServices to Sandbox.Internal NullChecks => SandboxGameExtensions Move internal EntityUtility to OOBChecks Move DevCam stuff to Sandbox.UI.DevCam from Sandbox Move Sandbox.MenuEngine.FileSystem.OpenFileDialog to Sandbox.MenuUtility.OpenFileDialog Rename Sandbox.FileSystem in System.Tools to Editor.FileSystem Move Sandbox.IMenuAddon to Sandbox.Internal and make it an interface Added "Animation Speed" property to prop_animated Implement prop_data SpawnMotionDisabled Use prop_data.SpawnMotionDisabled for parking_barrier first gib PackageExtensions to SandboxGameExtensions Transform.ConcatTransforms => Transform.Concat Move GameServices to Sandbox.Internal NullChecks => SandboxGameExtensions Move internal EntityUtility to OOBChecks Move DevCam stuff to Sandbox.UI.DevCam from Sandbox Move Sandbox.MenuEngine.FileSystem.OpenFileDialog to Sandbox.MenuUtility.OpenFileDialog Rename Sandbox.FileSystem in System.Tools to Editor.FileSystem Move Sandbox.IMenuAddon to Sandbox.Internal and make it an interface Revert "Move DevCam stuff to Sandbox.UI.DevCam from Sandbox" This reverts commit e084b44e963a5ada259328585b83444dfc66d5d0. Merge branch 'rubat-pain-day-2' of sbox into rubat-pain-day-2
1 Year Ago
Strip out built in noclip Devcam cleanup Organize base extensions into one class Move Assert to Sandbox.Diagnostics Added "Animation Speed" property to prop_animated Implement prop_data SpawnMotionDisabled Use prop_data.SpawnMotionDisabled for parking_barrier first gib PackageExtensions to SandboxGameExtensions Transform.ConcatTransforms => Transform.Concat Move GameServices to Sandbox.Internal NullChecks => SandboxGameExtensions Move internal EntityUtility to OOBChecks Move DevCam stuff to Sandbox.UI.DevCam from Sandbox Move Sandbox.MenuEngine.FileSystem.OpenFileDialog to Sandbox.MenuUtility.OpenFileDialog Rename Sandbox.FileSystem in System.Tools to Editor.FileSystem Move Sandbox.IMenuAddon to Sandbox.Internal and make it an interface Revert "Move DevCam stuff to Sandbox.UI.DevCam from Sandbox" This reverts commit e084b44e963a5ada259328585b83444dfc66d5d0. Merge branch 'rubat-pain-day-2' of sbox into rubat-pain-day-2
1 Year Ago
Move Sandbox.IMenuAddon to Sandbox.Internal and make it an interface
1 Year Ago
Move DevCam stuff to Sandbox.UI.DevCam from Sandbox Move Sandbox.MenuEngine.FileSystem.OpenFileDialog to Sandbox.MenuUtility.OpenFileDialog Rename Sandbox.FileSystem in System.Tools to Editor.FileSystem
1 Year Ago
PackageExtensions to SandboxGameExtensions Transform.ConcatTransforms => Transform.Concat Move GameServices to Sandbox.Internal NullChecks => SandboxGameExtensions Move internal EntityUtility to OOBChecks