home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
M.u.C.S. Disc 2000
/
MUCS2000.iso
/
anwend
/
family
/
gens.doc
< prev
next >
Wrap
Text File
|
1996-10-02
|
6KB
|
224 lines
DOCUMENTATION for GENS.DAT
**************************
Its a simple text file (CR,LF) containing two parts:
- 8 first lines are reserved for the fonts
- the other lines for your family
~~~~~~~~~~~~~~~~~
First part: FONTS
~~~~~~~~~~~~~~~~~
Family uses four fonts:
- roman: normal text
- italic: the little text under a photo
- bold: the name
- italic bold: the buttons
You must know the ID of every font to pass it to Family, if no
font correspond to this ID, then the system font is used. The IDs are
given by ID_FONT.PRG that creates ID_FONT.TXT. I've found in it:
05011 dutch 801 roman
05012 dutch 801 italic
05013 dutch 801 bold
05014 dutch 801 bold italic
These are the four fonts I use with Speedo 5.
You must also indicate the point size of every font. So the 8
first lines are these:
ID of the roman font
its size
ID of the italic font
its size
ID of the bold font
its size
ID of the italic bold font
its size
Here are my settings:
5011
12
5012
10
5013
16
5014
14
~~~~~~~~~~~~~~~~~~~~~~~~
Second part: Your Family
~~~~~~~~~~~~~~~~~~~~~~~~
Starting on the 9th line, you enter the description of the members
of your family. There are only two special characters: ? and * for unknow
information or unappliable information.
THE INFORMATION ORDER IS FIXED, NO FANTASY!
Every person has a variable number of lines, here they are:
Index: ; the position of the person into this file starting at 0.
Last Name ; Upper case, it's better, I put 'X' if unknown.
First Name ; Lower case, it's better.
Birthdate or ?
; ? if unknown
; the program only adds 'born' before it, so you can use
; different sentences:
; on july, 1st, 1952 -> born on july, 1st, 1952
; in 1952 -> born in 1952
; between 1950 and 1953 -> born between 1950 and 1953
Birth place or ?
; ? if unknown
; the program adds 'in ' before, or 'born in' if the
; bithdate was unknown
Death date or ? or *
; ? if dead but date unknown
; * if still alive, so the next line MUSN'T appear
Death place or ?
; ? if unknown, don't put this line if still alive
Wedding date or ? or *
; ? if married but date unknown
; * if not married, so the next two lines MUSN'T appear
Wedding place or ?
; ? if unknow
; this line musn't appear if not married
Husband or Wife's index or -1
; if into GENS.DAT, the index, -1 if not present
Father's index or -1
; -1 if not into GENS.DAT
Mother's index or -1
; same as above
First child index or -1
; -1 if not children or if they're not into GENS.DAT
Next brother or siter's index or -1
; -1 if no brother and sister
; if the last child, I put the index of the first: it
; loops!
Sound file or *
; * if no sound
; name+extension if present, it must be located into the
; SONS folder (exemple: peter.avr)
First photo file or *
; * if no photo
; its name and extension, it must be located into the
; IMAGES folder. See Images.DOC for 16 and 256 colors
; options.
first photo legend
; a simple line text
Second photo file
second photo legend
....
; you can specify up to 7 photos per person. Those lines
; are grouped two by two. When this list is ended, put a
; line with *.
first line for Some facts or *
second line for some fact or *
...
; you can specify up to 7 lines. Their width depends on
; the font you use. Put a single * when this list is
; ended.
That's all for one person. The next one start on the line
immediatelmy following the '*'. The Index must be the previous + 1.
HOW TO END THE FILE????
Just put -1 as the index. You must do this, else the program
crashes.
Here are some examples:
Voici quelques exmples de personnes:
12 ; he is the 13th of this file
SMITH
Peter
on october, 4th, 1951 ; birthdate
Paris ; birth place
* ; still alive
* ; not married
14 ; his father has index 14
15 ; his mother has index 15
-1 ; no children
20 ; his next brother has index 20
peter.pac ; a sound
peter01.12b ; first photo
With his mother, 1959 ; the legend
peter02.12b ; second photo
His first bike, 1963 ; second legend
* ; no more photos
* ; no facts
13 ; here starts the next person
....
Other example:
8 ; he is the 9th of this file
WATSON
Philip
in the 1920's ; not precise
? ; unknown birth place
? ; dead, but don't know when
in China ; cause it was very far
in the 1960's ; not precise
between 1939 and 1945 ; married during second world war
Paris ; in Paris
-1 ; unknow wife
-1 ; father unknown
-1 ; mother unknown
-1 ; no children known
10 ; but a brother (the 11th in this file)
* ; no sound
* ; no photo
He wrote his last letter
to his brother in 1958. ; but a fact.
*
~~~~~~~
Summary
~~~~~~~
Print it, it will be useful while entering your family:
>>> Every line starts on the first column
>>> most of all with * and ? characters or filenames.
Index or -1 for the end of file
LAST NAME
First name
Birth date or ?
Birth place or ?
Death date or ? or * if still alive
Death place or ? (not present if still alive)
Wedding date or ? or * if not married
Wedding place or ? (not present if not married)
Husband or Wife's index or -1 if unknown (not present if not married)
Father's index or -1
Mother's index or -1
First child's index or -1
Next brother or sister's index or -1
Sound file or *
Photo file #1 or *
Photo legend
Photo file #2 or *
Photo legend
... up to 7 photos
Text line #1 'Some facts' or *
Text line #2 'Some facts' or *
... up to seven lines