ref: 1184dc33223639c8f20dfead77b0e6411bc651f7
parent: 8326781658c825bd9f9ba01e651ff7fd3005f54b
author: rodri <rgl@antares-labs.eu>
date: Mon Nov 11 07:04:56 EST 2024
bts: proper board names when watching a match.
--- a/bts.c
+++ b/bts.c
@@ -388,10 +388,10 @@
p = Pt(SCRW/2 - stringwidth(font, s)/2, 0);
string(dst, p, pal[PCWhite], ZP, font, s);
- s = "TARGET";
+ s = gamestate == Watching? "PLAYER 1": "TARGET";
p = subpt(alienboard.bbox.min, Pt(font->width+2+Borderwidth,0));
vstring(dst, p, pal[PCWhite], ZP, font, s);
- s = "LOCAL";
+ s = gamestate == Watching? "PLAYER 2": "LOCAL";
p = Pt(localboard.bbox.max.x+2+Borderwidth, localboard.bbox.min.y);
vstring(dst, p, pal[PCWhite], ZP, font, s);