mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-06 00:53:52 +00:00
feat(editor): show all biome texture paths in New Terrain dialog
This commit is contained in:
parent
506fcc29f3
commit
673cfa6368
1 changed files with 4 additions and 1 deletions
|
|
@ -299,7 +299,10 @@ void EditorUI::renderNewTerrainDialog(EditorApp& /*app*/) {
|
|||
};
|
||||
ImGui::Combo("Biome", &newBiomeIdx_, biomeNames, 10);
|
||||
const auto& bt = getBiomeTextures(static_cast<Biome>(newBiomeIdx_));
|
||||
ImGui::TextColored(ImVec4(0.5f, 0.7f, 0.5f, 1.0f), "%s", bt.base);
|
||||
ImGui::TextColored(ImVec4(0.5f, 0.7f, 0.5f, 1.0f), "Base: %s", bt.base);
|
||||
ImGui::TextColored(ImVec4(0.5f, 0.6f, 0.5f, 1.0f), " + %s", bt.secondary);
|
||||
ImGui::TextColored(ImVec4(0.5f, 0.6f, 0.5f, 1.0f), " + %s", bt.accent);
|
||||
ImGui::TextColored(ImVec4(0.5f, 0.6f, 0.5f, 1.0f), " + %s", bt.detail);
|
||||
|
||||
ImGui::Spacing();
|
||||
if (ImGui::Button("Create", ImVec2(120, 0))) { newRequested_ = true; showNewDialog_ = false; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue