Doom Marine Posted August 30, 2009 I've downloaded the Doom source code, under the GNU GPL. http://www.doomworld.com/idgames/?id=14576 Extracted the files, but since I don't use Linux, I'm confused. Is there a way to look at the source code otherwise? Not sure where to go from here, heh. 0 Share this post Link to post
boris Posted August 30, 2009 Did you consider opening the .c and .h files with a text editor? 0 Share this post Link to post
Doom Marine Posted August 30, 2009 I did not know these *.c and *.h extensions can be read with a notepad. Thanks. 0 Share this post Link to post
Gez Posted August 30, 2009 Take a good text editor. None of this notepad crap. Take something like Programmer's Notepad, Notepad++, Notepad2, or whatever else. Use the Google if you don't have them already. Extract the source code in a directory. Open your super notepad that's not the windows crap. Mash the shift+ctrl+f keys, it'll bring up the "find in files" dialog box (at least is does so with programmer's notepad). Type something you want to find (for example, MT_CYBORG) and in "Find where" select the directory where you extracted the source code. Leave the "file type" field empty so it'll look through all the files. Hit enter, and you get a list of all the instances of MT_CYBORG anywhere in all the files from the source code. 0 Share this post Link to post
printz Posted August 30, 2009 Never crossed my mind that I'm legitimately able to unarchive TGZ files, and look up/experiment on the very basic LINUX, still, Doom program. 0 Share this post Link to post
Eponasoft Posted August 30, 2009 Heh, I used to write C code in the default notepad.exe all the time. of course, now that I'm on a UNIX system, I use kwrite... 0 Share this post Link to post
Ariander Posted August 30, 2009 Gez said:Take a good text editor. None of this notepad crap. Take something like Programmer's Notepad, Notepad++, Notepad2, or whatever else. Use the Google if you don't have them already. Extract the source code in a directory. Open your super notepad that's not the windows crap. Mash the shift+ctrl+f keys, it'll bring up the "find in files" dialog box (at least is does so with programmer's notepad). Type something you want to find (for example, MT_CYBORG) and in "Find where" select the directory where you extracted the source code. Leave the "file type" field empty so it'll look through all the files. Hit enter, and you get a list of all the instances of MT_CYBORG anywhere in all the files from the source code. Notepad++ is by far my favourite. It's easy to use, and supports many languages. 0 Share this post Link to post