PDA

View Full Version : portability of C++, openGL, openAL...


WhatMeWorry
2004.10.21, 03:27 PM
I've written a pretty substantial portfolio of game elements on
the Mac using Codewarrior C++, openGL, and openAL on my G3 iMac
on OS 9.0.

I'm pretty sure I haven't used any Mac OS 9 system calls either
Carbon or non-Carbon.

Will this be trivial to bring over to Mac OS X?

Also, not to ruffle any feathers, (I'm a Mac supporter thru and thru)
but shouldn't this be - in theory - trivial to port to (cough, cough)
Windows XP?

Thanks.

OneSadCookie
2004.10.21, 03:58 PM
C++, OpenGL and OpenAL are all cross-platform. The crucial question is, where are you getting your OpenGL window from, and how are you handling events?

PowerMacX
2004.10.21, 04:03 PM
I'm pretty sure I haven't used any Mac OS 9 system calls either
Carbon or non-Carbon.

Will this be trivial to bring over to Mac OS X?

Also, not to ruffle any feathers, (I'm a Mac supporter thru and thru)
but shouldn't this be - in theory - trivial to port to (cough, cough)
Windows XP?

If by that you mean you used GLUT, SDL or some other cross platform API, then yes, it will be trivial. I port my SDL games/apps back and fort from Mac to Win all the time. It takes minutes, not hours.