Game Development Community

Cheap Resource of the Day [iTunes

by Gary "ChunkyKs" Briggs · in Torque Game Engine · 01/18/2007 (5:50 pm) · 6 replies

This sucks, bad. But, you know, it's so freaking EASY...

iTunesTorque.mov

Download this: itunestorque.tar.gz

It's one C++ file and one torquescript file, that you can just slap in anywhere, as appropriate.

The IPC method this uses is UTTERLY FEEBLE, and shouldn't be used by anyone ever. It will also probably only work on the mac. Uh. Yeah.

Gary (-;

#1
01/31/2007 (1:52 pm)
Wow, this really rocks!
#2
01/31/2007 (1:54 pm)
That is pretty damn neat!
#3
01/31/2007 (2:21 pm)
I put it up as a resource a while ago, but it hasn't been approved yet.

Also, having read up a bit more, while the coder in me says the IPC method used here is pretty weak, it *is* the one used in apple's example on the topic. At least it's bulletproof :-)

Have fun,
Gary (-;
#4
02/20/2007 (5:24 pm)
I keep getting a "error: variable declaration is not allowed here" and when I click on it it takes me to line 4253 in OpenTransport.h

void* operator new(size_t);


Anyone else have this problem?
#5
02/20/2007 (8:55 pm)
When you use this resource? And only when you use this resource?

Gary (-;
#6
02/21/2007 (6:36 am)
Yes, and yes, lol.

Just on a hunch I added...

#include "platformMacCarb/platformMacCarb.h"

at the very top of the file and it cured the issue and compiled perfectly. Thank you.