Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Inquisitor on July 10, 2002, 12:35:04 pm
-
fs2_open is the development copy
there are 2 others on the CVS server, fs2_public is the original Volition source, and fs2_icculus is the port from Icculus.
fs2_open has been case-desensitized to make it *nix compatible, and contains the FSCP projects *nix port.
Now that we have more than one programmer with write access, it's important we work on the same code ;)
ICQ, email or whatever if you have questions.
Can this be sticky?
-
I committed a bunch of changes, part of the ongoing Linux port. These were all networking related. Hopefully I didn't break anything... Mainly tweaks to get multi code to compile on Linux (it does not work yet, at least as far as I can tell, but it does compile and link). Win32 should be unaffected.
The big difference is there is now a new define: NO_STANDALONE. The standalone server code does not use the normal FS2 UI, it pops up its own Win32 window. Since there's no easy way to change this, the NO_STANDALONE define allows networking support to be compiled in, without the standalone server code.
Most of the modules affected are in the Network directory, although I did have to make a few changes to the main freespace.cpp file as well. There were also minor tweaks to a few other files, including the Unix-specific stubs.cpp Virtually all of the changes were just wrapping #ifndef NO_STANDALONE around standalone-specific code.
(A standalone Linux/Unix server would be nice to have at some point, I just don't feel like dealing w/ the UI stuff right now.)
Remember: before you start making a bunch of changes to the source, always make sure you do a cvs update first... This is a good habit to get into, as it will save you the grief of having to do a merge later on...
-
The fs_open code will not compile for me.
Is this a code problem or something I dont have?
I get lots of these:
network\psnet2.h(150) : error C2146: syntax error : missing ';' before identifier 'Unreliable_socket'
network\psnet2.h(150) : fatal error C1004: unexpected end of file found
CMeasure.cpp
ControlsConfig.cpp
network\psnet2.h(150) : error C2146: syntax error : missing ';' before identifier 'Unreliable_socket'
network\psnet2.h(150) : fatal error C1004: unexpected end of file found
ControlsConfigCommon.cpp
Cutscenes.cpp
Debris.cpp
network\psnet2.h(150) : error C2146: syntax error : missing ';' before identifier 'Unreliable_socket'
network\psnet2.h(150) : fatal error C1004: unexpected end of file found
Console.cpp
The problem seems to be this:
extern SOCKET Unreliable_socket; // all PXO API modules should use this to send and receive on
Could someone please help?
-
WHERE CAN I GET IT THOUGH! :confused:
-
http://fs2source.warpcore.org/
-
thanx dude!
-
Tell me if you manage to get it working or not
-
Originally posted by RandomTiger
The fs_open code will not compile for me.
Is this a code problem or something I dont have?
...
Could someone please help?
Please provide more information, such as what operating system you're using and what compiler you're using. If you are using MSVC, which project file are you using? At last look there were two different ones...
-
Im using MSVC6 with sevice park 5 (I believe), on XP.
I tryed both project files.
I can compile the original source code fine.
-
Originally posted by RandomTiger
Im using MSVC6 with sevice park 5 (I believe), on XP.
I tryed both project files.
I can compile the original source code fine.
Damn... I introduced a bug that for some reason didn't show up on my system ??
I am in th process of fixing it now, but will probably not be able to commit the changes until the morning (US/EDT). I will post when it's been committed.
My apologies to all that were affected by this. :o
-
fixed and committed. see this thread: http://www.hard-light.net/forums/index.php/topic,8967.0.html
-
I think it's clear to everyone now, unsticking.
If you have questions: ask :)