Refactored and cleaned up CrowdManager and moved it to DetourCrowd. Update tool UI layout, context sensitive help is now rendered as overlay.

This commit is contained in:
Mikko Mononen
2011-01-29 15:28:28 +00:00
parent da00ac2b91
commit 4a81213b3b
26 changed files with 2701 additions and 2208 deletions

View File

@@ -75,7 +75,6 @@ public:
virtual void handleMenu()
{
imguiValue("Click LMB to highlight a tile.");
}
virtual void handleClick(const float* /*s*/, const float* p, bool /*shift*/)
@@ -127,6 +126,9 @@ public:
imguiDrawText((int)x, (int)y-25, IMGUI_ALIGN_CENTER, text, imguiRGBA(0,0,0,220));
}
// Tool help
const int h = view[3];
imguiDrawText(280, h-40, IMGUI_ALIGN_LEFT, "LMB: Highlight hit.", imguiRGBA(255,255,255,192));
}
};