change path_spread and ovoid_spread to path_copies and sphere_copies

for consistency.  Remove use of "spread" to refer to placement of
copies in docs.  Add deprecate().
This commit is contained in:
Adrian Mariano
2022-10-14 18:32:04 -04:00
parent 9cf6a0b3a8
commit 1797d5dc91
2 changed files with 92 additions and 53 deletions

View File

@@ -804,6 +804,18 @@ module no_module() {
}
// Module: deprecate()
// Usage:
// deprecate(new_name);
// Description:
// Display info that the current module is deprecated and you should switch to a new name
// Arguments:
// new_name = name of the new module that replaces the old one
module deprecate(new_name)
{
echo(str("***** Module ",parent_module(1),"() has been replaced by ",new_name,"() and will be removed in a future version *****"));
}
// Section: Testing Helpers