Angband Forums

Angband Forums (http://angband.oook.cz/forum/index.php)
-   Vanilla (http://angband.oook.cz/forum/forumdisplay.php?f=3)
-   -   Code: Notes live where? (http://angband.oook.cz/forum/showthread.php?t=1531)

camlost February 20, 2009 20:08

Code: Notes live where?
 
Where is the standard place to store the notes (and autonotes) for a character? I think I found a patch that seems to store them externally, but I assume that it is more common to save it within the savefile.

Alternately, is there a GPL-compatible note/autonotes patch I can copy from?

Pete Mack February 20, 2009 20:43

I don't know about a patch, but V and FA store it in the savefile, and do not keep an external file during the game (as NPP does).

Nick February 20, 2009 20:44

That patch is I suspect where NPP got it's implementation from (or vice versa). NPP originally stored the notes in a separate file, which had several problems. I don't know if there is a patch for the current V setup (although stuff was posted to the angband-dev mailing list). It should be fairly straightforward just to lift one of the current implementations, though - V and FA have good setups, I haven't checked NPP's in a while.

camlost February 20, 2009 20:54

Quote:

Originally Posted by Nick (Post 15869)
That patch is I suspect where NPP got it's implementation from (or vice versa). NPP originally stored the notes in a separate file, which had several problems. I don't know if there is a patch for the current V setup (although stuff was posted to the angband-dev mailing list). It should be fairly straightforward just to lift one of the current implementations, though - V and FA have good setups, I haven't checked NPP's in a while.

FA is GPL, right? Is there a list of variants and licenses for those trying to lift code?

Nick February 20, 2009 21:11

Quote:

Originally Posted by camlost (Post 15871)
FA is GPL, right?

Current version technically not, next one will be. That said, the notes stuff is taken from Jeff Greene's NPP implementation, and modified by me, and we're both signed up members of the GPL push, so I think you're clear. IIRC almost all the GPL-dubious stuff is in the main-xxx.c files, which are well away from any notes content. If you're in any doubt, use the V one.


All times are GMT +1. The time now is 13:57.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.