From b771d31a1873c4cbdd710601b90e6b54619ba36d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Madar=C3=A1sz?= Date: Fri, 16 Aug 2024 14:08:47 +0200 Subject: [PATCH] ddraw text2d use dd_color --- engine/joint/v4k.h | 2 +- engine/split/v4k_renderdd.c | 2 +- engine/v4k.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/engine/joint/v4k.h b/engine/joint/v4k.h index 02ddf3b..7db3123 100644 --- a/engine/joint/v4k.h +++ b/engine/joint/v4k.h @@ -386437,7 +386437,7 @@ void ddraw_text2d(vec2 pos, const char *text) { t.sca = 0.5f; // 0.5 is like vertical 12units each t.pos = vec3(pos.x, 0 - pos.y - 12, 0); t.str = text; - t.col = YELLOW; + t.col = dd_color; array_push(dd_text2d, t); } diff --git a/engine/split/v4k_renderdd.c b/engine/split/v4k_renderdd.c index e1cb0c2..c6d8a36 100644 --- a/engine/split/v4k_renderdd.c +++ b/engine/split/v4k_renderdd.c @@ -276,7 +276,7 @@ void ddraw_text2d(vec2 pos, const char *text) { t.sca = 0.5f; // 0.5 is like vertical 12units each t.pos = vec3(pos.x, 0 - pos.y - 12, 0); t.str = text; - t.col = YELLOW; + t.col = dd_color; array_push(dd_text2d, t); } diff --git a/engine/v4k.c b/engine/v4k.c index b9c70d2..cd32eb6 100644 --- a/engine/v4k.c +++ b/engine/v4k.c @@ -21617,7 +21617,7 @@ void ddraw_text2d(vec2 pos, const char *text) { t.sca = 0.5f; // 0.5 is like vertical 12units each t.pos = vec3(pos.x, 0 - pos.y - 12, 0); t.str = text; - t.col = YELLOW; + t.col = dd_color; array_push(dd_text2d, t); }