![]() |
Quote:
|
New builds now up on the nightlies page and angband.live with the following changes:
|
I like the new character expanded screen.
I picked up a wicker shield on Angband.Live with "makes you slow to recover hit points". I would expect a + in the ImpHP but nothing was there. |
Quote:
What *should* happen is that when you learn the curse you learn the property. Could you check the knowledge menu ('~') for runes and se whether you have both? The curse is under "Curses", the property under "Other". |
Quote:
Thanks! I didn't know about the Runes knowledge menu. Cool. They're both there. |
I thought I'd post this here. It's a little function that I added while porting the struct loc refactoring to PWMAngband to make some code clearer. Here it is:
Code:
bool loc_iterator(struct loc *iter, struct loc *grid1, struct loc *grid2, bool strict) Code:
for (y = y1; y < y2; y++) { Code:
loc_copy(&iter, &grid1); |
Quote:
|
Quote:
|
It's nice but I think something like this is nicer because you can keep using for loop, though bit wordy.
Code:
struct loc_iterator { Code:
for (y = y1; y < y2; y++) { Code:
for (struct loc_iterator iter = loc_iterator(loc(x1, y1), loc(x2, y2)); Code:
for (y = y1 - 1; y < y2 + 1; y++) { Code:
for (struct loc_iterator iter = loc_iterator(loc(x1 - 1, y1 - 1), loc(x2 + 1, y2 + 1)); |
Too bad C doesnt have anonymous functions. Then you could package up the loop contents in a function, and execute the whole thing with a single subroutine call.
|
All times are GMT +1. The time now is 09:51. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.