|
From: mamutas <mam...@ho...> - 2004-06-18 23:42:22
|
But how it is going to be tied to the data loader class? The class which would read/write the big XML file with all game related data? Well, not to read the XML file actually, but to read/write the content of the DOM created from that XML file. Or has something changed in the original plan? ----- Original Message ----- From: "Guyver" <gu...@ho...> To: "Xenocide Programming List" <xen...@li...> Sent: Thursday, June 03, 2004 6:20 AM Subject: [Xenocide-programming] Base data interfaces > Here's my reworked revision of classes for base scape. It's not lot but > I ask you to revise this and comment. > > As for handling data in game I would suggest to go in approach similar > to how relative data bases work, storing data in some kind of > DataManagers similar to resource managers. In example soldiers have > their own datamanager, which serializes itself in it's own special way, > and each soldier to have relation where he or she belongs, like base (by > base ID, while bases are managed by BaseManager which keeps relations > between base id and actual object), aircraft they are assigned to. > Another approach is to have bases/aircrafts to hold list of soldiers > which belong to them, but it's rather not convinient, becouse soldier > can belong to one base at the time and to one ship. Keeping that data in > soldier's interface is better. > > Send sugestions how you see data storage. > > Guyver > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the new InstallShield X. > From Windows to Linux, servers to mobile, InstallShield X is the one > installation-authoring solution that does it all. Learn more and > evaluate today! http://www.installshield.com/Dev2Dev/0504 > _______________________________________________ > Xenocide-programming mailing list > Xen...@li... > https://lists.sourceforge.net/lists/listinfo/xenocide-programming > |