library: Deprecate NE_ShadingEnable()

This has been replaced by NE_SetupToonShadingTables(), which is a more
sensible name.

A define has been added for compatibility.
This commit is contained in:
Antonio Niño Díaz 2024-03-07 01:48:34 +00:00
parent 521012d4d1
commit 636a7d73c3
2 changed files with 4 additions and 2 deletions

View File

@ -274,7 +274,9 @@ void NE_OutliningSetColor(u32 index, u32 color);
/// - EMISSION = RGB15(0, 0, 0)
///
/// @param value True sets up tables for toon shading, false clears them.
void NE_ShadingEnable(bool value);
void NE_SetupToonShadingTables(bool value);
#define NE_ShadingEnable NE_SetupToonShadingTables
/// Set highlight shading or toon shading modes.
///

View File

@ -99,7 +99,7 @@ void NE_OutliningSetColor(u32 index, u32 color)
GFX_EDGE_TABLE[index] = color;
}
void NE_ShadingEnable(bool value)
void NE_SetupToonShadingTables(bool value)
{
if (value)
{