Fix warnings
This commit is contained in:
@@ -76,8 +76,6 @@ bool VisualScriptGraph::onNodeLoaded(Node* n)
|
|||||||
|
|
||||||
VisualScriptExecutor::VisualScriptExecutor()
|
VisualScriptExecutor::VisualScriptExecutor()
|
||||||
{
|
{
|
||||||
_perGroupProcessCall[2] = (ProcessBoxHandler)&VisualScriptExecutor::ProcessGroupConstants;
|
|
||||||
_perGroupProcessCall[4] = (ProcessBoxHandler)&VisualScriptExecutor::ProcessGroupPacking;
|
|
||||||
_perGroupProcessCall[6] = (ProcessBoxHandler)&VisualScriptExecutor::ProcessGroupParameters;
|
_perGroupProcessCall[6] = (ProcessBoxHandler)&VisualScriptExecutor::ProcessGroupParameters;
|
||||||
_perGroupProcessCall[7] = (ProcessBoxHandler)&VisualScriptExecutor::ProcessGroupTools;
|
_perGroupProcessCall[7] = (ProcessBoxHandler)&VisualScriptExecutor::ProcessGroupTools;
|
||||||
_perGroupProcessCall[16] = (ProcessBoxHandler)&VisualScriptExecutor::ProcessGroupFunction;
|
_perGroupProcessCall[16] = (ProcessBoxHandler)&VisualScriptExecutor::ProcessGroupFunction;
|
||||||
@@ -174,26 +172,6 @@ VisjectExecutor::Graph* VisualScriptExecutor::GetCurrentGraph() const
|
|||||||
return stack.Stack && stack.Stack->Script ? &stack.Stack->Script->Graph : nullptr;
|
return stack.Stack && stack.Stack->Script ? &stack.Stack->Script->Graph : nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
void VisualScriptExecutor::ProcessGroupConstants(Box* box, Node* node, Value& value)
|
|
||||||
{
|
|
||||||
switch (node->TypeID)
|
|
||||||
{
|
|
||||||
default:
|
|
||||||
VisjectExecutor::ProcessGroupConstants(box, node, value);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void VisualScriptExecutor::ProcessGroupPacking(Box* box, Node* node, Value& value)
|
|
||||||
{
|
|
||||||
switch (node->TypeID)
|
|
||||||
{
|
|
||||||
default:
|
|
||||||
VisjectExecutor::ProcessGroupPacking(box, node, value);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void VisualScriptExecutor::ProcessGroupParameters(Box* box, Node* node, Value& value)
|
void VisualScriptExecutor::ProcessGroupParameters(Box* box, Node* node, Value& value)
|
||||||
{
|
{
|
||||||
switch (node->TypeID)
|
switch (node->TypeID)
|
||||||
|
|||||||
@@ -43,8 +43,6 @@ private:
|
|||||||
Value eatBox(Node* caller, Box* box) override;
|
Value eatBox(Node* caller, Box* box) override;
|
||||||
Graph* GetCurrentGraph() const override;
|
Graph* GetCurrentGraph() const override;
|
||||||
|
|
||||||
void ProcessGroupConstants(Box* box, Node* node, Value& value);
|
|
||||||
void ProcessGroupPacking(Box* box, Node* node, Value& value);
|
|
||||||
void ProcessGroupParameters(Box* box, Node* node, Value& value);
|
void ProcessGroupParameters(Box* box, Node* node, Value& value);
|
||||||
void ProcessGroupTools(Box* box, Node* node, Value& value);
|
void ProcessGroupTools(Box* box, Node* node, Value& value);
|
||||||
void ProcessGroupFunction(Box* boxBase, Node* node, Value& value);
|
void ProcessGroupFunction(Box* boxBase, Node* node, Value& value);
|
||||||
|
|||||||
Reference in New Issue
Block a user