158,079 Commits over 4,566 Days - 1.44cph!
Fixed AnimalAnimation allocating 80 bytes for each footstep
Avoid alloc when cleaning up expired projectiles, fix projectiles leaking when baseplayer is destroyed
merge from animalanimation_optims
Remove planner linq when looking for sockets
- Add RRP support
- Fix various texture/icon errors
- Minor Cleanup
Avoid allocs when ticking hurt triggers
Fix linq every frame in cooking visuals
Reduce memory usage of the server's SpawnDistributions by 750MB (780MB -> 40MB) and make it 3x faster to sample (2.1 us -> 0.7 us)
- store in tiles of 16x16 values
- 85% of the tiles are all zeros (fun fact)
- tiles that are all the same value store as negative tile index so it can avoid looking up the tile (mainly all zeros)
- deduplicate the remaining tiles (saves a little more)
- palette packing on top for tiles that have mixed values (2 - 4 bits / value)
- reduces server startup time from 4s -> 2.5s
▊▉▉▋▋▋█ ▉ ▋▌▍ ▇▉▌▇▊▌ ▄▅ ▆▍▋▉ ▉▉▄▆▊▊▅ ▌▄ ▋█▋ ▊▆▋▋▄▉▇▋ ▄▄▌▅▌▄▍▆▆▌▅▊▍▍▍▆ ▋ ▉▌▍▉▍▍▉▄ ▅ ▋█▅▇▄▊▊▍ ██▋▍█▊ ▋▍▉▅▊▌▋▊▆▉▄▉▋█▆▄▅▆▄▊▇█▅▍▋█▍▄▉▉▉▋▄▅▆▉█▋▍▆█▄▆▉▆▉▍▅▋▇▇█▌▋▆▆▌▊█▅▌▋▄▊
merge from texturestreaming_texturepropertiescache_fix
Fixed TextureStreaming never filling its shader texture property cache, every belt swap was allocating all shader property names (18KB down to 1KB per swap)
Make ItemCraftTask properly pooled so its not allocating on every craft
Fix broken livestock sleep test
merge from lightlod_optims
Cache DistanceFlareLOD fading action
Fixed shadowlights convar handler stacking up across editor play sessions
Fixed LightLOD.Awake and OnDestroy allocating
The shadow caching convar callback was subscribed per light, every light spawn and destroy copied the whole handler list (had 1500 lights, 10KB every time)
Cache AmbientLightLOD fading action
merge from more_pool_attributes
▆▆ ▍▍▊▄█ ▉█▅▋ ▇▅▉▋█▇▍▊▆▊▆█▆▋█▋▉▊▊▅▆▉▄█▌▇█▋▌▋
merge from fix_scrapheli_dismounts
Make surface.DrawPoly throw an error when giving invalid data
* Specifically when giving it less than 3 verts
Stop ropes being invisible in specific mcore circumstance
* `r_queued_ropes 0; mat_queue_mode 2; gmod_mcore_test 1` is the exact scenario
Restore functionality of sk_auto_reload_time
* Requires gmod_suit set to 1. Value of 0 or below disables the feature.
Implement maximum amount of TCs placed IN SOFTCORE ONLY
- maximum 3 for now
- follows how the "maximum sleeping bag" system works with the amount shown on the icon & toast when you reach the limit
Only consume electricity when actively generating fuel
██ ▌▅▋▊▉ ▄▌▇▅▅▆ ▋▊ ▇▌▌▆▆▌ ▄▆▊█▅▊█▄ ▆▇▌ ▇▊▌▆▉▊ ██▋ ▋▄▉▋▉▉▇▄▌▊▆▆ ▌█▇▅ ▅▊▊▄ ▅▍▊▄▆▌ ▉▌▇▋▆▇▌█ ▅▄▋▍ ▍▉▆ █▆▉▅ ▉█▆▉ ▅▇▍▌▇▊▌▇▉█▊▄█ ▊▄█▌█▇ ▆▆█▅ ▊▅▌▊▋ ▄▍▋ ▇▆▇▆▇▆▉█▌ ▆▋ ▅█▆▉▋▋▅▅▆ ▄▅▍▆ ▋▆▇ ▋▉ ▍▄▆▊ ▋▇▋▄█ ▊▅▇▍ █▍▉ ▆▊ █▉▄▌ ▉▍▊▊▆▆▅█▅
Fix livestock age regressing when calf grows up into adult, and age being more and more incorrect over time because of the random variance
merge from drinkingpoint_optims
merge from drinkingpoint_optims
Fixed Spawnmenu middle mouse click regression
Handle addons not providing complete data for NPC weapons
* So spawnmenu doesn't get bricked entirely
Fixed -force32bit trying to launch 64bit CEF
Use more dynamic fallback for Infected shader
* Instead of shipping edited materials, we do it in code
Fix false positive with "Out of bounds bone in CIKContext"
Fixed potential npc_alyx related crashes
Potential fix for a crash on that one CS:S map
Update Windows symstore path
Bring back multiline input support to the console
merge from qol_loadout_inventory_preview -> main
Fixed UpdateWaterDrinkingPoint running when not needed:
- now runs in the entity looking at tick every 0.1s
- skipped when mounted, or when move speed is above drinkMovementSpeed
Its a trace so it wasnt scaling well in big bases
Cache vending machines and skip rebuilding all their markers when opening the map
Saves around 80ms on a server with 170 vending machines
merge from fix_apartment_teammate_door -> main
merge from fix_apartment_transfer_items -> main
merge from main -> fix_apartment_teammate_door
▊▌▊██▆█▍ █▅▊▄█▄█ ▌▋▉▆▆▄ ▆▅▅▍ ▍ ▊▅▅▆▄▇▌ ▋▇▋▋▄▇ ▍▄▋██▋ ▌▇▋▉▄ █▄▅▉▅█▊▉█▉▉ ▆▌▅▄▆▆▊ ▋▋▅▊▆▆▅ ▇▌▋▇▅▊▌ ▊▄▋▄▆▇▉▍ ▄▅▊ ▋█▋▍▆█▉▊▊
merge from fix_custom_item_drag -> main
merge from fix_jungle_plant_water -> main
merge from fix_sentry_modded_tag -> main
merge from fix_motorcycle_dismount_order -> main
merge from fix_client_sail_wind -> main