Spear of Light

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • Sky
    replied
    Originally posted by agoodman
    (argh this forum seems to have some real issues. I keep getting errors and can't be sure when what I say gets posted)
    it does - have faith.

    Leave a comment:


  • agoodman
    replied
    Originally posted by backwardsEric
    glow_can_light_wall() in cave-view.c is what's causing this. A proposed change is up at https://github.com/angband/angband/pull/5975 . It reverts a change made in 2019 which should no longer be needed as source_can_light_wall() in cave-view.c should keep walls from appearing lit if not viewed from the right direction.
    I got all the way in debugging to think maaaaybe it was in glow_can_light_wall() but had no clue how to fix it.
    Thanks

    Leave a comment:


  • backwardsEric
    replied
    glow_can_light_wall() in cave-view.c is what's causing this. A proposed change is up at https://github.com/angband/angband/pull/5975 . It reverts a change made in 2019 which should no longer be needed as source_can_light_wall() in cave-view.c should keep walls from appearing lit if not viewed from the right direction.

    Leave a comment:


  • agoodman
    replied
    Originally posted by agoodman
    ok, I can take a quick look at a fix for it. It doesn't look hard.
    Well, I was wrong about it not being hard. It looks to me like it is setting "SQUARE_GLOW" which is what I would have thought would be needed to make that square visible. I tried setting SQUARE_SEEN too but that didn't work. Not sure what should change. I can keep looking but if you or Eric wants to hop in, it would get done faster.

    Leave a comment:


  • agoodman
    replied
    (argh this forum seems to have some real issues. I keep getting errors and can't be sure when what I say gets posted)

    Leave a comment:


  • agoodman
    replied
    ok, I can take a quick look at a fix for it. It doesn't look hard.

    Leave a comment:


  • Nick
    replied
    That was not done on purpose.

    Leave a comment:


  • agoodman
    started a topic Spear of Light

    Spear of Light

    A change that is giving the borg a bit of trouble and I am not sure if this was done on purpose.

    in an unknown hall
    Code:
    ####
    @..
    ####
    what the reality (but not yet mapped) is:

    Code:
    ########
    @......#
    ########
    ​​
    shoot spear of light down hall
    in 3.x get:
    Code:
    ########
    @......#
    ########
    ​
    (wall at end lit up)
    in 4.x get:
    Code:
    ########
    @......
    ########
    ​
    ​(last wall not lit up)

    Is this on purpose? If so I need to code around it for the borg and guess that after the beam, if less than beam length, guess that it is a wall.
Working...
😀
😂
🥰
😘
🤢
😎
😞
😡
👍
👎