GLFighters

Anything related to Wolfire Games and/or its products
Nayr
wicked bad-ass title
Posts: 643
Joined: Wed Jul 07, 2004 9:35 am

Post by Nayr » Sat Feb 03, 2007 11:22 am

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.

Jeff
Evil Twin
Posts: 2892
Joined: Wed Nov 19, 2003 10:48 pm
Location: San Francisco, CA
Contact:

Post by Jeff » Sat Feb 03, 2007 1:29 pm

Is there any Mac specific code in it?

User avatar
NickD
Charlotte Brontë
Posts: 892
Joined: Fri Sep 15, 2006 10:33 pm
Location: Berkeley, California
Contact:

Post by NickD » Sat Feb 03, 2007 2:16 pm

Shouldn't it all be Mac-specific?

User avatar
leDoOd
What custom title?
Posts: 777
Joined: Fri Feb 11, 2005 10:25 am
Location: The Q Continuum
Contact:

Post by leDoOd » Sat Feb 03, 2007 2:23 pm

Can someone link to this for me? I'd like to play.

User avatar
Crill3
Indecisive titler
Posts: 1935
Joined: Thu Mar 10, 2005 8:54 am
Location: Stockholm, Sweden

Post by Crill3 » Sat Feb 03, 2007 2:26 pm

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

User avatar
NickD
Charlotte Brontë
Posts: 892
Joined: Fri Sep 15, 2006 10:33 pm
Location: Berkeley, California
Contact:

Post by NickD » Sat Feb 03, 2007 2:28 pm

You'd need a compiler for that... or do you wish to code in online multiplayer?

User avatar
Crill3
Indecisive titler
Posts: 1935
Joined: Thu Mar 10, 2005 8:54 am
Location: Stockholm, Sweden

Post by Crill3 » Sat Feb 03, 2007 2:33 pm

If just to play the game, why not just download the compiled version?

Jeff
Evil Twin
Posts: 2892
Joined: Wed Nov 19, 2003 10:48 pm
Location: San Francisco, CA
Contact:

Post by Jeff » Sat Feb 03, 2007 2:43 pm

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.

Nayr
wicked bad-ass title
Posts: 643
Joined: Wed Jul 07, 2004 9:35 am

Post by Nayr » Sat Feb 03, 2007 2:59 pm

it's very classic-centric, but I'm currently in the loooong process of porting it to SDL.

User avatar
Crill3
Indecisive titler
Posts: 1935
Joined: Thu Mar 10, 2005 8:54 am
Location: Stockholm, Sweden

Post by Crill3 » Sat Feb 03, 2007 3:12 pm

Great :D

User avatar
leDoOd
What custom title?
Posts: 777
Joined: Fri Feb 11, 2005 10:25 am
Location: The Q Continuum
Contact:

Post by leDoOd » Sat Feb 03, 2007 8:27 pm

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.

User avatar
BunnyWithStick
Gramps, Jr.
Posts: 4297
Joined: Mon Dec 05, 2005 12:14 am
Location: New Zealand

Post by BunnyWithStick » Sat Feb 03, 2007 11:01 pm

It's on the Wolfire site…

User avatar
Szs315
Closet Mac lover
Posts: 199
Joined: Fri Jan 26, 2007 2:53 pm

Post by Szs315 » Sun Feb 04, 2007 12:18 am

Is there any way to port this to windows?

User avatar
Crill3
Indecisive titler
Posts: 1935
Joined: Thu Mar 10, 2005 8:54 am
Location: Stockholm, Sweden

Post by Crill3 » Sun Feb 04, 2007 4:15 am

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

User avatar
leDoOd
What custom title?
Posts: 777
Joined: Fri Feb 11, 2005 10:25 am
Location: The Q Continuum
Contact:

Post by leDoOd » Sun Feb 04, 2007 8:52 am

Oh, duh. My bad. :oops:

Post Reply