Categories
Game Development

Good experience on Rent-A-Coder

I worked with a guy in the UK on rent-a-coder “fuchsia” who did a really great job on my AutoRPC system. It now supports 32 and 64 bit OSes, and also the Power PC (though untested). He also came up with a way to automatically support pointers. So this call, with a pointer as parameter […]

I worked with a guy in the UK on rent-a-coder “fuchsia” who did a really great job on my AutoRPC system. It now supports 32 and 64 bit OSes, and also the Power PC (though untested). He also came up with a way to automatically support pointers. So this call, with a pointer as parameter f, is now valid:

struct ThreeBytes
{
char bytes[3];
};
struct TwentyBytes
{
char bytes[20];
};

void __cdecl cFunc7(char a, short b, int c, long d, unsigned long long e, ThreeBytes* f, TwentyBytes g, AutoRPC* networkCaller)
{
if (networkCaller==0)
autoRpc.Call(“cFunc7”,a,b,c,d,e,f,g);
printf(“cFunc7: %i, %i, %i, %i, %i, %i, %i, sender=%s\n”, a, b, c, d, (unsigned long) e, f->bytes[0], g.bytes[0], networkCaller==0 ? “N/A” : networkCaller->GetLastSenderAddress().ToString());
}

Leave a Reply

Your email address will not be published. Required fields are marked *