I’ve been spending this evening getting multithreading asset loading working. I’ve converted a lot of my iPhone code to C++ and keeping certain things as Objective-C objects only when I absolutely have to. This of course came back to bite me when trying to spawn off loading in a separate thread. Since the NSThread code expects a class object inherited from NSObject(id), it crashed everytime I passed it one of my C++ objects. I finally realized this and created a class wrapper whose only job is to be called by the thread and initiate the loading of the regular objects. Sure, it’s another layer, but now things are playing nice with one another and I can get on to the actual fun bits of the code.
I just added a few pages detailing the books, articles, and games I’ve worked on over the years. Check the links at the top of the page to go to each section.
I can’t believe I’ve been involved in game development for almost ten years, eek, where does the time go?
Even though I’m no longer working for a game dev studio, I’m still creating software and getting back my passion for programming. It’s great to work on applications that are my vision, things I find enjoyable.
My second iPhone application is code complete and now sent out to the artist so he can make it pretty. I’m going to be a little vague, but so far everyone that’s seen it has enjoyed themselves just messing with it. I can’t wait to get this app released. This will also be my first attempt at releasing a free app with ad support, I’m curious as to how this will go.
Spent a big portion of my evening getting Perforce source control installed on my home server and all my code projects dumped in. I have to say, Perforce once it’s up and running is the best source control software I’ve come across and it’s a joy to work with. The only issue is it’s setup. The docs provided give a lot of info but not necessarily the info I needed. Finally messed with it enough to get it set up the way I needed. It’s good to know that I won’t have any more issues with wrong code versions now between my MacMini and my Macbook.
I updated my iPhone Hurricane application to 1.2 last night and dropped it on my phone for testing. If I don’t see any major problems by this evening I’m going to go ahead and push it out to Apple. I’ll be doing the big update before season starts again, but this is at least a move in the right direction.
In other news, I really want to take a look at the XInput2 api. I saw the presentations from GameFest and the changes they made looked interesting.