win32 compile and project fixes, made tool UI more clear

This commit is contained in:
Mikko Mononen
2010-08-17 18:30:58 +00:00
parent 785e9c68be
commit 5f7ac70cba
13 changed files with 79 additions and 24 deletions

View File

@@ -113,7 +113,7 @@ public:
imguiValue("Shift+LMB to remove a tile.");
}
virtual void handleClick(const float* s, const float* p, bool shift)
virtual void handleClick(const float* /*s*/, const float* p, bool shift)
{
m_hitPosSet = true;
rcVcopy(m_hitPos,p);
@@ -128,7 +128,7 @@ public:
virtual void handleStep() {}
virtual void handleUpdate(const float dt) {}
virtual void handleUpdate(const float /*dt*/) {}
virtual void handleRender()
{
@@ -415,10 +415,14 @@ void Sample_TileMesh::handleTools()
setTool(new CrowdTool);
}
imguiSeparator();
imguiSeparatorLine();
imguiIndent();
if (m_tool)
m_tool->handleMenu();
imguiUnindent();
}
void Sample_TileMesh::handleDebugMode()