Ancient Source Code

Forum Archive - from http://theuniversal.net
Locked
Lugie
Posts: 6
Joined: Wed May 05, 2004 7:32 am
Location: Wisconsin, USA
Contact:

Ancient Source Code

Post by Lugie »

Hi Mit, although developers usually don't like doing this - is there a bit of ancient source code I could peek at? Some version long, long ago that has really nothing to do with how anything works today would be incredible.

I'm not exactly sure what I'm willing to do for it... but we can heckle about it a bit. How the crap do I get directly in touch with you?
User avatar
Mit
Staff
Staff
Posts: 3551
Joined: Sun Sep 21, 2003 10:14 pm
Location: Unknown

Post by Mit »

How the crap do I get directly in touch with you?
If anyone knew that i wouldnt have managed to avoid a social life for so long.
Some version long, long ago that has really nothing to do with how anything works today would be incredible.
Are you suggesting that i dont know how to design these things?!? Suggesting that stuff i wrote long ago isnt directly related to how things work now?!? :] :]

heckle, luge? :] haggle? sure.. name a star or get a world or somethin, and you can have all the source for the engine library, that does all the rendering of the ATM format.. a pile of damn fine DirectX based code and well worthy of being ripped off, for sure. :)
(With its own mini-toolchain and prospects of future enhancement included free)

p.s. Atheist? Me??? I truly believe in jesus and his ability to walk on water using control mode 4.
User avatar
Magicfinger
Staff
Staff
Posts: 1078
Joined: Tue Sep 30, 2003 10:38 am
Location: here,there and everywhere

Re: Ancient Source Code

Post by Magicfinger »

Lugie wrote: Some version long, long ago that has really nothing to do with how anything works today would be incredible.
heh like its not used any more ....

ive seen the

Code: Select all

if ( nPlayerCount > 0 )
{
    acString = " Hello World ";
}
believe me its still in widespread use throughout the game ;)

seriously though i think with projects like this code tends to evolve rather than become unsused
Lugie
Posts: 6
Joined: Wed May 05, 2004 7:32 am
Location: Wisconsin, USA
Contact:

Post by Lugie »

What version am I looking at here?

And, okay, I'll donate. ;)

Is the server included? I want to toy around with it a bit, see if can alter things. I'm just getting into learning C++... would be quite the time for me. :)
User avatar
hedgehog
Staff
Staff
Posts: 1057
Joined: Tue Sep 30, 2003 2:57 am
Location: ann arbor, michigan
Contact:

Post by hedgehog »

the arcade source is available on the registered download page iirc...

welcome to the esteemed league of people who're "just starting to figure out this c++ thing" btw :roll:
User avatar
Mattizme
Posts: 615
Joined: Sat Oct 04, 2003 6:23 pm
Location: At work/school/home
Contact:

Post by Mattizme »

hedgehog wrote:the arcade source is available on the registered download page iirc...

welcome to the esteemed league of people who're "just starting to figure out this c++ thing" btw :roll:
Are you in this league somewhere, hedge? ;)
Guest

Post by Guest »

sorry, I'm a few months late noticing this thread, so my " :lol: " is a little late. Hehe, yeah man, will spend a few years coding something and just "give" you the source code.

You're just gonna have to "Hello World" just like the rest of us. If you're really serious about wanting some code to give a boost with learning by examples, you'll have to snatch up some open source at sourceforge.net or someplace like that. Hardly a game coder who's never had quake code on their puter at one point or another.

Plenty of open source code out there to get a start with - some even release all rights to. But it's all worthless to ya unless you know how to "cout <<" it out yourself.

#include <iostream.h>

int main ()
{
cout << "Good Luck!";
return 0;
}
//****you know I couldn't resist that one
User avatar
Nigel
World Owner
World Owner
Posts: 428
Joined: Fri Oct 03, 2003 11:31 pm
Location: UK

Post by Nigel »

Mattizme wrote:
hedgehog wrote:the arcade source is available on the registered download page iirc...

welcome to the esteemed league of people who're "just starting to figure out this c++ thing" btw :roll:
Are you in this league somewhere, hedge? ;)
I think a lot of people think that if you get the source code you'll be able to undersrand it with little prior knowledge of the language. I'm going to spam this section with a little game I've been making (but now of course bored of) to keep a sonic fan happy.

http://home.ripway.com/2004-12/230022/Sonic.htm


as basic goes, that's a lot of the stuff you'll be learning in the first few months, functions, container types, also classes and pointers (I hear not a lot of people like pointers) If you are one of those people that love source-code, take a look, and if you can't understand it, then you have no chance of deciphering a graphical game. Also keep in mind that being able to read code also depends on the coder, some make theirs more readable and some make it a holy mess - so unless you're pretty familliar with c++, that code will look like garbage (which isn't a bad summary in itself)

And to be entirely honest, it was overly advanced source code that stopped me from learning C. I thought the best way to learn was to get my hands on some game, and work out the rest myself - probably not the first to make that mistake - generally you'll figure out how to make the games yourself, which is a lot more rewarding anyway.
Locked