Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: SG_01 on January 14, 2003, 02:52:52 pm

Title: The "Coding"?
Post by: SG_01 on January 14, 2003, 02:52:52 pm
Is there somewhere I could download the FS2_open 3.4 coding?
it would help if I wanted to add some coding or anything
Title: The "Coding"?
Post by: Solatar on January 14, 2003, 07:27:39 pm
You can probably get it a dozen places, but I know for certain it is at www.Descent-Network.com. I think it's on the SCP's site also.
Title: The "Coding"?
Post by: WMCoolmon on January 14, 2003, 07:28:17 pm
http://freespace.volitionwatch.com/fsscp/dev/gettingstarted.php <-- Contains instructions on how to set up WinCVS to download the source code.

You'll need to know how to program in C, though, and you'll need a compiler to really do anything with the Freespace source. I don't know any good free ones myself - I use Microsoft Visual C++ - but I'm sure someone on the forum can tell you a good one.

Once you have a compiler, you should try some of the online tutorials to learn the basics of C/C++. If you like it enough, then you can buy a book at your local bookstore to learn more about a particular aspect.
You can find some tutorials on how to program in C here (http://www.gametutorials.com/Tutorials/C/C_Pg1.htm), an intro to C programming here (http://www.hull.ac.uk/Hull/CC_Web/docs/cnotes/contents.html), and a listing of sites on C programming here (http://www.webwareindex.com/tutorials/C.html).

Edit: If you've already done work with C, I'm just trying to be helpful. :nod:
Title: The "Coding"?
Post by: Inquisitor on January 15, 2003, 08:47:24 am
Right now, it only works with Visual Studio.

Our GCC makefile guru has been MIA for a while :)
Title: The "Coding"?
Post by: Darkmage on January 15, 2003, 08:48:37 am
if I can learn howto create makefiles I'll do it for ye
Title: The "Coding"?
Post by: SG_01 on January 15, 2003, 09:15:07 am
Ah, I wondered what that was, btw, I have both VS.NET and VS6, so no problem ;)
Title: The "Coding"?
Post by: EdrickV on January 16, 2003, 12:08:29 am
Quote
Originally posted by SG_01
Ah, I wondered what that was, btw, I have both VS.NET and VS6, so no problem ;)


Visual C++ 6 (which should be part of VS6) is exactly what you need to compile this beast and fred2_open. :) And for those of you trying to find a copy of VC6, any copy, the "Introductory" version included with the not so hard to find and not so expensive Game Programming Starter Kit version 4.0 will work, but has some popup nag screens each time you run the program. It's good enough for testing code changes and stuff. You may need to do some editing of the project settings though, file locations for starters and also things like making it ignore libcmt.lib & libcmtd.lib. If you get annoying messages about it wanting nafxcwd.lib for fred2_open, go into the project settings change it from "Uses MFC in a shared DLL" to "Doesn't use MFC", hit OK to save the changes, then go back in and change it back. (There seems to be something odd about the DSP/DSW files in CVS.)
Title: The "Coding"?
Post by: phreak on January 16, 2003, 09:34:10 am
i had to define _AFXDLL to fix the fred2 thing
Title: The "Coding"?
Post by: EdrickV on January 16, 2003, 05:16:03 pm
Quote
Originally posted by PhReAk
i had to define _AFXDLL to fix the fred2 thing


That might be what my fix did, because it is defined but I didn't define it manually.
Title: The "Coding"?
Post by: penguin on February 11, 2003, 05:09:00 pm
Quote
Originally posted by Inquisitor
Right now, it only works with Visual Studio.

Our GCC makefile guru has been MIA for a while :)

I'm back, and ready to start again as a junior member ;)