ok, so i'm droppin the note thing for a little bit and starting on something else. i just won't be writing notes for awhile...heh.
ok, what i have done now is this:
i have put color into my name on the who list. i made an extra line for my saved file to include color. the problem is when i save it overrides the actual name to have the color. example:
Name Ithildin~
Namewho &cIthildin~
before i save.
Name &cIthildin~
Namewho &cIthildin~
after i save.
i know what i'm doing wrong, i just don't know how to fix it. here's the code.
now i know the ch->name is what i'm wanting to fix. i don't know how to add a ch->namewho. i'm just having a brain fart right now. anyone know what to do?
ok, what i have done now is this:
i have put color into my name on the who list. i made an extra line for my saved file to include color. the problem is when i save it overrides the actual name to have the color. example:
Name Ithildin~
Namewho &cIthildin~
before i save.
Name &cIthildin~
Namewho &cIthildin~
after i save.
i know what i'm doing wrong, i just don't know how to fix it. here's the code.
in fwrite:
fprintf( fp, "Name %s~\n", ch->name );
fprintf( fp, "Namewho %s~\n", ch->name );
in fread:
KEY ("Name", ch->name, fread_string( fp ) );
KEY ("Namewho", ch->name, fread_string( fp ) );
now i know the ch->name is what i'm wanting to fix. i don't know how to add a ch->namewho. i'm just having a brain fart right now. anyone know what to do?