Home

Advertisement

Fri, Feb. 10th, 2006, 02:05 pm
ENet branch status update

We're nearly done with the ENet-cvs branch. We're gonna make this the main branch and release soon, and it'll be great.

I've recently discovered Planet GNOME, and I love it. We're currently running into a bug in crack-attack with GIOChannels which was discussed some time ago along there by Joe Shaw. This helped us out, but we're running into a problem where some of our output is tailored specifically for consoles. This is causing a lockup in the child process while trying to play.

Enter Mac Crack Attack. Some time ago I found out about these guys, and I still want to find a way for our projects to combine. The problem is that I don't have a Mac and can't get the ENet branch working.

Now, to the solution they've offered me. Six weeks ago that project starting moving messages from being handled by cout/cerr to a class called Alert. I'm not a fan of their implementation, but this seems like the perfect solution to my problem.

In Game.h and a few other places, there are lots of macros that are used to output information to the console. The main purpose of the macros was to be able to define them to null for Windows. Well, we need more than that. I'm going to head through these and define the macros to point to a new Alert of Output class. That way we can let the game process know a bit more about what it's outputting to and decide what to send.

Thank you Daniel Aarno, or whoever initiated those changes in Mac Crack Attack.

Advertisement