I want to introduce some of you to literal programming which I use for my personal projects with much success.
This seems to be the attitude of most open software developers. The result of this attitude is a huge, well formatted tree of html code that is an exact copy of the pure C++ source code without any or quite few commenting lines.I know you all like doxygen since you don't need to do anything about sourcecode documentation when you use this system ?!
Don't you capture yourself sometimes, touching one year old code, pondering about what you might have though, typing this hieroglyphs and you cannot even think about this code to do what it has been doing until the last update yesterday ?
Anyway I ask this question when I view a file like "src/unit_csv.h":
Code: Select all
CSVRow LookupUnitRow(std::string name, std::string faction);
extern vector<unsigned int> AddMeshes(std::vector<Mesh*>&xmeshes, float&randomstartframe, float&randomstartseconds, float unitscale, std::string meshes,int faction,Flightgroup *fg);
Besides the function definitions in the *.cpp files don't look much better.
I would recommend using Knuth's CWEB and I can assist you in doing so but before I start hacking your source code I want to discuss this topic with you so feel free to answer to this thread ...