Yesterday
Minor cleanups Cleanup GMOD_Player class a little bit * Moved public fields to private for those that already had accessors Fixed infinite loops when calling DrawModel from Pre/PostPlayerDraw * The hooks will no longer be called while they are already being executed Better descriptions for gm_snapangles and gm_snapgrid Optimized some CVEngineServer functions to do with looping over player list * Also fixes some pointless compile warnings Fixed more compile warnings Optimizations for GM:PlayerCanHearPlayersVoice usage * Removed IVEngineServer::GMOD_GetPlayerIsSpeaking & GMOD_ShouldUpdateVoiceMasks, CBasePlayer::IsUsingVoice, C_BasePlayer::ShouldGoSouth * Moved certain gmod fields at the end of CBasePlayer and C_BasePlayer to be private, rearranged others * GM:PlayerCanHearPlayersVoice will no longer be called for non speaking players when any player speaks * GM:PlayerCanHearPlayersVoice will be called for a speaking player if it was called too long ago (0.3 seconds) Update ent_pivot concommand description Rework the GM:PlayerCanHearPlayersVoice rework * Should fix ALL the issues, also made it force update everyone every 5 seconds when people are talking as well Use list.GetEntry in other places where it is possible to use it * This is a micro optimization, but also cleans up code a bit Skin support for util.GetModelMeshes + optimization Fixed an null pointer crash with sv_debug_player_use Micro optimizations for most Lua functions returning a sequential table Deduplicate AddConsoleCommand code (menu vs non menu) * Now it is consistently implemented for all realms Minor adjustment to SWEP:OnRemove * Should be no functional change, just more consistent when it is called with other SENT types Fix UnStatue bypassing CanProperty serverside Add function location to `lua_find(hooks)` commands Update gmod_physiterations desc to specifically mention constraints Merge small fix for LuaJIT Bump system error buffer to 256 Fixed ATI1N and ATI2N names being swapped Utilities tabs dynamically load convar defaults for default preset Clean ups * Removing GMOD_Player::ViewPunch, Weapon_Drop and OnTakeDamage overrides (did nothing), m_iCallSpawnTimer and m_iStartTick which were unused at all * Removing CHL2_Player ::GetAutoaimVector, ShouldKeepLockedAutoaimTarget, BumpWeapon, Weapon_CanUse (all were doing nothing, or were Xbox only) * Remvoed autoaim_unlock_target which is now unused Allow fractional tickrates (i.e. 66.666), and clamp the result * Clamped between 1ms and 100ms Ragdoll inherit submaterials from their parent entities * This can't work for gibs because gibs are different models and have gib models usually have different material IDs Zombie gibs/headcrabs inherit materials/render mode Fixed saving dupes not updating "My Dupes" immediately Do not draw Tool Gun help and HUD in vehicles Improve usage of tools from inside of vehicles * Ignores the vehicle entity for traces Improve spawnmenu spawning trace while in vehicle * ignores vehicle the player is in * Also make dead players who are not admins be unable to spawn stuff Fixed some DoD materials * Fixed excessive reflections on that one map, fixed footstep sounds mostly, fixed that one missing texture on that one prop Fixed some unlocalized strings in spawnmenu DBinder improvements * Added localization (NONE, PRESS A KEY), added a tooltip that explains its usage (right click to clear), added ability to middle click to reset to default, just like sliders. Added ability to randomize/clear only one category in Faceposer