From 15ce383d5cbca09cc461392ec9175b449318b1c4 Mon Sep 17 00:00:00 2001 From: Vindicus999 <211831565+Vindicus999@users.noreply.github.com> Date: Thu, 25 Sep 2025 16:09:12 -0400 Subject: [PATCH] Removed most mentions of NAMbLA --- assets-source/default_icon.png | Bin 930 -> 856 bytes client/CMakeLists.txt | 41 ++- client/scenes/lobby.cpp | 15 +- client/scenes/lobby_gui.cpp | 3 + images/wivrn-pride.svg | 622 --------------------------------- 5 files changed, 35 insertions(+), 646 deletions(-) delete mode 100644 images/wivrn-pride.svg diff --git a/assets-source/default_icon.png b/assets-source/default_icon.png index 414191f3d574fdd46871ed0bc5c1a377c816daac..28e2f3543f270c47adfbee5a2ca8ec726288efef 100644 GIT binary patch literal 856 zcmeAS@N?(olHy`uVBq!ia0y~yU<5K5893O0R7}x|G!U;i$lZzY=1HA;AcrO0(btiI zVPik{pF~z5Um@8e$d`ekN{xY`p@o6r7f`6-1p`B=0RzLU1O^7H84L{K1#@-<+5jau z3p^r=85p>QL70(Y)*J~22Bw3aE{-7;x8B~p$lGKf(soh)aKhc5zH5GM(hed5EyZ!B zHg{&|Uym>VxeFPrOIxw^+%bmlA=$Ate^XsP#4s^1F>o*_Ff;%SWw>*7$G5hiF3p3k zTd(Cngy3>dCKoeA+Nxjh5iGj)_n#Sq1IWWH3<40wrq`AXCl-F+Jw3;Ic@W>;`TyR$ zR=>)IFd1$Pl5HFe0_T|<;-mM=|GRm8J0r3~I2b0(J?s=P+liohft!B{i@x{NQ($*Aj*B2MPgg&ebxsLQ0FhLw8vpQL70(Y)*J~224-$g7srr_TW{|g`W-e9X?Q5Isesjt?cISFs|_}XCG~`} zbKln76x)^iV@~?Eft-sBI?^T=-;-wkqWRqB_pesL zga1_-6c`#97?>D1fDDKA$CjEenc~CQq_y-0BUBJ7`{C}5s>a(5&so;ZXZHJLcW;uO zecqw9FF!xDeIow!<5SHiyVh-zMK%nmkKIjKVbi9yzVqXE%|F`z-+%w!=e?mvv4FO#qst!rlM? diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt index bf4e52e4..4d9d5296 100644 --- a/client/CMakeLists.txt +++ b/client/CMakeLists.txt @@ -267,16 +267,37 @@ wivrn_rasterize_svg(SOURCE ${IMAGES_SRC_DIR}/wivrn-christmas.svg DESTINATION wivrn_rasterize_svg(SOURCE ${ASSETS_SRC_DIR}/passthrough.svg DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/passthrough.png WIDTH 256 HEIGHT 256) wivrn_rasterize_svg(SOURCE ${ASSETS_SRC_DIR}/default-environment.svg DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/default-environment.png WIDTH 256 HEIGHT 256) -wivrn_generate_ktx( SOURCE ${CMAKE_CURRENT_BINARY_DIR}/wivrn.png DESTINATION ${ASSETS_DIR}/wivrn.ktx2 TARGET wivrn) -wivrn_generate_ktx( SOURCE ${CMAKE_CURRENT_BINARY_DIR}/wivrn-pride.png DESTINATION ${ASSETS_DIR}/wivrn-pride.ktx2 TARGET wivrn) -wivrn_generate_ktx( SOURCE ${CMAKE_CURRENT_BINARY_DIR}/wivrn-christmas.png DESTINATION ${ASSETS_DIR}/wivrn-christmas.ktx2 TARGET wivrn) -wivrn_generate_ktx( SOURCE ${ASSETS_SRC_DIR}/default_icon.png DESTINATION ${ASSETS_DIR}/default_icon.ktx2 TARGET wivrn) -wivrn_generate_ktx( SOURCE ${CMAKE_CURRENT_BINARY_DIR}/passthrough.png DESTINATION ${ASSETS_DIR}/passthrough.ktx2 TARGET wivrn) -wivrn_generate_ktx( SOURCE ${CMAKE_CURRENT_BINARY_DIR}/default-environment.png DESTINATION ${ASSETS_DIR}/default-environment.ktx2 TARGET wivrn) -if(WIVRN_COMPRESS_GLB) - wivrn_gltf_transform_uastc(SOURCE ${ASSETS_SRC_DIR}/ground.glb DESTINATION ${ASSETS_DIR}/ground.glb TARGET wivrn ZSTD 20) -else() - wivrn_copy_file( SOURCE ${ASSETS_SRC_DIR}/ground.glb DESTINATION ${ASSETS_DIR}/ground.glb TARGET wivrn) +add_custom_target(assets ALL DEPENDS + ${ASSETS_DIR}/wivrn.png +) + +add_dependencies(wivrn assets) + +if(ANDROID) + find_program(TOKTX toktx REQUIRED) + add_custom_command(OUTPUT ${ASSETS_DIR}/wivrn.ktx2 + COMMAND ${TOKTX} --encode astc --astc_blk_d 4x4 --astc_quality 100 --genmipmap ${ASSETS_DIR}/wivrn.ktx2 ${ASSETS_DIR}/wivrn.png + DEPENDS ${ASSETS_DIR}/wivrn.png) + + add_custom_command(OUTPUT ${ASSETS_DIR}/default_icon.ktx2 + COMMAND ${TOKTX} --encode astc --astc_blk_d 4x4 --astc_quality 100 --genmipmap ${ASSETS_DIR}/wivrn.ktx2 ${ASSETS_DIR}/default_icon.png + DEPENDS ${ASSETS_DIR}/default_icon.png) + + add_custom_command(OUTPUT ${ASSETS_DIR}/WoodFloor051_1K-JPG_Color.ktx2 + COMMAND ${TOKTX} --encode astc --astc_blk_d 12x12 --astc_quality 100 --genmipmap ${ASSETS_DIR}/WoodFloor051_1K-JPG_Color.ktx2 ${AST_SRC_DIR}/WoodFloor051_1K-JPG_Color.jpg + DEPENDS ${AST_SRC_DIR}/WoodFloor051_1K-JPG_Color.jpg) + + add_custom_command(OUTPUT ${ASSETS_DIR}/vr_splash.png + COMMAND ${CMAKE_COMMAND} -E copy ${ASSETS_DIR}/wivrn.png ${ASSETS_DIR}/vr_splash.png + DEPENDS ${ASSETS_DIR}/wivrn.png) + + add_custom_target(assets-android ALL DEPENDS + ${ASSETS_DIR}/wivrn.ktx2 + ${ASSETS_DIR}/WoodFloor051_1K-JPG_Color.ktx2 + ${ASSETS_DIR}/vr_splash.png + ) + add_dependencies(assets-android assets) + add_dependencies(wivrn assets-android) endif() wivrn_webxr_download() diff --git a/client/scenes/lobby.cpp b/client/scenes/lobby.cpp index 38dbe10b..8ffc30c5 100644 --- a/client/scenes/lobby.cpp +++ b/client/scenes/lobby.cpp @@ -1278,20 +1278,7 @@ void scenes::lobby::on_focused() vps, image_cache); - auto t = std::chrono::system_clock::to_time_t(std::chrono::system_clock::now()); - auto tm = std::localtime(&t); - switch (tm->tm_mon) - { - case 5: - about_picture = imgui_ctx->load_texture("assets://wivrn-pride.ktx2"); - break; - case 11: - about_picture = imgui_ctx->load_texture("assets://wivrn-christmas.ktx2"); - break; - default: - about_picture = imgui_ctx->load_texture("assets://wivrn.ktx2"); - break; - } + about_picture = imgui_ctx->load_texture("assets://wivrn.ktx2"); default_environment_screenshot = imgui_ctx->load_texture("assets://default-environment.ktx2"); diff --git a/client/scenes/lobby_gui.cpp b/client/scenes/lobby_gui.cpp index 4118fcb0..168cd844 100644 --- a/client/scenes/lobby_gui.cpp +++ b/client/scenes/lobby_gui.cpp @@ -1130,6 +1130,9 @@ void scenes::lobby::gui_about() ImGui::SetCursorPosX(win_width / 4); ImGui::Image(about_picture, {win_width / 2, win_width / 2}); + ImGui::PushFont(nullptr, constants::gui::font_size_large); + CenterTextH(std::string("Sneed'n'Chuck Edition")); + ImGui::PopFont(); } void scenes::lobby::gui_first_run() diff --git a/images/wivrn-pride.svg b/images/wivrn-pride.svg deleted file mode 100644 index 71c38d51..00000000 --- a/images/wivrn-pride.svg +++ /dev/null @@ -1,622 +0,0 @@ - - - -WiVRn Wyvern yippe and GayvrnWiVRn Wyvern yippe and Gayvrn1/25/25 and 5/12/25Yaya, y.a.y.a on Discord.