… | |
… | |
45 | surround_index += 8; |
45 | surround_index += 8; |
46 | return surround_index; |
46 | return surround_index; |
47 | } |
47 | } |
48 | |
48 | |
49 | void |
49 | void |
50 | put_doors (mapstruct *the_map, char **maze, const char *doorstyle, RMParms * RP) |
50 | put_doors (maptile *the_map, char **maze, const char *doorstyle, RMParms * RP) |
51 | { |
51 | { |
52 | int i, j; |
52 | int i, j; |
53 | mapstruct *vdoors; |
53 | maptile *vdoors; |
54 | mapstruct *hdoors; |
54 | maptile *hdoors; |
55 | char doorpath[128]; |
55 | char doorpath[128]; |
56 | |
56 | |
57 | if (!strcmp (doorstyle, "none")) |
57 | if (!strcmp (doorstyle, "none")) |
58 | return; |
58 | return; |
59 | vdoors = find_style ("/styles/doorstyles", doorstyle, -1); |
59 | vdoors = find_style ("/styles/doorstyles", doorstyle, -1); |