Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: takashi on March 19, 2007, 09:52:35 pm
-
http://bloodshed.net/dev/devcpp.html
now you can edit and compile in one program! (and it take sup less HD space).
enjoy.
-
Did you really mean to use "ultimatum"?
Anyways, where's the project file? Have you actually compiled with this?
-
Oy. This should be good.
-
I'm not a coder, so I won't pretend to give an informed opinion on this...
So why are you pretending takashi...? Do you actually know how to code?
-
Hrm...haw....hemmm...
On the one hand I don't want to discourage participation in the SCP. On the other hand, I have extreme skepticism of any 'ultimate solution' that doesn't have a working project file included in it. :p
-
http://bloodshed.net/dev/devcpp.html
now you can edit and compile in one program! (and it take sup less HD space).
enjoy.
DevC++ has been mentioned before. It's a nice app if you can get it properly configured to compile fs2_open. And also, it's called an IDE (http://en.wikipedia.org/wiki/Integrated_development_environment).
-
i've compiled with it. its just that im not willing to upload 7+ megabytes of new SEXP's.
-
i've compiled with it. its just that im not willing to upload 7+ megabytes of new SEXP's.
Do you even understand what "project file" means?
-
upload the files that were edited? but they're still buggy. i dont want people yelling at me for screwing up there computers
-
upload the files that were edited? but they're still buggy. i dont want people yelling at me for screwing up there computers
No. Just. No.
(http://www.fsoinstaller.com/images/bad-newbie-bad44696c8a186af.jpg)
A project file is the file that tells the compiler which files to compile in order to successfully create the executable. It's usually a small text file. I don't know DevC++ well enough to tell you where to find it, but it's fairly useless to tell people, "Use this compiler!" without giving them a project file.
-
let me hunt around for it......
-
Bad Newbie Bad!
ROFL
-
i've compiled with it. its just that im not willing to upload 7+ megabytes of new SEXP's.
It's helpful to have a clue what you're talking about when trying to fake something. :p
-
I must admit to being confused too, 7 Megs of new Sexp's would be two and a half times bigger than the entire FS2 exe file?
-
The code base is about 21meg at the moment. And, to put the numbers in context, all of the work that the SCP has done has added less than 5meg worth of new code to the tree since the original source code release. :)
-
no no, the build is 7 1/2 megs. i pretty much added 1/2 a meg to the 3.6.9 build.
besides, who wants wing-self-destruct and ships-self-destruct SEXP's anyway? its just a more conveinent way to kill off multiple things at once.
-
no no, the build is 7 1/2 megs. i pretty much added 1/2 a meg to the 3.6.9 build.
besides, who wants wing-self-destruct and ships-self-destruct SEXP's anyway? its just a more conveinent way to kill off multiple things at once.
I'm not sure I'm following what you are doing here. Exactly what changes have you applied to the code?
-
Sounds interesting. I don't see much need for separate wing and ship-destruct SEXPs but if you've added the code to make wings self-destructible, that could easily be rolled into the current SEXP code and would actually be useful.
Can you upload your copies of Sexp.cpp and sexp.h here so I can diff them against my own copies?
-
uh ho...when i made my changes they were to sexp tree.cpp and sexp tree.h because i couldnt find those files.
-
:wtf:
-
taka, I really think you should do yourself a favor and just get rid of the source code repository and bloodshed from your computer, before it actually combusts and hurts someone near you.
Beside that, Bloodshed is _not_ the best compiler for the SCP, it's not even being developed anymore! Version 5 has been in the same beta version for like, 3 years! If you really want a non-Visual Studio IDE (Integrated Development Environment, note how it's called that because it has the editor and the compiler all in one, a term which has been around for a long time) I would look at Codeblocks. It's still being actively developed, is recommending by several open source projects I know of, and is easily integrated with the following compilers:
* GCC (MingW / Linux GCC)
* MSVC++
* Digital Mars
* Borland C++ 5.5
* Open Watcom
So really, I would consider it the "ultimatum" *snicker* compiler for the SCP. Granted, that's assuming someone has actually gotten it to work. Until then I'd stick with Visual C++ 2005 Express. It's also free, and supposedly has worked for at least one person out there.
-
I use GCC... it works just fine to compile FS2O... but I don't pretend to be a programmer....
AND YOU SHOULDN'T EITHER
If you added half a megabyte of code in the month or so you've been here you must have been holding down a key or something, cause as little as I know, I know that that's a freakishly massive amount of text.
-
lessee what i added...
wing_self_destruct
ships_self_destruct(obselete. just ship self destruct with extra places for ships)
primary_fire_when
secondary_fire_when
primary_not_fire_when
secondary_not_fire_when
change_soundtrack_when
send_message_when
basically everything with when triggers. hope the SCP team makes similar ones in the right files -_-;
-
What. The. Frak. How is it 'added', if it's not in the right files now? Please, upload whatever files you've actually changed yourself, that involve that, so we can see how you've done it. How can they add it anyway if you don't give it to someone? I doubt anyone has trusted you with commit permissions on CVS. :nervous:
-
And the 'When' Trigger is set before the change, so the format would be along the lines of...
When
Condition met
Primary Fire
Alpha 2
Gun_1 (or whatever)
You don't need to be making work for yourself setting any When conditions for state-change Sexp's, the program should have already returned a true value for the condition before it ever sees the change Sexp.
-
taka, can you find the added code, and copy each section to notepad or something? then .7z it and upload it for these folks to look at. Or wherever you put it... upload it. If not here, use FileFront and post a link. (Google FileFront if you don't know the site addy).
-
Sexp_tree.cpp is a file used by FRED2 to display the SEXP Editor window. In previous versions of the FS2_Open codetree, and in the original source release, it contained a massive list of SEXP descriptions, but not any code to actually run the SEXPs.
taka, I really think you should do yourself a favor and just get rid of the source code repository and bloodshed from your computer, before it actually combusts and hurts someone near you.
What. The. Frak. How is it 'added', if it's not in the right files now? Please, upload whatever files you've actually changed yourself, that involve that, so we can see how you've done it. How can they add it anyway if you don't give it to someone? I doubt anyone has trusted you with commit permissions on CVS. :nervous:
I don't know who you are, although I probably should since you clearly know something about coding, but please just stop. This thread doesn't need your holier-than-thou attitude or your negativity. I don't see any point in harassing people who are at least trying to provide something.
-
You evidently haven't seen the OP's thread in the Modding section yet.
-
Probably not, and when you put it that way, I'm glad I haven't. I don't see any point in treating someone like crap on every forum, in every single thread, and going to a considerable amount of effort to harass and humiliate them. Not when the only justification is that a bunch of people just don't like a thread they've created.
If that's really all they have to look forward to, let's not be half-arsed about it. Let's ban them outright! :wtf: I'm sure that will make us all have such a great reputation. It's not like we were ever going to let them become part of the community anyways...right?
EDIT: But really, this just all comes down to me. I don't like to be around people who arbitrarily pick someone to be the whipping boy, and then **** with them and harass them mercilessly just because they can get away with it. I don't keep track of Hard Light's social scene in enough detail to keep track of the exact reasons for choosing any one person and I don't see any point to. I come here to discuss code - is there really any reason related to the forum's purpose that involves deliberately being an arse to someone? Not that I can tell. I'd much rather people leave their unrelated conflicts at the door, or take them to Hard Light, or take them to PM.
-
uh ho...when i made my changes they were to sexp tree.cpp and sexp tree.h because i couldnt find those files.
Then put up those files then. I can diff them against my versions just as easily.
-
I also have to ask this, takashi, when you created this thread, what did you guess everyone was using, that Dev-Cpp would be better than?
-
Probably not, and when you put it that way, I'm glad I haven't. I don't see any point in treating someone like crap on every forum, in every single thread, and going to a considerable amount of effort to harass and humiliate them. Not when the only justification is that a bunch of people just don't like a thread they've created.
If that's really all they have to look forward to, let's not be half-arsed about it. Let's ban them outright! :wtf: I'm sure that will make us all have such a great reputation. It's not like we were ever going to let them become part of the community anyways...right?
EDIT: But really, this just all comes down to me. I don't like to be around people who arbitrarily pick someone to be the whipping boy, and then **** with them and harass them mercilessly just because they can get away with it. I don't keep track of Hard Light's social scene in enough detail to keep track of the exact reasons for choosing any one person and I don't see any point to. I come here to discuss code - is there really any reason related to the forum's purpose that involves deliberately being an arse to someone? Not that I can tell. I'd much rather people leave their unrelated conflicts at the door, or take them to Hard Light, or take them to PM.
You missed the part on Game Warden where he called us all morons and claimed that he worked for Volition.
-
you missed my post where i admitted that i was driven crazy by StarFox fanboyism on game warden and had to wipe all memory of talking animals from my mind just to ensure your safety.
ps: this thread is spam.
-
Not until you answer my question.
I also have to ask this, takashi, when you created this thread, what did you guess everyone was using, that Dev-Cpp would be better than?
-
an outdated microsoft compiler.
-
you missed my post where i admitted that i was driven crazy by StarFox fanboyism on game warden and had to wipe all memory of talking animals from my mind just to ensure your safety.
ps: this thread is spam.
Every thread you start you say is spam. I'm starting to notice a pattern.
-
im admitting the truth. every thread i've started (besides the weapon upgrade one, that one is useful) should be deleted.
-
:yes:
Shows someone's getting better. :)
-
On that note I'll close this. If Takashi ever gets some working code he's more than welcome to post a new thread about it.