Re: Corridors can be hard to make



Krice <paulkp@xxxxxxxx> schrieb:

> Not that simple. I have to use some kind of algorithm to determine
> that the corridor goes through a "straight" wall..

00000000
01###100
0#...110
0#....#0
011...#0
001###10
00000000

Make all ther corner's 1's, then just go through the 0's without
touching a 1 until you hit a #.

--
Jim Strathmeyer
.



Relevant Pages

  • Watch[captain] gets angry for no reason?
    ... striking as the remaining wolfies pass within the door, straight ahead. ... Noting that there were still plenty of watchmen and their captain out ... space contained a shopkeeper wall. ... I saw nothing about any watch* getting angry. ...
    (rec.games.roguelike.nethack)
  • Re: Laser Level Help
    ... to do well at projecting a straight line. ... I received a laser level as a gift. ... >> I just want to know how to project a level horizontal line on the wall. ... go to the wall and put a pencil dot there. ...
    (alt.home.repair)
  • Re: Artefactless fov
    ... square is seen or not now hinges on whether that square is a wall. ... If 'a' is a wall, it is visible, but if it isn't a wall, then it isn't ... which Raycasting with Bresenham's Algorithm FoV approximates. ...
    (rec.games.roguelike.development)
  • Re: Whose due?
    ... You must have one heck of a large score card on ... your wall to keep them all straight. ...
    (rec.crafts.textiles.quilting)
  • Re: Purpose of Relief Cut on Back of Baseboard Molding
    ... I really hate caulking trim. ... any pride in their work," like caulking the seems between wall and trim. ... In a perfect world walls are flat, baseboard is straight... ... That is why I use 3M hotmelt and silicon to attach baseboard. ...
    (rec.woodworking)