254,391 Commits over 3,990 Days - 2.66cph!
Clean: fixing profiling scope name
Tests: none, trivial change
Standalone: we might need this DLL actually 🙈
Merge from /indirect_instancing to fix build
Fixed battering ram arm not hitting decor colliders
If no entity is hit, it now checks for decor colliders and considers them valid targets, triggering impact effects/animations etc
Toned down the collision damage
Update: FinalzieTickParallel now uses batched WaterFactors query
- had to add more fork-join-style code to deal with batching
This allows us to sample water information for all relevant players as a burst job (and there's further untapped potential). Next up is trying to batch and jobify physics checks.
Tests: played in a solo session with parallel processing enabled - running, driving, swimming worked normal. Played back all of my server demos with analysis enabled - no new violations detected.
Prevent tigers from being too easily stunlocked by fast firing weapons
Remove TypeKey from EditorShortcuts and use Type instead of string as key.
EditorShortcuts will now resolve shortcuts in parent classes. Resolves Facepunch/sbox-issues#7531
Bugfix: use the right allocator for a waterlevels batch
- This revealed that we have an Application.isPlaying check that prevented this from being detected via unit tests
Tests: ran unit tests (but they're useless in this case), ran all demos that use the new code(yet to submit) - no more exceptions
Merge from .../fix_texture_streaming
UI for changing clip / saving to file / switching to embedded
https://files.facepunch.com/ziks/2025-02-06/sbox-dev_mZYofSVKYz.mp4
Experiment: Set streaming mipmaps memory budget as a percentage of available VRAM, rather than calculate it based on texture load.
▇▇█▌▉▋▋▅▌ ▄▇▇▍▅ █▆▄▌▆▋█ ▉▊▄▇▊█
properly force resetting player entity rotation and view angles for remote players when dismounting
Beehive now stings you if you take honeycomb
exported tiger vm kill and run hit additive anims
Continued work on zigg exterior. Desaturated couple of test textures slightly. Minor set dressing.
▋▌▍▋▇▇▉▊▆ ▆▋██▉ ▍▄▍▋▅▌▋ ▆▋▇▌█▅
Test reproducing Facepunch/sbox-issues#7443
Scene.Load: deserialize component properties before network spawn
Update RapidJSON to the latest version
Improve JSON function compliance with the JSON spec
util.TableToJSON - math.huge keys now become "Infinity" instead of "inf"
util.JSONToTable - Handle NULLs in arrays, convert boolean looking keys ("true", "false") to booleans if this behavior is not disabled by the 3rd argument
Minor optimization for util.TableToJSON
make lua_run entity keyvalues case insensitive
Call Entity:SetCreator on all Sandbox spawned entities
Allow comments and trailing commas in JSON parsing
Fixed Lua error when gmod_cameraprop and entity driving
Added util.RemoveDecalsAt
Added 4th argument to util.RemoveDecalAt - remove permanent decals
Hammer: Fixed empty buttons appearing in Entity Properties
When no entity has ever been selected in the session, and Alt+Enter are pressed
Also some minor visual adjustments
Improve handling of Spawnmenu category localizations
Preserve alphabetical sorting
Updated localization files
Added 2nd argument to CompileFile - showError
Minor code cleanups
Hammer: Fixed collision model being offset in 3D when dragging
Hammer: Fixed keybinds for 1 & 2 not updating the setting correctly
Do not set thread count to 1 if the CPU has over 32 of them
Limited to 64 now, and is clamped instead of resetting.
Pull Request: Fixed inconsistent margins on language list/start game
Fixed "Toggle" input on triggers improperly toggling the entity
It was not actually setting the enabled state, only making it non interactable.
Now properly sets the enabled state, just like Enable/Disable inputs do
Geiger counter only reacts to enabled trigger_hurts
Fixed some compile warnings
more warning fixes
Fixed max player speed not being set in a certain case
When holding your +wal slow walking key, and Player:setCanWalk being set to false
Pull Request: Removing deprecated calls to AddControl
Remove redundant arguments given to CPanel:NumSlider
Fixed console warning when opening Options menu
Warning about missing vgui/crosshair_bg
Fixed compile errors on Linux due to leftover debug code
Hammer & Other tools mount addons/ by default
FIxed VBSP crashing with missing VVDs
Models that are renamed after compile, which ends up pointing to the wrong .vvd
Also just missing VVDs.
Also fixed it using incorrect VVD path in the first place.
VBSP: Increase usefulness of "Occluder straddles multiple areas" warning
Added HammerID for entities in Hammer's selection status bar
Fixed VRAD crashes due to missing VVD files
Fixed map compile tool output formatting to do with threads
Make the output more consistent when using built-in compile window or 3rd party tools, and makes it more readable.
Fixed -console no longer bringing console to front on launch
Added new Bloom preset
Remove duplicate "missing material" output from VBSP
Do not unexpectedly reduce MaxHealth on dead entities
VRAD: Fixed a memory corruption issue with static prop lightmaps
Fixed "radius" in "Position Along Ring" being clamped to above 0
Fixed Tool MdlPicker causing console warnings
Set default MdlPicker output folder to game folder, not C:/
Hide "Generate Backpack Icons" button in MdlPicker
Fixed "Clean Undo History" not working in PET
Fixed panel/memory leak with particle picker previews
Disable hack for Intel GPUs disabling SM3
Actually implement undo limit in tools (Particle Editor)
Set Undo Limit for Particle Editor to 512
Play `act` animations on the server, and fill in concommand help
Fill in some gmod specific convar descriptions
FIxed a crash with VMTPicker (-tools)
Fixed new console warning on start up to do with skill cvar
Some safety around ResourceLibrary.Unregister
Resources get unregistered in their finalizer, so this race condition could have happened:
1. Resources are loaded
2. Resource library gets cleared
3. Resources are loaded again
4. Old resources get GC'd, remove new resources from ResourceIndex
Fix warning when using AssetSystem.CreateResource
Fixed CEF not calling OnChildViewCreated for MMB clicks
Fixed new console warning on start up to do with skill cvar
▉▉▇▄▋ ▇▍▊▆▆▌▅▍█▇▄ ▉▋▍▋▊▇ █▉▄▇▆▌▌▊▍ ▊▆▄ ▍▆▊█▆▄▋ ▌▋▇▍ ▌▇▊▋▌ ▌▋▉▋▍▆ ▅▌▍ █▅▅▌▊▇▅▍▍
Actually assign the hit anim...
Setup snake hit state and triggers.
Added client hurt rpc.
Scene updates with debug controller player
Updated customspineoffsets for ak and sar
Update: able to get WaterFactors for players as a batch operation
- internally splits players into sequential queries(vehicles, parenting) and a batch query
Another building block covered, I should be able to rewrite caching of water factors step of FinalizeMove(next submit).
Tests: just editor compilation, I need to adapt rest of code to work with it.
Setup extra anim state between alert and idle.
Animitor tweaks.
Update test to match changed API
Update: BufferList - new utility methods
- Resize - to explicitly control internal capacity
- ContentSpan, ContentReadOnlySpan - shortcuts to create a ro-/span over the active part of the buffer
Need both as I'm using it further in batched player processing operations
Tests: none, trivial changes.
More comments, shorten various property names
Fixed incorrect purchase history calculation
exported more snake anims
updated ak entity hold info offset
Example networking test for asserting certain message types
Fix buggy behaviour when modifying embedded clips
Fixes #113
Auto refresh item lists when convar changes
Added environment volume support for objects rendered via the forward base pass
Reapplied
112676 - Don't allow deployed firebomb to be deployed in water because science (stomped in 112706)