From 8c0f7d57574d0c3a468198e052ff4404a78acbac Mon Sep 17 00:00:00 2001 From: James R Date: Thu, 29 Jun 2023 18:41:19 -0700 Subject: [PATCH] Add Draw::Font::kZVote and Draw::Font::kPing - OPPRF_FONT - PINGF_FONT --- src/v_draw.cpp | 6 ++++++ src/v_draw.hpp | 2 ++ 2 files changed, 8 insertions(+) diff --git a/src/v_draw.cpp b/src/v_draw.cpp index 7b994330e..c10933707 100644 --- a/src/v_draw.cpp +++ b/src/v_draw.cpp @@ -115,6 +115,12 @@ int Draw::font_to_fontno(Font font) case Font::kFreeplay: return KART_FONT; + + case Font::kZVote: + return OPPRF_FONT; + + case Font::kPing: + return PINGF_FONT; } return TINY_FONT; diff --git a/src/v_draw.hpp b/src/v_draw.hpp index 7acd82bfb..6234170b4 100644 --- a/src/v_draw.hpp +++ b/src/v_draw.hpp @@ -34,6 +34,8 @@ public: kGamemode, kConsole, kFreeplay, + kZVote, + kPing, }; enum class Align