mrimer wrote:
Maybe hitting Delete will prompt to erase the currently displayed checkpoint save, if any?
Sounds fine to me - Delete doesn't seem to be serving any additional purpose there, so it'd be a reasonable choice there. I'd imagine Room Start would be exempt, since there'd be too many problems with allowing that to be deleted (it's easy enough to overwrite it anyways).
mrimer wrote:
Would you mind helping me find where in the code the (automatic?) briar merging is occuring, and maybe think of a way to fix it? (Hopefully, it's easy to add an extra condition for making it not happen, and not something overly convoluted.)
I imagine it's a combination of bRecalc set in the plotted routine in Briar.cpp (set when any mature briar is cut), and the fact that bRecalc then throws away all connected information and starts from scratch, and thus only sees tiles of Roots, Mature Briar and Immature Briar, and doesn't care how connected or unconnected they were.
EDIT: Possibly slightly more involved since the stagnant briar wasn't actually *connected* to anything at the time, so possibly has a turn order component as well. Dunno. Trying to figure out the exact sequence of events now.
Which means this is definitely going to be a convoluted problem, given that we need to be sure that we're making existing briar stagnant if it needs to be stagnant. On top of that, the affected groups might end up splitting up into more groups than they were (if there was a root on either side of the door, for example), and we'd still need to make sure that any group doesn't try to expand past where it originally was.
Huhm.
Maybe go through each root and recalc as normal, but check against the old groups before adding them to the tile list? And if they're trying to add a tile they weren't connected to before the recalc, ignore it? bRecalc is only for removing briar, after all.
EDIT 2: As always when I'm attempting things I don't quite *fully* understand, I'm kinda leery about this work but... here's an attempt to fix it. So, not my best work, and could probably do with some tidying up.
It seems to be working... I'm not noticing any immediate glitches, the room in The Briary is working fine, no demos in Under the Library are breaking, and even all the rooms in some of the holds I was working on that were built around closing doors on briar seem to be working fine. But... eh, still a little concerned, simply because I'm not sure what all this could affect. Still, this is my attempt, and it isn't seeming to crash and burn, so... hope it helps.
[Last edited by TFMurphy at 09-14-2007 04:22 AM]