On Fri, Oct 21, 2011 at 12:54:04AM +1300, Ralph Versteegen wrote:
> On 21 October 2011 00:40,  <[email protected]> wrote:
> > teeemcee
> > 2011-10-20 04:40:38 -0700 (Thu, 20 Oct 2011)
> > 112
> > autotest: tests for import/export globals. Behaviour of deletesave has 
> > changed; that failing test commented out.
> > ---
> > U   wip/testgame/autotest.hss
> > U   wip/testgame/autotest.rpg
> 
> The documentation for deletesave specifically says:
> "The save will no longer be visible on the load game menu or loadable
> with <ref>loadfromslot</ref>. However, <ref>importglobals</ref> can
> still be used to read globals out of the slot."
> but I don't I want to bother implementing this. import/export globals
> already has a ridiculously complicated implementation without all the
> trouble for this pedantic detail. If no games use both deletesave and
> importglobals (I might have used this in one of my games, can't
> remember), then it would be better to just change the documentation.
> Let's wait on the full scanscripts.py results.

yeah, I think it is a kinda silly feature, and was just a side-effect of 
the implementation details of the old .sav format.

I do know the feature that exports/imports globals in empty slots is 
depended upon by a bunch of games, but I am not aware of any game that 
depends on the persistence of globals in a slot that was freed with 
deletesave.

---
James
_______________________________________________
Ohrrpgce mailing list
[email protected]
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org

Reply via email to