Re: [DM-dev] Selena calling...
Brought to you by:
acdalton,
henningsen
From: Stephan B. <st...@wa...> - 2001-04-27 13:46:25
|
> In order for the things that Peter wants to do with > the DungeonMaker in the future to be possible, Stephan > will have to supply interface functions like this: > DesignParams* GetDesignParams(); //returns a pointer to a > struct or class containing the design params; > WriteDesignParams( filename ); > GeneticParams* GetGeneticParams( generation ); > WriteGeneticParams( filename ); No problem. We're a ways from doing that, though. I've been off the PC today because my RSI is acting up, but I hope to be back to coding tomorrow. > design and genetic data to two different files. Stephan, > when the user works from one of these file structures to > update dungeon data, will the DMProperties object be able > to update the other file structure also? Or maybe you will > need a function > GenerateDesignAndGeneticParamFiles( fromUnitaryFile )and > the other way round? You're getting way ahead of me. I haven't considering the genetic data just yet. I'd rather rewrite once I get to that point - I'm pretty scatterbrained, so I don't like to try to go too many directions at once. > Oh, yes, the naming, DMProperties... how about DungeonDataKeeper? > That is very descriptive, and also funny. That is a GREAT name. I'll do that. > So do I understand this right, you'll have the main classes: > DungeonDesigner - manipulates DesignParams (and possibly > GeneticParams), contains all kinds of high level constructs > such as Rooms, Palaces, CrawlerPairs, ... hands them to the > DungeonMaker as elementary simple data for Walls, Crawlers, etc... It's something like that. I haven't been concentrating at all on the Designer - just a really generic interface into the lower-level components so far. Once that API is complete the designer will know what it has to do. > DungeonMaker - more or less as is, constructs the dungeon > from elementary data Exactly. > DungeonDataKeeper - keeps all the data, both design data and > map data, and can present data to be rendered, and save and > load, and change between formats. Yup. > Ahh, you're sure working hard. Hope you're having fun, I wouldn't be doing it if I didn't enjoy it! ----- Stephan Beal - st...@wa... http://qub.sourceforge.net - http://stephan.rootonfire.org http://dungeonmaker.sourceforge.net "Now I'm not normally the kind of person who likes to trespass, but sometimes you just find yourself over the line." -- Bob Dylan |