On Sunday 29 March 2009 18:17:17 Jack Spade wrote:
> I have FreeCell Pro 6.5 Build 11.
> It makes reference to Solve from file solvlist.txt and Solrange.txt file
> format. Is there an explanation to these files and how to use them?
I cannot tell you off-hand. However, from looking at the Freecell Pro source
here:
http://fc-solve.berlios.de/don_woods.html
I see some references to them:
{{{{{{{{{{
shlomi:$trunk/fc-solve/site/wml/FC-Pro$ grep -iP 'solvlist\.txt|Solrange\.txt'
*
File.c: lstrcpy(gszLoadFile, "solvlist.txt") ;
File.c: MainMessage("Solvlist.txt file not present") ;
Free1.c: gfpSolFile = fopen ("solrange.txt", "w");
Free2.c: gfpSolFile = fopen ("solrange.txt", "w");
Free3.c: gfpSolFile = fopen ("solrange.txt", "w");
Main.rc: CONTROL "From File solvlist.txt",IDC_SOLVE4,"Button",
Main.rc: GROUPBOX "Solrange.txt File Format",IDC_STATIC,5,99,132,21,
Main.rc: CONTROL "From File solvlist.txt",IDC_SOLVE4,"Button",
Main.rc: GROUPBOX "Solrange.txt File Format",IDC_STATIC,4,80,131,23,
Main.rc: CONTROL "From File solvlist.txt",IDC_SOLVE4,"Button",
Main.rc: GROUPBOX "Solrange.txt File Format",IDC_STATIC,5,77,126,28,
]}}}}}}}}
solrange.txt appears to be opened only for writing. As for solvlist.txt - it
appears to contain a list of numbers of boards to solve. The code to parse it
is pretty hideous, and I also spotted a bug there where fhFile, which is a
global variable, was closed instead of fhFileSF, which is another global.
Regards,
Shlomi Fish
>
> Jack
--
-----------------------------------------------------------------
Shlomi Fish http://www.shlomifish.org/
http://www.shlomifish.org/humour/ways_to_do_it.html
God gave us two eyes and ten fingers so we will type five times as much as we
read.
Received on Mon Mar 30 2009 - 09:29:45 IDT