On Fri, 1 Aug 1997, Demond De Inosantos wrote: > I'm useing Sammys p-files and want to add a poofin/poofout > saveing but am not shure if there to be added as psds or something else I > thought mabe they have to be reassigned or something?? The load_char and save_char routines assume all the variables you're interested in are in the char_file_u structure, which is why you've got all the psds, csds, etc pointers in there. Off hand I can think of two ways of adding poofs to the ascii routines. You can either add poofs to the char_file_u structure (perhaps the same place as title) and treat them just like the other variables, or add a char_data * argument to load_char and save_char. Then you can load and save POOFIN(ch). You don't need the char_file_u structure at all with ascii pfiles, so if you've got nothing better to do, you might want to remove it entirely and use a char_data pointer instead. Sam +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/08/00 PST