i forgot to add file mapmenu.c and to change the Makefile.MINGW.*

origin
stpohle 23 years ago
parent dff79a295c
commit 7306879f5f

@ -78,7 +78,6 @@ ReadConfig ()
return -1; return -1;
} }
d_printf ("Reading Config-file: %s", filename); d_printf ("Reading Config-file: %s", filename);
/* printf("Reading config file...\n"); */
while (fgets (buf, sizeof (buf), config) != NULL) { while (fgets (buf, sizeof (buf), config) != NULL) {
findit = strchr (buf, '\n'); findit = strchr (buf, '\n');

@ -264,6 +264,7 @@ wait_for_players ()
else { /* we have a connect so draw status */ else { /* we have a connect so draw status */
mw_draw_status (); mw_draw_status ();
mw_draw_gfxselect (selgfx); mw_draw_gfxselect (selgfx);
UpdateRects_nr = 0;
gfx_AddUpdateRect (0, 0, gfx.res.x, mw_y); gfx_AddUpdateRect (0, 0, gfx.res.x, mw_y);
mw_draw_chat (); mw_draw_chat ();
} }
@ -346,9 +347,13 @@ wait_for_players ()
if ((GT_MP_PTPM) && keys[SDLK_F5] && (!keypressed)) { if ((GT_MP_PTPM) && keys[SDLK_F5] && (!keypressed)) {
/* Map modification */ /* Map modification */
menu_get_text ("Enter the path of a field file", bman.fieldpath, 30); mapmenu ();
draw_logo (); mw_draw_status ();
chat_drawbox (); mw_draw_gfxselect (selgfx);
UpdateRects_nr = 0;
gfx_AddUpdateRect (0, 0, gfx.res.x, mw_y);
mw_draw_chat ();
gfx_UpdateRects ();
} }
chat_loop (&event); chat_loop (&event);

Loading…
Cancel
Save