callback for is_ok_location. stairs generated at random location shouldn't overwrite special terrain */
| 4136 | /* callback for is_ok_location. |
| 4137 | stairs generated at random location shouldn't overwrite special terrain */ |
| 4138 | staticfn boolean |
| 4139 | good_stair_loc(coordxy x, coordxy y) |
| 4140 | { |
| 4141 | schar typ = levl[x][y].typ; |
| 4142 | |
| 4143 | return (typ == ROOM || typ == CORR || typ == ICE); |
| 4144 | } |
| 4145 | |
| 4146 | staticfn int |
| 4147 | l_create_stairway(lua_State *L, boolean using_ladder) |
nothing calls this directly
no outgoing calls
no test coverage detected