Game Development Update
I just spent the last few nights working on the user-interface code of this SDL 2D strategy game that I’m working on. It’s finally come together nicely now. I had been under the philosophy much earlier...
View ArticleWriting Copyable C++ Classes
I thought I’d jot down some notes on what I do when designing new classes in C++ to be copyable. I’d be curious to get some feedback as I’m not sure what the C++ community at large does… Anyway, when...
View ArticleSDL in Games: Introduction
Since I spent the last 6 months or so getting geeked about web development, SVG, JavaScript, Ajax and XML. I think it’s about time I shift my focus back for a little while on some standard C++ game...
View ArticleSDL in Games: Old School
Read Part One if you haven’t. So with a little SDL graphics knowledge under my belt, I decided that I would set out to actually implement the old BGI library using SDL. That is, I wanted to use the...
View ArticleThe Next C++
Via Slashdot. Bjarne Stroustroup, the “designer and original implementor” of the C++ programming language, gives a look forward at the features most likely to be included in the next version of C++,...
View ArticleFeed Sweep
To supplement all the iPhone buzz, I thought I’d throw up a few totally unrelated links/stories I found in my feed aggregator to make you a well-rounded geek. Weaning Off The Microsoft Juice As a...
View ArticleGetting To Know C++ Next: Filesystem
The next version of C++ is going to include some nice, shiny new libraries in its standard namespace. These libraries will really beef up the things that C++ developers want to be able to do in a...
View ArticleBridging The Gap Cleanly: Setting Up LuaBridge
Inspired by Rob, I decided I’d take a crack at embedding Lua scripting in a couple C++ projects that I’m working on. Rob has gone the ultimate route of using SWIG, but when I was starting to do some...
View ArticleC++ STL: Safely Removing Items From A Container
A short article about removing items from a standard C++ container. When using the C++ Standard Template Library, one has to be careful not to invalidate iterators in a container that you’re iterating...
View ArticleOn The Merits Of Const…
A short post about using const in C++. Consider the following 3 for-loops in C/C++: /* Loop 1: */ for(int i = 0; i < getSomeValue(); ++i) { …lots of stuff in here… } /* Loop 2: */ int n =...
View Article
More Pages to Explore .....