From 4ea37d00f3ca4ffa70ada6989717dd0c76a5eb86 Mon Sep 17 00:00:00 2001 From: stpohle Date: Sun, 4 May 2003 01:38:54 +0000 Subject: [PATCH] Display net_pkgsend_set value on the game screen --- src/game.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/game.c b/src/game.c index d6305fe..a5f8eed 100644 --- a/src/game.c +++ b/src/game.c @@ -78,6 +78,13 @@ game_draw_info () draw_text (100, 32, "Waiting for the Server to Start", 1); gfx_AddUpdateRect (100, 32, gfx.res.x - 100, 16); + redraw_logo (0, gfx.res.y - gfx.font.size.y, gfx.res.x, gfx.res.y); + for (x = 0; x < bman.fieldsize.x; x++) + draw_stone (x, bman.fieldsize.y-1); + sprintf (text, "Net Option: %2d", bman.net_pkgsend_set); + draw_text (0, gfx.res.y - gfx.font.size.y, text, 1); + gfx_AddUpdateRect (0, gfx.res.y - gfx.font.size.y, gfx.res.x, gfx.font.size.y); + if (chat.visible == 0) { SDL_Flip (gfx.screen); chat_show (4, 3*16, gfx.res.x - 4, gfx.offset.y);