I’ve posted a document that I could no longer find on the Internet, a C++ coding guidelines document that was authored by Dave Abrahams and Nathan Myer. Dave is a principal in the boost project, and Nathan Myer has authored books on C++.
I like this one because it’s used by the boost libraries and I use the boost libraries extensively in my coding. The boost libraries have quite a pedigree, so their coding style is at least authoritative, and since I use their code in mine, I achieve some measure of consistency.
For the most part these coding guidelines make sense to me. I can’t say I follow it 100%, but it’s a good base to start from.
C++ Coding Guidelines
I took some time this weekend and updated gccbuild to 0.2. It now performs dependency checking of the header files as well as the C++ file against the object file. It also has more comments and a proper copyright notice.
It wasn’t that hard, but as with most things, it’s finding the time that is difficult, not the actual task. I’m looking forward to getting back to the actual game programming.
Being busy lately is the reason for the long delay between updates. Sorry excuse, but it’s the truth. The SQL Server 2005 Driver for PHP 1.0 is coming down the stretch.
I did take some time this weekend to put some Mercurial source code repositories up on the site. You can reach them at http://hg.hobbit-hole.org. (If that doesn’t work, try http://hobbit-hole.org/hg/hgwebdir.cgi/.)
The two projects currently there are the rst2wordml converter I wrote a while back, and a new project, gccbuild, a set of tasks for MSBuild that can run the gcc compiler.
Why not just use the Exec tasks? I wanted dependency checking for the .h files within a .cpp file. However, the current version of GccBuild doesn’t have it, but it should be added soon (0.2). As always, when I post something, it’s not really finished, but it’s a good start and I wanted to let others hack on it if there was any interest. (Release early and release often, as they say.)
Also, I wanted to post an acknowledgement to Jamie Fristom. Haven’t seen anything on his excellent game development blog in a while, but he did stop by here and left an insightful comment regarding RPGs. I look forward to playing Schizoid when it hits XBLA.
Last bit of good news: Al Gifford, a very good friend of mine from days bygone, has moved up to the Pacific Northwest. I’m looking forward to spending some quality time with him.