Trying to port an OpenGL Windows game
Hey,
I'm a newbie when it comes to Mac development so I was hoping that a few members here can help me out.
The code I am looking to convert is from Brian Schwab's "AI Game Engine Programming" and it's a straight forward Asteroids (or to use the correct name AIsteroids) game using the GLUT wrapper.
I want to improve my C/C++ (I've had my fill of Java for now) so I presume that Carbon is the correct API to study up on right?
Is porting simply a case of changing the code that performs function X in Windows to it's equivalent in OS X or is there a lot more to it?
I'm not looking to create a fancy game, I just want to make a Mac compatible version of the code so that I can implement various AI systems - it's my goal to become an AI programmer so I'm not that concerned with creating visually fantastic games.
And this could be the dumbest question ever but I have to ask, is there anyway to create and run and OpenGL / GLUT application without have to get either Cocoa/Carbon involved?
Any help/advice is greatly appreciated
anthony
I'm a newbie when it comes to Mac development so I was hoping that a few members here can help me out.
The code I am looking to convert is from Brian Schwab's "AI Game Engine Programming" and it's a straight forward Asteroids (or to use the correct name AIsteroids) game using the GLUT wrapper.
I want to improve my C/C++ (I've had my fill of Java for now) so I presume that Carbon is the correct API to study up on right?
Is porting simply a case of changing the code that performs function X in Windows to it's equivalent in OS X or is there a lot more to it?
I'm not looking to create a fancy game, I just want to make a Mac compatible version of the code so that I can implement various AI systems - it's my goal to become an AI programmer so I'm not that concerned with creating visually fantastic games.
And this could be the dumbest question ever but I have to ask, is there anyway to create and run and OpenGL / GLUT application without have to get either Cocoa/Carbon involved?
Any help/advice is greatly appreciated
anthony
It's quite simple: leave it as an OpenGL/GLUT application.
Mac has an implementation of GLUT available, and it's even bundled with the system, which means that you don't even have to distribute the library. You will only need to replace Win32 functions you use.
Mac has an implementation of GLUT available, and it's even bundled with the system, which means that you don't even have to distribute the library. You will only need to replace Win32 functions you use.
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| My port of the HGE game engine for Mac OS X / iOS | A_Pepper | 2 | 4,597 |
Feb 11, 2012 07:36 AM Last Post: A_Pepper |
|
| Tibia Game - Port to Mac | whardypace | 1 | 8,888 |
Sep 20, 2008 09:12 AM Last Post: francis james |
|
| Port of an open source game engine | iarwain | 4 | 4,032 |
Aug 28, 2008 02:16 PM Last Post: iarwain |
|
| Best Porting Options - Mac (Cocoa/OpenGL) to Windows | Jake | 30 | 13,055 |
Dec 18, 2006 08:05 PM Last Post: dajtxx |
|
| Looking for a coder to port an OpenGL game | karx11erx | 7 | 5,077 |
Dec 1, 2005 05:43 AM Last Post: karx11erx |
|

