version 1.10 | | version 1.11 |
---|
| | |
/* | | /* |
* static char *rcsid_treasure_c = | | * static char *rcsid_treasure_c = |
* "$Id: treasure.c,v 1.10 2001/02/23 06:06:35 mwedel Exp $"; | | * "$Id: treasure.c,v 1.11 2001/04/08 23:32:19 mardahl Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
int i,j; | | int i,j; |
/* search the onion for C's or '>', and put treasure there. */ | | /* search the onion for C's or '>', and put treasure there. */ |
for(i=0;i<RP->Xsize;i++) { | | for(i=0;i<RP->Xsize;i++) { |
for(j=0;j<RP->Xsize;j++) { | | for(j=0;j<RP->Ysize;j++) { |
if(layout[i][j]=='C' || layout[i][j]=='>') { | | if(layout[i][j]=='C' || layout[i][j]=='>') { |
int tdiv = RP->symmetry_used; | | int tdiv = RP->symmetry_used; |
object **doorlist; | | object **doorlist; |