From 9c98b5e2c22ab1109c02f6e942759ce17f7a7df5 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sat, 25 May 2024 21:33:27 -0500 Subject: [PATCH] [studio/modlib] Remove color.hpp --- .../studio/modlib/include/studio/color.hpp | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 src/olympic/studio/modlib/include/studio/color.hpp diff --git a/src/olympic/studio/modlib/include/studio/color.hpp b/src/olympic/studio/modlib/include/studio/color.hpp deleted file mode 100644 index 2e117eaa..00000000 --- a/src/olympic/studio/modlib/include/studio/color.hpp +++ /dev/null @@ -1,17 +0,0 @@ -#pragma once - -#include - -namespace studio { - -[[nodiscard]] -constexpr nostalgia::core::Color16 applySelectionColor( - nostalgia::core::Color16 const color) noexcept { - namespace core = nostalgia::core; - auto const r = core::red16(color) / 2; - auto const g = (core::green16(color) + 20) / 2; - auto const b = (core::blue16(color) + 31) / 2; - return core::color16(r, g, b); -} - -} \ No newline at end of file