version 1.8 | | version 1.9 |
---|
| | |
/* | | /* |
* static char *rcsid_treasure_c = | | * static char *rcsid_treasure_c = |
* "$Id: treasure.c,v 1.8 2000/12/15 03:09:19 peterm Exp $"; | | * "$Id: treasure.c,v 1.9 2001/02/11 08:17:06 peterm Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
/* map_layout_style global, and is previously set */ | | /* map_layout_style global, and is previously set */ |
switch(RP->map_layout_style) { | | switch(RP->map_layout_style) { |
case ONION_LAYOUT: | | case ONION_LAYOUT: |
| | case SPIRAL_LAYOUT: |
| | case SQUARE_SPIRAL_LAYOUT: |
{ | | { |
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. */ |
| | |
} | | } |
break; | | break; |
} | | } |
case MAZE_LAYOUT: | | default: |
{ | | { |
int i,j,tries; | | int i,j,tries; |
object *chest; | | object *chest; |