Fix refcount leaks due to render.Pop/PushFilter functions
This was due to recent changes, but exposes a bigger issue that also affected func_breakable_surf
Added MAX_PLAYER_BITS
VRAD: Enable static prop lighting (vertex & lightmap) with `-fast`
* Since it is already controlled by `-StaticPropLighting`. `-fast` makes static prop lightmaps generate much faster.
* Mention -StaticPropLighting requirement for vertex lighting on static props in the FGD (`Disable Vertex Lighting` field)
Minor model rendering changes from cs:go
* Mostly null checks, etc.
Prevent crashes with vertexSize of 0 on materials
* Will now use error material instead, and SPAM you about what material is wrong
Fix a crash on game exit to do with models
Clear "missing" flag on all materials when a map is started loading
Add sv_nomap_timeout
* Closes a dedicated server if it is running without a map for given amount of seconds. Defaults to 0 (do not close the server at all)
* Also added a console message telling the user to load a map with the map console command
Fixed spam about "as if it were a variable" on GUI srcds
Init 3rd person camera on map load as well as shutdown
Implement support for $reflect2dskybox for Water shader
Restore the hack for static prop fades for CS:GO maps
Not sure why it was removed, I guess we will find out eventually if it causes issues.
Fixed a typo in "Save file appear to be invalid!"
Added $reflect3dskybox
Disabled for all water by default, but can be used to enable 3D skybox reflections in water. r_3dskyinreflection can be used to force disable this for all water
Make construct water reflect 3D skybox
Remove `"flammable" "no"` from 2 PHX bombs
`"flammable" "no"` did nothing before, but does a thing now, and apparently these props have had them the whole time.
Added MainEyePos, MainEyeAngles, use it for properties.lua
These 2 functions store main view's position and angle without being affected by any other view or render.RenderView
Fixes properties not being usable if render.RenderView is called at all times
Fixed render.RenderView affecting FOV for worldclicker
Fixed sun glow overlay not rendering in water
Minor viewrender changes from CS:GO
* Clamp fog lerp, restore position/angles for reflection/refraction views after rendering
Minor optimization for DecalTermAtPos
Fixed (near?) infinite loops in EnumerateElementsInBox
* This was caused by having mins be bigger than maxs, or negative radius for EnumerateElementsInSphere
Added IGModAudioChannel:GetTagsWMA/GetTagsMP4 (.m4a)
* Also some kind of ID3v2 implementation, but not confident enough to make it available yet
Added "Restore" input to func_breakable_surf entity
Minor improvements to Lua's render lib
* Prevent potential issues/minor memory leaks due to Lua errors in some functions (render.DrawQuadEasy, render.DrawScreenQuad, render.PushCustomClipPlan)
* Change render.DrawQuadEasy to use better optional argument handling (potentially breaking if mods do silly things)
Minor cleanups