Difference between revisions of "love.hasDeprecationOutput"

m
(See Also)
 
Line 19: Line 19:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Gets whether LÖVE displays warnings when using deprecated functionality.}}
 
{{#set:Description=Gets whether LÖVE displays warnings when using deprecated functionality.}}
 +
{{#set:Since=110}}
 +
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|love.hasDeprecationOutput}}
 
{{i18n|love.hasDeprecationOutput}}

Latest revision as of 22:27, 16 March 2021

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