This commit is contained in:
Just some guy
2025-05-26 21:46:30 +00:00
committed by GitHub
11 changed files with 2892 additions and 652 deletions
+12 -1
View File
@@ -1168,9 +1168,20 @@ void scenes::lobby::on_focused()
imgui_ctx.emplace(physical_device, device, queue_family_index, queue, imgui_inputs, swapchain_imgui, vps);
std::string image;
/* Could be used for more patriotics logos
auto t = std::chrono::system_clock::to_time_t(std::chrono::system_clock::now());
auto tm = std::localtime(&t);
std::string image = tm->tm_mon == 5 ? "wivrn-pride" : "wivrn";
switch (tm->tm_mon)
{
default:
image = "wivrn";
break;
}
*/
image = "wivrn";
try
{
about_picture = imgui_ctx->load_texture(image + ".ktx2");
+3
View File
@@ -1037,6 +1037,9 @@ void scenes::lobby::gui_about()
ImGui::SetCursorPosX(win_width / 4);
ImGui::Image(about_picture, {win_width / 2, win_width / 2});
ImGui::PushFont(imgui_ctx->large_font);
CenterTextH(std::string("Sneed'n'Chuck Edition"));
ImGui::PopFont();
}
void scenes::lobby::gui_licenses()