C/C++ nested structs on 32 and 64 bit systems.

Posted: November 26th, 2008 | Author: rcb | Filed under: C++ | No Comments »

Intoduction

So for my day job I write lots of C++ code.  One of the components I am somewhat responsible for is a utility that takes an XML description of a client and server and generates the in between code that serializes all the data across some IPC, usually sockets or shared memory.  Basically you define a client function like DoSomething() and then define a structure that you want it to take.  When you invoke DoSomething(struct) on the client, like magic DoSomething(struct) gets called on the server with all the data in place.  Then the server can respond with a return structure, or invoke other callbacks on the client.

Recently we wanted this code to work with 64 bit systems and hit a few snags. It had all been running exclusively 32 bit platforms so far.  I wanted to pass along some simple solutions that I found because I had a hard time finding anything like this.
Read the rest of this entry »


Current Project

Posted: November 14th, 2008 | Author: rcb | Filed under: Game Development | No Comments »

I’m currently working on a game thats going to be about network management. Basically you have to configure the most optimal route for your transportation system to make the most money. I have yet to include things like factories and whatnot, but here is a demo of the ‘trains’ moving along tracks. You can watch them pathfind and avoid each other. They will even pick new goals when they get stuck.

The UI is just in debug mode right now. You can select single for one way tracks, double for two way tracks, and clear to clear out an area of track, then click-drag-release to see the changes in the network.

Click on Tick to get things started.

The Thick circles make their way to the thin circles.

Read the rest of this entry »


Zott

Posted: November 13th, 2008 | Author: rcb | Filed under: Game Development | No Comments »

Zott is the first flash game I’ve made and I published it a few weeks ago. I also launched Bouch Labs as the brand site for the games.

Zott has had quite a few plays since it went live and some good reviews. It was basically an exercise in getting comfortable with ActionScript 3, learning Flash CS3, and building up a game framework that I’m comfortable using.


printf ( “Hello World\n” );

Posted: November 13th, 2008 | Author: rcb | Filed under: Uncategorized | 1 Comment »

First

First post of the new log.  Woohoo.

Second

A picture.