g_LocalController = localCooller;
g_LocalController = localController; g_LocalPlayer = localPlayer; if (totalEnemies > 0 || totalBots > 0) { std::string s; if (totalEnemies + totalBots < 10) { s += "玩家"; s += std::to_string((int)totalEnemies); s += " | "; s += std::to_string((int)totalBots); s += " 人机"; } else { s += "玩家 "; s += std::to_string((int)totalEnemies); s += " | "; s += std::to_string((int)totalBots); s += " 人机"; } draw->AddRectFilled(ImVec2(glWidth / 2 - 80, 50), ImVec2(glWidth / 2 + 80, 120), IM_COL32(255, 165, 0, 120), 15.0f); draw->AddRect(ImVec2(glWidth / 2 - 80, 50), ImVec2(glWidth / 2 + 80, 120), IM_COL32(255, 165, 0, 80), 15.0f, 0, 2.5f); draw->AddText(nullptr, ((float)density / 16.5f), ImVec2(glWidth / 2 - 71, 70), IM_COL32(0, 255, 232, 255), s.c_str()); } else { std::string s; s += "玩家 "; s += std::to_string((int)totalEnemies); s += " | "; s += std::to_string((int)totalBots); s += " 人机"; draw->AddRectFilled(ImVec2(glWidth / 2 - 80, 50), ImVec2(glWidth / 2 + 80, 120), IM_COL32(255, 158, 212, 255), 15.0f); draw->AddRect(ImVec2(glWidth / 2 - 80, 50), ImVec2(glWidth / 2 + 80, 120), IM_COL32(255, 255, 255, 130), 15.0f, 0, 2.5f); draw->AddText(nullptr, ((float)density / 16.5f), ImVec2(glWidth / 2 - 58, 70), IM_COL32(0, 255, 232, 255), s.c_str()); }
在Telegram中查看相关推荐

🔍 发送关键词来寻找群组、频道或视频。
启动SOSO机器人