Improve unit recruiting

This commit is contained in:
2024-02-07 11:38:42 +01:00
parent 28ee6da17b
commit c625f566bc
10 changed files with 111 additions and 29 deletions

View File

@@ -705,6 +705,7 @@ void imguiRender(float dt, void *userData) {
igSetNextWindowSize((ImVec2){300, 400}, ImGuiCond_FirstUseEver);
igBegin("Debug Menu", NULL, 0);
igText("Frame time: %.5f s", GetFrameTime());
igText("PathData pool available: %lu", bzObjectPoolGetNumFree(game->pools.pathData));
igText("BTNode pool available: %lu", bzObjectPoolGetNumFree(game->pools.btNode));
igText("BTNodeState pool available: %lu", bzObjectPoolGetNumFree(game->pools.btNodeState));