243,839 Commits over 3,898 Days - 2.61cph!
3p anim setup and better timings to let anims play out
Show toasts confirming winner/loser after anims have played
Fixed bots never picking scissors
Improved sidecar suspension, still needs a little bit of work
█▌▅ ██▋▉▊ ▌█▋▇▉▊▅▊ ▍▉▆▋█▊█
Enable the RendererBatch component on all shipping container prefabs
- fix some components that were at the root level instead of at the same level as the RendererLOD / MeshLOD
Failed camera smoothing experiment
Velocity inheritence fix.
Add ModelPhysics.MotionEnabled - Enable to drive renderer from physics, disable to drive physics from renderer https://files.facepunch.com/layla/1b1911b1/sbox-dev_nyGhlgasUl.mp4
Merge from parent, stomp animator changes
v_mp5: rename Idle to IdlePose to be consistent with Citizen
Tooltip can now accept arguments for string substitution, similar to RustText
Added a tooltip to the discount/surcharge icons that lists the original purchase price
Using the addtime convar now immediately force updates all npc vending machines
Added a BypassDynamicPricing option to the NPCVendingMachine component, allows us to opt out specific vending machines
Added npcvendingmachine.DynamicPricingEnabled convar, disables the dynamic pricing across the whole server
Bike driving work and sidecar suspension visuals fix
Add color to RendererKey for render batching to support shipping container
- pull the color from the MaterialPropertyBlock of the MeshRenderer
Sidecar world collider edit
Make sure existing null checks aren't applied on top of new default value checks
Apply fix #2 in redid commit
Redid the commit so that it would stop applying to DeltaSerialize()
- tried to combine existing null checks with new default value checks, keeping them seperate is less complexity
Add support for all default values, fix optional field checks applying to DeltaSerialize()
Fix & update codegen
- don't check if field is null twice (bytes & strings already checked if null when optional)
- throw error if required class isn't present, skip serializing structs if required but default value
- fix regression where it checked if field was default when delta serializing
█▅▄▉▄ ▊▆▅▄ ▍▌█▋▊▄▆▆▆▊▌▇_▍▉▍
▍▌▇ ▇▊▋▋ ▊▍▊▄ ▊▄ ▅ ▇▊▌▊▊ █▆▋▇▉▇ [▌▄▋▉▄▆▆█▍▅▅▊] ▊█▍▉▆▌ ▌▅▌ ▉▇▊▌▅▊ ▍▇█▅█▌▍▋▊▄ (▄▌▇▌▅ ▄▄▅▍▆▆▊ ▌▍▍)
Skinned renderer builds bone hierarchy before scene model is created
Skip fields with custom default values instead of always serializing them
- significant as it affects Vector3
Fixes
Dirt trail iteration.
Updated codegen
Protobuf now won't serialize default values as pooling resets everything before deserialization
- should have the exact same input & output but better performance
Made ProtoBuf.Half3 and ProtoBuf.VectorData IEquatable so it can be compared to default value
▋▄▆ ▄▍█▄ ▊▅ █▊▍ ▍▄▅▌▇▍█ ▅█▆▇ █▋▍▌▄▌▆▄▊▄ ▌▄▍▋▉█▉
Joint goes up the bone hierarchy to find a physics bone (ex: leg_glute_helper_L will use physics bone leg_lower_L) this should simplify when we have a better relationship between bones and physics
Calculate our own proj matrix from scratch
Add scene viewport view mode option
Replace default cubemap texture with the one VBSP generates by default
This affects maps that are renamed after compilation
Fix CmdSeq.wc being broken on local builds
Fixed Ceiling Turret trying to play non existent sounds on dry fire
Was spamming warnings in console
Fixed Alyx not being blinded by flashlight in Episode 1
More episodic behaviors, for Zombies and Headcrabs
Fixed Alyx still following the player in darkness mode without flashlight
Fix Alyx's darkness breathing breaking other voice lines
Remount subbed addons if we unmounted server addons
In case some file(s) were overwritten by server addons, which are now gone
Clean up rope materials on disconnect, not game shutdown
Allows rope materials to reach 0 refcounts
Fixed intro screen material not being freed
Also fixed __error material getting an extra forever refcount
Also fixed __loading and __background getting forever refcounts
Fixed certain sprites (such as physgun beam) being forever referenced if drawn
Add facepunch.hc1 to tests
Restore obsolete Gizmo.HitBox.Model function signature to maintain compatibility
Start moving some PlayerState stuff around
Update to yoga 3, embed in engine
vpc fixes
Remove Facebook.Yoga
Convert style setters
Rename PlayerState.Player -> PlayerState.Controller
Remove refs to obsolete VR performance stats
Projection matrix calculation tweaks - need to figure out why we're getting squares (most likely incorrect frustum)
█▍█ ▄▉▆▌▉█ ▆▇▄▆▋▇▅ █▆▄ ▊▉▌▍▉█▍
▌▇▄ ▍▌▍██▅▇▅▄▄▉<▆> ▋▇▊▉▆▋▄▊ ▆▋▊█▆█ ▊▍▌▊▊██ ▉█▇▇▊ ▌▉▄▄ █▆▉█▌ █▇▄ ▅▆ ▋▊▋ ▅▆▉ ▅▍▉▇▆▇
█▅▋ ▅▌▆▅▊▍█ ▊▆▇▇▍▌ ▉▅▉ ▋▉▇▊▌▋ ▇▄▌█▌▄▊▋ ▄▌▇▋▋▉+▅▌█▆▇▍▉
▌▌▉ ▇▇▇▋▉▌▄ ▉▍▇▉ ▅▇▅▄/█▄█▆▉ ▊▄▌▉█▍
█▇▄▊▊ ▉▍▉▅ ▉▌█▍▋▍_▌▊▄▄▍▇▇▊▌_▆▋▅▄█
merge from optimize_asset_warmup_tunnels