Difference between revisions of "love.hasDeprecationOutput"

(Created page)
 
m
Line 1: Line 1:
{{newin|[[0.11.0]]|110|type=function}}
+
{{newin|[[11.0]]|110|type=function}}
 
Gets whether LÖVE displays warnings when using deprecated functionality. It is disabled by default in [[love.filesystem.isFused|fused mode]], and enabled by default otherwise.
 
Gets whether LÖVE displays warnings when using deprecated functionality. It is disabled by default in [[love.filesystem.isFused|fused mode]], and enabled by default otherwise.
  

Revision as of 13:44, 22 December 2018

Available since LÖVE 11.0
This function is not supported in earlier versions.

Gets whether LÖVE displays warnings when using deprecated functionality. It is disabled by default in fused mode, and enabled by default otherwise.

When deprecation output is enabled, the first use of a formally deprecated LÖVE API will show a message at the bottom of the screen for a short time, and print the message to the console.

Function

Synopsis

enabled = love.hasDeprecationOutput( )

Arguments

None.

Returns

boolean enabled
Whether deprecation output is enabled.

See Also

Other Languages