2 Hours Ago
resource.AddWorkshop bails when given empty/2char input * Also throws non halting error with `lua_strict` Make render.ComputeLighting normal optional * It's optional in engine, so Lua binding also has it optional Added CNavArea:GetLightIntensity * This commit also fixes `nav_update_lighting` not really doing much. This does mean that all existing nav meshes (that are generated by non L4D games basically) need to be updated to take advantage of this new function. Allow loading nav files from mountable games as fallback * Addons/BSP/local files will take precedence over mountable games. Yes, this also means slightly slower server map loads because we check more places now. Update flagrass/construct navmesh with lighting info Add VPROF scope to CBaseFileSystem::IsDirectory Try to cancel active WorkshopDL downloads when exiting mid-download * Steam has no direct API to do this, but was hinted that MarkDownloadedItemAsUnused may do it in the future. Do not search for spray cache in addons/mountable games Minor cleanups * Disable CNavMesh::GetPlacesFromNavFile (unused) * Remove Addon::FileHandle::FullFileName (unused) Lets try removing "addons" library * It just builds a subset of files from "addons_filesystem" and linked to menusystem.dll, which doesn't appear to need it Don't treat "workshop" and "" as valid addon names * For "files in this addon" search