Author Topic: fs2_open  (Read 3467 times)

0 Members and 1 Guest are viewing this topic.

Offline Inquisitor

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?
« Last Edit: July 10, 2002, 01:29:20 pm by 122 »
No signature.

 

Offline penguin

  • Eudyptes codus
  • 28
  • Still alive.
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...
your source code slave

 

Offline RandomTiger

  • Senior Member
  • 211
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?

 

Offline HotSnoJ

  • Knossos Online!
  • 29
    • http://josherickson.org
WHERE CAN I GET IT THOUGH! :confused:
I have big plans, now if only I could see them through.

LiberCapacitas duo quiasemper
------------------------------
Nav buoy - They mark things

 
 

Offline HotSnoJ

  • Knossos Online!
  • 29
    • http://josherickson.org
I have big plans, now if only I could see them through.

LiberCapacitas duo quiasemper
------------------------------
Nav buoy - They mark things

 

Offline RandomTiger

  • Senior Member
  • 211
Tell me if you manage to get it working or not

 

Offline penguin

  • Eudyptes codus
  • 28
  • Still alive.
Re: Can't compile fs_open
Quote
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...
your source code slave

 

Offline RandomTiger

  • Senior Member
  • 211
Im using MSVC6 with sevice park 5 (I believe), on XP.
I tryed both project files.

I can compile the original source code fine.

 

Offline penguin

  • Eudyptes codus
  • 28
  • Still alive.
Quote
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
your source code slave

 

Offline penguin

  • Eudyptes codus
  • 28
  • Still alive.
your source code slave

 

Offline Inquisitor

I think it's clear to everyone now, unsticking.

If you have questions: ask :)
No signature.