Display net_pkgsend_set value on the game screen

origin
stpohle 23 years ago
parent ba43fa617d
commit 4ea37d00f3

@ -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);

Loading…
Cancel
Save