function GetCurve(t,f)local h=math.max((FGC(t)*_Tune.Horsepower)/PeakFGC,0)return h,(((h*(_Tune.EqPoint/t))*_Tune.Ratios[f+2])*fFD)*hpScaling end

function GetCurve(x,gear)
	local hp=math.max((FGC(x)*_Tune.Horsepower)/PeakFGC,0)
	return hp,hp*(_Tune.EqPoint/x)*_Tune.Ratios[gear+2]*fFD*hpScaling
end
