version 1.1 | | version 1.2 |
---|
| | |
/* | | /* |
* static char *rcsid_door_c = | | * static char *rcsid_door_c = |
* "$Id: door.c,v 1.1 1999/04/02 19:10:03 uid200 Exp $"; | | * "$Id: door.c,v 1.2 1999/04/15 00:19:47 cvs Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
mapstruct *hdoors; | | mapstruct *hdoors; |
char doorpath[128]; | | char doorpath[128]; |
| | |
| | if(!strcmp(doorstyle,"none")) return; |
vdoors = find_style("/styles/doorstyles/vdoors",doorstyle,-1); | | vdoors = find_style("/styles/doorstyles/vdoors",doorstyle,-1); |
| | if(!vdoors) return; |
sprintf(doorpath,"/styles/doorstyles/hdoors%s",strrchr(vdoors->path,'/')); | | sprintf(doorpath,"/styles/doorstyles/hdoors%s",strrchr(vdoors->path,'/')); |
hdoors = find_style(doorpath,0,-1); | | hdoors = find_style(doorpath,0,-1); |
for(i=0;i<Xsize;i++) | | for(i=0;i<Xsize;i++) |