OceanMachine wrote:
General Tasks
--Create config files and move the various #defines scattered around code into them, read them into memory during client/server startup. You'll definitely want to start a forum discussion regarding implementation details on this one...
I've already begun this part, so people can start adding stuff to the config file as they see fit. The config file is in XML format and is in <FreeOrion-root>/default/config.xml. Just append your module's XML encoding to the end, before the </XMLDoc>. It might be best for you to generate the XML programmatically using your XMLEncode functions. Ideally, this data will be read in and passed to the constructor initially.
Right now, I believe only HumanClientApp and ClientUI are in the config file.
Quote:
Universe Tasks
--Implement star generation for spiral and elliptical galaxies. I've got some old code around that Gralves wrote a long time back that contains most of the math you'll need. Contact me and I'll send it.
--Implement the bitmap galaxy shape star generation. Reads a bitmap and bases the probabilty of star placement on the darkness of the area. Someone wrote a demo of this as well that could be helpful. Anyone remember did this or still have the code?
I wrote the code for the generation via bitmap. I wrote it using MFC and pure SDL before I knew how to use GG. It probably won't take long to rewrite it for use in FreeOrion....I still have the code, so I'll take care of this...might be a nice warmup to starting the galaxy map.