little changes..

origin
stpohle 19 years ago
parent 25d65a2b41
commit 06d3e6dafe

@ -1,8 +1,11 @@
$Id: ChangeLog,v 1.115 2006/08/20 01:14:41 stpohle Exp $
$Id: ChangeLog,v 1.116 2006/12/15 18:41:45 stpohle Exp $
Version 0.11.7.1 (still in progress)
================
- Fixed: compile warning: packets.c(635): error #592: variable "s_mod" is
used before its value is set (reported by: David Binderman)
- Changed: all data will have thier own Makefile. So "make install" and
"make dist" won't copy the CVS dirs.

@ -1,4 +1,4 @@
/* $Id: field.c,v 1.59 2006/08/15 16:05:09 stpohle Exp $ */
/* $Id: field.c,v 1.60 2006/12/15 18:41:45 stpohle Exp $ */
/* field.c - procedures which are needed to control the field */
#include "bomberclone.h"
@ -185,16 +185,21 @@ draw_stone (int x, int y)
stone_drawfire (x, y, -1);
break;
}
/*
if (debug) {
char txt[64];
/* ex numbers..
sprintf (txt, "%d,%d%d", map.field[x][y].ex[0].count, map.field[x][y].ex[0].bomb_p, map.field[x][y].ex[0].bomb_b); font_gfxdraw (dest.x, dest.y, txt, 0, COLOR_white, (y*256) + 10);
sprintf (txt, "%d,%d%d", map.field[x][y].ex[1].count, map.field[x][y].ex[1].bomb_p, map.field[x][y].ex[1].bomb_b); font_gfxdraw (dest.x, dest.y+10, txt, 0, COLOR_white, (y*256) + 10);
sprintf (txt, "%d,%d%d", map.field[x][y].ex[2].count, map.field[x][y].ex[2].bomb_p, map.field[x][y].ex[2].bomb_b); font_gfxdraw (dest.x, dest.y+20, txt, 0, COLOR_white, (y*256) + 10);
sprintf (txt, "%d,%d%d", map.field[x][y].ex[3].count, map.field[x][y].ex[3].bomb_p, map.field[x][y].ex[3].bomb_b); font_gfxdraw (dest.x, dest.y+30, txt, 0, COLOR_white, (y*256) + 10);
*/
/* number of bombs.. */
sprintf (txt, "%d", map.bfield[x][y]);
font_gfxdraw (dest.x, dest.y+30, txt, 0, COLOR_white, (y*256) + 10);
}
*/
return;
};

@ -638,7 +638,7 @@ send_servermode (_net_addr * addr, int pl_nr)
d_printf ("Send ServerMode : update");
break;
default:
d_printf ("Send ServerMode : mode %d", s_mod.state);
d_printf ("Send ServerMode : mode %d", bman.state);
}
d_printf ("Addr: %p\n", addr);

Loading…
Cancel
Save