Page 2 of 3

Posted: Sat Feb 03, 2007 11:22 am
by Nayr
I've tried before, believe me. The source code is a mess (it's mainly in one file).

If anyone wants the source code, gimme a yell.

Posted: Sat Feb 03, 2007 1:29 pm
by Jeff
Is there any Mac specific code in it?

Posted: Sat Feb 03, 2007 2:16 pm
by NickD
Shouldn't it all be Mac-specific?

Posted: Sat Feb 03, 2007 2:23 pm
by leDoOd
Can someone link to this for me? I'd like to play.

Posted: Sat Feb 03, 2007 2:26 pm
by Crill3
leDoOd wrote:Can someone link to this for me? I'd like to play.
You'd like to play the source code?
What do you mean :P

Posted: Sat Feb 03, 2007 2:28 pm
by NickD
You'd need a compiler for that... or do you wish to code in online multiplayer?

Posted: Sat Feb 03, 2007 2:33 pm
by Crill3
If just to play the game, why not just download the compiled version?

Posted: Sat Feb 03, 2007 2:43 pm
by Jeff
NickD wrote:Shouldn't it all be Mac-specific?
No. The whole point of C is that it is platform neutral. Likewise for OpenGL.

An example of something Mac specific is creating the Mac window that your game runs in. However, I doubt that David used Apple's API directly for that and used GLUT or SDL, which abstracts that and is also cross platform.

It's also possible that there is architecture specific code in there. If there is code in there that works directly with binary, numbers are represented backwards in PPC, so that would need to be abstracted.

Posted: Sat Feb 03, 2007 2:59 pm
by Nayr
it's very classic-centric, but I'm currently in the loooong process of porting it to SDL.

Posted: Sat Feb 03, 2007 3:12 pm
by Crill3
Great :D

Posted: Sat Feb 03, 2007 8:27 pm
by leDoOd
Crill3 wrote:If just to play the game, why not just download the compiled version?
I don't know where this is, which is what I was asking.

Posted: Sat Feb 03, 2007 11:01 pm
by BunnyWithStick
It's on the Wolfire site…

Posted: Sun Feb 04, 2007 12:18 am
by Szs315
Is there any way to port this to windows?

Posted: Sun Feb 04, 2007 4:15 am
by Crill3
Szs315 wrote:Is there any way to port this to windows?
READ!
Four posts above yours, Nayr said he's porting it to SDL.
Probably with the intention of getting it on other platforms like OSX and
Windows.


Edit: lol @ leDoOd, have we been on the forum so much that we're starting
to forget the main site :P

Posted: Sun Feb 04, 2007 8:52 am
by leDoOd
Oh, duh. My bad. :oops: