Re: [Wesnoth-dev] Savefiles and game threads

2008-02-10 Thread Eric S. Raymond
John McNabb <[EMAIL PROTECTED]>: > Why not store the history of save file IDs as a comma seperated list? > Deleted files wouldn't kill you, and you could still reconstruct the > whole tree. That's a good idea. -- http://www.catb.org/~esr/";>Eric S. Raymond ___

Re: [Wesnoth-dev] Savefiles and game threads

2008-02-10 Thread Eric S. Raymond
Karol 'grzywacz' Nowak <[EMAIL PROTECTED]>: > Eric S. Raymond wrote: > > > So, as a beginning, I'm proposing that savefiles should grow two new > > fields: (1) A unique ID, and (2), a parent field containing the > > ID of the immediately preceding savefile. For a root (start-of-campaign) > > sav

Re: [Wesnoth-dev] Savefiles and game threads

2008-02-10 Thread John McNabb
On Sun, Feb 10, 2008 at 12:31 PM, Karol 'grzywacz' Nowak <[EMAIL PROTECTED]> wrote: > Eric S. Raymond wrote: > > What if someone deletes a save from withing the sequence? > Why not store the history of save file IDs as a comma seperated list? Deleted files wouldn't kill you, and you could still r

Re: [Wesnoth-dev] Savefiles and game threads

2008-02-10 Thread Karol 'grzywacz' Nowak
Eric S. Raymond wrote: > So, as a beginning, I'm proposing that savefiles should grow two new > fields: (1) A unique ID, and (2), a parent field containing the > ID of the immediately preceding savefile. For a root (start-of-campaign) > savefile the parent ID field would be blank or omitted. Wh

Re: [Wesnoth-dev] Savefiles and game threads

2008-02-05 Thread Eric S. Raymond
Joseph Simmons <[EMAIL PROTECTED]>: > Keep in mind that you don't necessarily have a linear progression - > you can load a single scenario and play it two different ways, and > want to continue both paths. I know. That's why I mentioned the possibility that the game might be a tree, and why my dat

Re: [Wesnoth-dev] Savefiles and game threads

2008-02-04 Thread Joseph Simmons
Keep in mind that you don't necessarily have a linear progression - you can load a single scenario and play it two different ways, and want to continue both paths. (Currently this is irritating to do because the second play-through will overwrite the first, but that can be circumvented even now.) S

Re: [Wesnoth-dev] Savefiles and game threads

2008-02-04 Thread Eric S. Raymond
Bruno Wolff III <[EMAIL PROTECTED]>: > I think the question is do we want to be storing meta data about save games > in the save games' path names? We might want to do this to help humans choose > the right save game. But I expect that instances of people meddling with save > game files using OS co

Re: [Wesnoth-dev] Savefiles and game threads

2008-02-04 Thread jeremy rosen
all this sounds good to me, I just want to point out two details in your design [EMAIL PROTECTED] is a very bad way of having unique ids under unix system ... first because some distro keep the default hostnames on all system and allmachines are not full time on the net => no domain names OTOH we

Re: [Wesnoth-dev] Savefiles and game threads

2008-02-04 Thread Bruno Wolff III
On Mon, Feb 04, 2008 at 15:27:57 -0500, "Eric S. Raymond" <[EMAIL PROTECTED]> wrote: > > Users don't want to view their saves by campaign type. They want to > view them by *game* -- where a game is a sequence of saves (or > possibly a tree of saves) derived from a common campaign-start > ances

[Wesnoth-dev] Savefiles and game threads

2008-02-04 Thread Eric S. Raymond
This is a design proposal/discussion for 1.5. I have been thinking about Ivanovic's proposal that we split the users save directory into subdirectories by campaign type. What this is intended to do is make it more manageable to have lots of savefiles around by making it nrecessary to look at all