Difference between revisions of "love.hasDeprecationOutput"

(Created page)
 
(See Also)
 
(One intermediate revision by one other user not shown)
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.
  
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