mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-16 00:54:54 +00:00
Rename all instances of Walkabout.
This commit is contained in:
parent
7ab6731f51
commit
cb047bd7f0
1 changed files with 4 additions and 4 deletions
|
|
@ -101,7 +101,7 @@ DefineConsoleFunction(getNavMeshEventManager, S32, (),,
|
||||||
return NavMesh::getEventManager()->getId();
|
return NavMesh::getEventManager()->getId();
|
||||||
}
|
}
|
||||||
|
|
||||||
DefineConsoleFunction(WalkaboutUpdateAll, void, (S32 objid, bool remove), (0, false),
|
DefineConsoleFunction(NavMeshUpdateAll, void, (S32 objid, bool remove), (0, false),
|
||||||
"@brief Update all NavMesh tiles that intersect the given object's world box.")
|
"@brief Update all NavMesh tiles that intersect the given object's world box.")
|
||||||
{
|
{
|
||||||
SceneObject *obj;
|
SceneObject *obj;
|
||||||
|
|
@ -119,19 +119,19 @@ DefineConsoleFunction(WalkaboutUpdateAll, void, (S32 objid, bool remove), (0, fa
|
||||||
obj->enableCollision();
|
obj->enableCollision();
|
||||||
}
|
}
|
||||||
|
|
||||||
DefineConsoleFunction(WalkaboutUpdateMesh, void, (S32 meshid, S32 objid, bool remove), (0, 0, false),
|
DefineConsoleFunction(NavMeshUpdateOne, void, (S32 meshid, S32 objid, bool remove), (0, 0, false),
|
||||||
"@brief Update all tiles in a given NavMesh that intersect the given object's world box.")
|
"@brief Update all tiles in a given NavMesh that intersect the given object's world box.")
|
||||||
{
|
{
|
||||||
NavMesh *mesh;
|
NavMesh *mesh;
|
||||||
SceneObject *obj;
|
SceneObject *obj;
|
||||||
if(!Sim::findObject(meshid, mesh))
|
if(!Sim::findObject(meshid, mesh))
|
||||||
{
|
{
|
||||||
Con::errorf("WalkaboutUpdateMesh: cannot find NavMesh %d", meshid);
|
Con::errorf("NavMeshUpdateOne: cannot find NavMesh %d", meshid);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if(!Sim::findObject(objid, obj))
|
if(!Sim::findObject(objid, obj))
|
||||||
{
|
{
|
||||||
Con::errorf("WalkaboutUpdateMesh: cannot find SceneObject %d", objid);
|
Con::errorf("NavMeshUpdateOne: cannot find SceneObject %d", objid);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if(remove)
|
if(remove)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue