version 1.12 | | version 1.13 |
---|
| | |
/* | | /* |
* static char *rcsid_los_c = | | * static char *rcsid_los_c = |
* "$Id: los.c,v 1.12 2005/04/17 04:25:53 mwedel Exp $"; | | * "$Id: los.c,v 1.13 2005/07/15 13:51:49 ryo_saeba Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
sprintf(buf2,"%2d",x); | | sprintf(buf2,"%2d",x); |
strcat(buf,buf2); | | strcat(buf,buf2); |
} | | } |
(*draw_info_func)(NDI_UNIQUE, 0, op, buf); | | new_draw_info(NDI_UNIQUE, 0, op, buf); |
for(y=0;y<op->contr->socket.mapy;y++) { | | for(y=0;y<op->contr->socket.mapy;y++) { |
sprintf(buf,"%2d:",y); | | sprintf(buf,"%2d:",y); |
for(x=0;x<op->contr->socket.mapx;x++) { | | for(x=0;x<op->contr->socket.mapx;x++) { |
sprintf(buf2," %1d",op->contr->blocked_los[x][y]); | | sprintf(buf2," %1d",op->contr->blocked_los[x][y]); |
strcat(buf,buf2); | | strcat(buf,buf2); |
} | | } |
(*draw_info_func)(NDI_UNIQUE, 0, op, buf); | | new_draw_info(NDI_UNIQUE, 0, op, buf); |
} | | } |
} | | } |
| | |