mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-09 07:20:40 +00:00
add cover tool
add cover tool some more cleanup navmeshselecttool needs to use collideBox duDebugDrawTorque now has the transparent blending option
This commit is contained in:
parent
24ec55e8bc
commit
b5d6601b96
11 changed files with 142 additions and 88 deletions
40
Engine/source/navigation/navMeshTools/coverTool.cpp
Normal file
40
Engine/source/navigation/navMeshTools/coverTool.cpp
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
#include "coverTool.h"
|
||||
|
||||
IMPLEMENT_CONOBJECT(CoverTool);
|
||||
|
||||
CoverTool::CoverTool()
|
||||
{
|
||||
}
|
||||
|
||||
void CoverTool::onActivated(const Gui3DMouseEvent& evt)
|
||||
{
|
||||
Con::executef(this, "onActivated");
|
||||
}
|
||||
|
||||
void CoverTool::onDeactivated()
|
||||
{
|
||||
Con::executef(this, "onDeactivated");
|
||||
}
|
||||
|
||||
void CoverTool::on3DMouseDown(const Gui3DMouseEvent& evt)
|
||||
{
|
||||
if (mNavMesh.isNull())
|
||||
return;
|
||||
}
|
||||
|
||||
void CoverTool::on3DMouseMove(const Gui3DMouseEvent& evt)
|
||||
{
|
||||
if (mNavMesh.isNull())
|
||||
return;
|
||||
}
|
||||
|
||||
void CoverTool::onRender3D()
|
||||
{
|
||||
if (mNavMesh.isNull())
|
||||
return;
|
||||
}
|
||||
|
||||
bool CoverTool::updateGuiInfo()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue