Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Killfrenzy on May 08, 2002, 03:05:55 pm

Title: I'm probably dumb but......
Post by: Killfrenzy on May 08, 2002, 03:05:55 pm
What would you use to edit the code?
Title: Re: I'm probably dumb but......
Post by: Sandwich on May 08, 2002, 03:10:18 pm
Quote
Originally posted by Killfrenzy
What would you use to edit the code?


Aside from notepad (if that even works)? Probably some sort of C++ thingamabobber or whatzit. :D

Seriously, I have no idea. :)
Title: I'm probably dumb but......
Post by: YodaSean on May 08, 2002, 03:10:33 pm
Visual C++
Title: Re: I'm probably dumb but......
Post by: penguin on May 08, 2002, 03:25:22 pm
Quote
Originally posted by Killfrenzy
What would you use to edit the code?

I use The One True Editor, emacs :nervous:

Lesser beings can use Notepad (if the file is small enough), or Wordpad if you save in text format.  We have a decent Windows text editor at work called UltraEdit, but it's not free.

If you're using Visual C++ to compile, then that would be the too-obvious solution...
Title: I'm probably dumb but......
Post by: Mysterial on May 08, 2002, 03:36:43 pm
If you get vrodic's GCC version you can probably edit it and compile it with Dev-C++, which is probably the best free Windows editor for c/c++ programming.
Title: I'm probably dumb but......
Post by: EdrickV on May 08, 2002, 03:46:50 pm
And the answer is: Just about anything you want. :) I've mostly used Notepad (or Wordpad) and Borland C++ 4.0's IDE to look at code (and to compile the command line CryptString) though I have used VC++ 4.0 to look for things like that "phantom" button on the FRED2 toolbar. :) Other editors can work too. There are hundreds of them out there I'm sure. (I also have NEdit running on the Cygwin X-Free86.)
Title: I'm probably dumb but......
Post by: IceFire on May 08, 2002, 03:59:37 pm
You can't properly compile it with Notepad right? :)
Title: I'm probably dumb but......
Post by: Killfrenzy on May 08, 2002, 04:27:46 pm
Can you give me a list of the things I'd need - and make sure I don't have to fork out for it! :D
Title: I'm probably dumb but......
Post by: penguin on May 08, 2002, 04:49:44 pm
Quote
Originally posted by Killfrenzy
Can you give me a list of the things I'd need - and make sure I don't have to fork out for it! :D

vrodic has ported to gcc, so you don't need microsoft's MSVC.

Dunno where to get the Win32 version of gcc, check http://www.gnu.org/software/gcc

You will need cvs ( http://www.cvshome.org or http://www.wincvs.org ) to get the sources from Vedran's repository, look at the "ported to gcc" thread here for details on how to get it.  Dunno if he has a tarball/zipfile available.

That should be all you need.  All of the above is free.  Get the source files, and read the README.
Title: Re: Re: I'm probably dumb but......
Post by: neimad on May 08, 2002, 06:53:56 pm
Quote
Originally posted by penguin
Lesser beings can use Notepad (if the file is small enough)


The file size limitation for notepad is only effective under Win9x platforms... Notepad running under an NT-based OS can load files of any size -- they just take longer the bigger they get. :D
Title: Re: Re: Re: I'm probably dumb but......
Post by: Sandwich on May 08, 2002, 07:35:39 pm
Quote
Originally posted by neimad
Notepad running under an NT-based OS can load files of any size -- they just take longer the bigger they get. :D


Actually, they do have a limit: your system's RAM and swap file(s). :D