Removing char_file_u

From: Zeavon (zeavon@kilnar.com)
Date: 09/21/99


I've converted my mud from using binary pfiles to an ASCII method similar
to Sammy's ASCII Pfiles a long while back. I just finished rewriting
structs.h so that it no longer exists. It's been broken down into room.h,
object.h, char.h, zone.h, defines.h, etc.

While doing this, I have also rebuilt the structs that are associated with
char_data so that they make more sense to me. This has lead to a major
overhaul of char_file_u and db.c. While doing this, I came to realize that
I may not need char_file_u anymore.

Has anyone removed char_file_u from the picture? Without char_file_u, you
can go straight from char_data to the data file in lib/player/* and back
again. This would save code and time during the character load and saving
processes.

I haven't looked into this idea too deeply at the moment, but I was
wondering if anyone else has done/attempted this and how it worked out for
you? If you haven't done it, but still have a suggestion or three to throw
my way, I would appreciate hearing them.


Thanks in advance!
--
Zeavon Calatin, Spear of Insanity
http://spear.kilnar.com/    telnet://spear.kilnar.com:1066
GCS d- s+: a- C+++ U++++ P++ L++ E---- W+++ N+ o-- K w--
O M- V PS+ PE Y+ PGP- t-- 5-- X+ R+++ tv+ b++ DI++ D++
G e h--- r+++ z+++


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST