ddraw text2d use dd_color
parent
bc81a034af
commit
b771d31a18
|
@ -386437,7 +386437,7 @@ void ddraw_text2d(vec2 pos, const char *text) {
|
||||||
t.sca = 0.5f; // 0.5 is like vertical 12units each
|
t.sca = 0.5f; // 0.5 is like vertical 12units each
|
||||||
t.pos = vec3(pos.x, 0 - pos.y - 12, 0);
|
t.pos = vec3(pos.x, 0 - pos.y - 12, 0);
|
||||||
t.str = text;
|
t.str = text;
|
||||||
t.col = YELLOW;
|
t.col = dd_color;
|
||||||
array_push(dd_text2d, t);
|
array_push(dd_text2d, t);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -276,7 +276,7 @@ void ddraw_text2d(vec2 pos, const char *text) {
|
||||||
t.sca = 0.5f; // 0.5 is like vertical 12units each
|
t.sca = 0.5f; // 0.5 is like vertical 12units each
|
||||||
t.pos = vec3(pos.x, 0 - pos.y - 12, 0);
|
t.pos = vec3(pos.x, 0 - pos.y - 12, 0);
|
||||||
t.str = text;
|
t.str = text;
|
||||||
t.col = YELLOW;
|
t.col = dd_color;
|
||||||
array_push(dd_text2d, t);
|
array_push(dd_text2d, t);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -21617,7 +21617,7 @@ void ddraw_text2d(vec2 pos, const char *text) {
|
||||||
t.sca = 0.5f; // 0.5 is like vertical 12units each
|
t.sca = 0.5f; // 0.5 is like vertical 12units each
|
||||||
t.pos = vec3(pos.x, 0 - pos.y - 12, 0);
|
t.pos = vec3(pos.x, 0 - pos.y - 12, 0);
|
||||||
t.str = text;
|
t.str = text;
|
||||||
t.col = YELLOW;
|
t.col = dd_color;
|
||||||
array_push(dd_text2d, t);
|
array_push(dd_text2d, t);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue