July 2010
2 posts
3 tags
My experience using CMake (and a tutorial)
Introduction
For those of you that don’t know CMake is a cross platform build system that allows you to define what you want to build and how, before it goes off and creates the correct build scripts for your particular platform and compiler. It is supposed to help you to simplify your build process when compiling for multiple platforms by just having to maintain a single build script that...
1 tag
June 2010
1 post
April 2010
1 post
2 tags
Setting up nForce in Windows 7
I’ve recently installed Windows 7 on my main PC, removing the old Vista install. While doing this I had some issues getting my on-board nVIDIA nForce 6 network drivers working, and from looking around the internet, I am not alone.
The solution that eventually worked for me is as follows:
Shut down your PC and turn it off at the mains for ~20 seconds.
Turn your PC back on and boot into...
March 2010
2 posts
2 tags
Setting up Redmine on WebFaction
Since this is something I have recently had to do, and found the documentation to be out of date, I though I would share this working solution with you all. This is based on Redmine 0.9.x, and thanks to Sean F from WebFaction support, these instructions are mostly his.
Go to your WebFaction control panel and create a new MySQL database, making a note of the database name and password.
Create a...
1 tag
New Webhost
I have now finished the move of all my websites from Hostgator to WebFaction. I’ve been with Hostgator a while now, and while they have been okay, it wasn’t until I set-up the Insimnax website that I noticed how slowly they actually served content; I let it be for a couple of months before I decided to move.
I considered getting myself a cheap VPS, something I had done before but was...
February 2010
3 posts
1 tag
Dragonball Z Abridged →
Like many people, I grew up watching Dragonball Z and it has been brought to my attention that not everyone has seen the Dragonball Z Abridged series by Team Four Star. Those of you that haven’t should be considered shamed and should rectify this immediately by clicking on the link and watching the videos; they are truly hilarious.
2 tags
Bayonetta
For those of you that are unaware, Bayonetta is a game which is touted as being spiritually related to the Devil May Cry series, mainly due to the fact that the game was designed by Hideki Kamiya, the designer of the original Devil May Cry game.
When the demo came out on XBOX Live I downloaded and played it, then felt very dissatisfied, then played it again and still felt the same. The main...
1 tag
New Blog
Well I’ve moved over to tumblr for my blogging needs. This is mainly due to the fact that I don’t really want the hassle of keeping my blog software up-to-date any more; especially now that I have three separate pieces of software to keep up-to-date for the Insimnax SDK website.
As a result of this move, and the fact that tumblr doesn’t have an import option, almost all of my...
January 2010
1 post
4 tags
If they're Ninja's, why can I see them?
AI Also, why are they dressed in green?
My AI demo was finished and handed in. My extension task was behaviour trees and there is a video of the demo below, all in HD and powered by the Insimnax Framework.
Insimnax Framework The Insimnax Framework has finally been released. It is cut down from what I had originally planned since I decided to move the integration of things like physics,...
November 2009
1 post
5 tags
Welcome to the Madhouse
So what I have been doing since my last update. Well, I have played through Batman: Arkham Asylum, AND YOU SHOULD TOO! It’s a great game (given, the boss fights aren’t up to much) but I love the sneaky, pick people off one a time, parts (the Batclaw has to be my favourite weapon for doing this, just catch someone unaware and yank them over the side of a fence for an instant...
September 2009
2 posts
2 tags
Templates and Streams; the perfect couple
Recently I’ve been doing some work templatifying my two I/O classes, and from that have come to the conclusion that templates and streams make for the ultimate generic programming tool. Previously I had a load of old duplicate bloat code in these classes, that was all removed and replaced by one templated member function, and two specialised template functions from it, and best of all since...
2 tags
[C++] Anything to/from a Hex String
Introduction
I recently needed to be able to convert any instance of an object in C++ to a file so it could be serialised, and then restored later; I did most of this by writing out each member variable of the object individually at the most basic level. This works fine and is easy enough to implement; but then came the time to do the “generic” version, the version that could write...
June 2009
2 posts
1 tag
Rant Tags On
Warning: Rant ahead, if you are a PS3 fan-boy stop reading now. I don’t need your hate. For my birthday this year I bought myself a PS3 to go with my nice new 42” 1080p HDTV, this now completes my collection of current generation consoles as I also have a 360 and a Wii so I can tell you that this opinion comes from someone who isn’t biased to a particular console. So why did I...
1 tag
Rant Tags Off
So to be fair to the PS3, I said that my experience has so far been mostly good (although I have a feeling this is because I haven’t tried to do anything complicated with the XMB yet). I guess my good experience comes from the fact that there are a few games I enjoy playing on it, and also the fact that I can use my debit card in the PlayStation Store which is something I can’t do in...
April 2009
1 post
2 tags
Fences and what I do
I’ve taken to using Twitter to post updates on since I can do it more informally and whenever I feel like it. Firstly, I’ve been using a program called Fences to help sort out my desktop icons and so far I’m finding it really handy to be able to group up my icons and not have Windows randomly decide to re-arrange them for me… bliss. You can see my desktop here. Secondly,...
October 2008
1 post
2 tags
[C++] Pointer Fun – SafeDelete
Introduction
SafeDelete and SafeArrayDelete are functions that will delete the data a pointer points to before setting it to NULL. The idea being that they leave the pointer in a safe NULL state so that you don’t try and use a pointer which points to invalid memory.
How to - With a Macro
You can implement a SafeDelete set-up using a macro, it might well look something like this:
#define...