mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 16:44:36 +00:00
Get rid of setLocalVariable entirely.
This commit is contained in:
parent
4293aef858
commit
4af4d90f4a
2 changed files with 0 additions and 15 deletions
|
|
@ -861,12 +861,6 @@ void setVariable(const char *name, const char *value)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void setLocalVariable(const char *name, const char *value)
|
|
||||||
{
|
|
||||||
name = prependPercent(name);
|
|
||||||
gEvalState.getCurrentFrame().setVariable(StringTable->insert(name), value);
|
|
||||||
}
|
|
||||||
|
|
||||||
void setBoolVariable(const char *varName, bool value)
|
void setBoolVariable(const char *varName, bool value)
|
||||||
{
|
{
|
||||||
SimObject *obj = NULL;
|
SimObject *obj = NULL;
|
||||||
|
|
|
||||||
|
|
@ -720,15 +720,6 @@ namespace Con
|
||||||
///
|
///
|
||||||
void removeVariableNotify(const char *name, const NotifyDelegate &callback);
|
void removeVariableNotify(const char *name, const NotifyDelegate &callback);
|
||||||
|
|
||||||
/// Assign a string value to a locally scoped console variable
|
|
||||||
///
|
|
||||||
/// @note The context of the variable is determined by gEvalState; that is,
|
|
||||||
/// by the currently executing code.
|
|
||||||
///
|
|
||||||
/// @param name Local console variable name to set
|
|
||||||
/// @param value String value to assign to name
|
|
||||||
void setLocalVariable(const char *name, const char *value);
|
|
||||||
|
|
||||||
/// Retrieve the string value to a locally scoped console variable
|
/// Retrieve the string value to a locally scoped console variable
|
||||||
///
|
///
|
||||||
/// @note The context of the variable is determined by gEvalState; that is,
|
/// @note The context of the variable is determined by gEvalState; that is,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue