Monthly Archives: February 2012

Do you have facebook? If so, then you are probably familiar with the timeline feature. I have decided to write up a timeline about myself. It gives a view of who I am, what I did, when and how I got influenced. It also showcases my projects in a chronological order. If you want to read the timeline, head to the making of Stefan Hendriks!

Since I could not find an easy solution for this problem I have decided to blog about this. Lets say your machine (running Windows 7) is running in a Dutch locale. If you install the JDK and request the default locale in your application you will get: nl_NL I’m testing this with the following code: [sourcecode language=”java”] import java.util.Locale; public class DefaultLocaleTester { public static void main(String[] args) { Locale defaultLocale = Locale.getDefault(); System.out.println("Default locale is : " + defaultLocale); } } [/sourcecode] Lets say I want to make this return en_US. The official docs… Read Article →

In the previous post I have set up a raw architecture for the game. There is a Game class that has a function called execute, which allows basic stuff to happen: – responding to events – updating state – and rendering state In code it is: [sourcecode language=”cpp”] while (running) { handleEvents(); update(); render(); } [/sourcecode] The end result of the first phase was, well, a black window. Nothing to be excited about just yet… One of the very basic needs is drawing on the screen. One way to get something on the screen is… Read Article →

In my previous post I have described a way to compile your project with a Maven style like project structure. Using that as basis I am busy rewriting my project Dune II – The Maker. This time I am using SDL. Because I have started over I thought of writing blog posts about my progress. Blog posts will be about progress made, decisions taken, etc. This is by no means a real tutorial sequence, but you could follow the blog posts probably and make something out of it. Do note: In reality I am much… Read Article →

When you’re used to Java, you build your software using the comforting build-tools. Popular examples are Ant and Maven. Personally I love Maven. When you’re writing an application in C++ it seems like a big step backwards build-tools wise. If you’re an Ant God you might feel a bit more comfortable with using Make. However, writing makefiles (the ‘equivalent’ of the Ant’s build.xml) are a more tough. Since I am used to Maven, there are some tasks I want to perform, like: – clean – compile – compile tests – package To start with. I… Read Article →

Scroll To Top