version 1.4 | | version 1.5 |
---|
| | |
/* | | /* |
* static char *rcsid_wall_c = | | * static char *rcsid_wall_c = |
* "$Id: wall.c,v 1.4 2000/12/15 03:09:19 peterm Exp $"; | | * "$Id: wall.c,v 1.5 2001/04/18 23:25:11 avogl Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
| | |
sprintf(RP->wall_name,"%s",the_wall->arch->name); | | sprintf(RP->wall_name,"%s",the_wall->arch->name); |
if ((cp=strchr(RP->wall_name,'_'))!=NULL) *cp=0; | | if ((cp=strchr(RP->wall_name,'_'))!=NULL) *cp=0; |
printf("the wall name is %s\n",RP->wall_name); | | |
for(i=0;i<RP->Xsize;i++) | | for(i=0;i<RP->Xsize;i++) |
for(j=0;j<RP->Ysize;j++) { | | for(j=0;j<RP->Ysize;j++) { |
if(layout[i][j]=='#') { | | if(layout[i][j]=='#') { |