readable play board names
このコミットが含まれているのは:
コミット
79be4652d3
2
uttt.c
2
uttt.c
|
@ -271,7 +271,7 @@ void ut_bmvch(void *arg, int y, int x, char c)
|
||||||
int dtiles_line;
|
int dtiles_line;
|
||||||
void ut_cursdraw(const struct ut_state *state)
|
void ut_cursdraw(const struct ut_state *state)
|
||||||
{
|
{
|
||||||
ut_cursprintf("Turn: %c Play board: %d\n", (int)state->player, state->playBoard);
|
ut_cursprintf("Turn: %c Play board: %s\n", (int)state->player, PLAY_BOARDS[(state->playBoard + 10) % 10]);
|
||||||
dtiles_line = curs_line;
|
dtiles_line = curs_line;
|
||||||
ut_drawTiles(ut_cursmvchc, NULL, state, false, -1, -1); // TODO some kind of move history to know the last move
|
ut_drawTiles(ut_cursmvchc, NULL, state, false, -1, -1); // TODO some kind of move history to know the last move
|
||||||
curs_line += DTILES_Y;
|
curs_line += DTILES_Y;
|
||||||
|
|
読み込み中…
新しいイシューから参照