FreeCNC Requirements
====================
As of February 14, 2002 FreeCNC requires:
	* A working C++ compiler such as g++ or MS Visual C++
	* SDL 1.2.x or greater
	* The "required" .mix files from Command & Conquer 
		(See Configuration Section Below)

Compiling FreeCNC under Linux
=============================
Compiling FreeCNC under Linux is fairly simple with the following steps:
	1) Untar the freecnc tarball and cd into the directory it 
	   decompresses.
	2) Type "make"
	3) The compilation will take a few minutes and at the end 
	   will produce an executable called "freecnc".

Compiling FreeCNC under Windows
===============================
Compiling FreeCNC for windows is more compilcated than compiling under 
Linux. Most users will want to use the binary files once they are 
availible. The steps to compile under windows are as follows:
	1) Download the SDL development libs and extract them to 
	   mk/VisualC/sdl (you'll have to rename the directory SDL-version 
           to sdl)
	2) Load the project mk/VisualC/freecnc.dsw in MS Visual C.
	3) Hit f7 or choose 'build freecnc.exe' from the menu.
	4) The binary 'freecnc.exe' is now located in mk/VisualC/Debug. 
	   Copy the binary and the dir conf/ to a location of your choice.

FreeCNC has been compiled using mingw and the precompiled version of SDL.
Covert the backquoted "sdl-config" sections to the relevant details:
"sdl-config --cflags" should become -I/path/in/which/SDL/includes/are
"sdl-config --libs" should become -lmingw32 -lSDLmain -lSDL -mwindows
(plus -L/paths/... if the SDL libraries are somewhere non-standard)
You might have to use "-static" as an option for the final link too.

For more information, see:
http://www.libsdl.org/faq/FAQ-Win32.html

These are the libs used:
http://www.libsdl.org/release/SDL-devel-1.2.3-mingw32.tar.gz

Installing FreeCNC
==================
FreeCNC relies on several data files (.mix files) from the original
Command & Conquer. The .mix files can usually be extracted directly from
the C&C CD or from an correctly installed C&C Directory.

If you have the original (i.e. NOT Windows '95) version of C&C you need
the following files:

	* conquer.mix
	* general.mix
	* desert.mix
	* temperat.mix
	* winter.mix
	* local.mix (located in the install subdirectory)
    * speech.mix
And it is recommended but not required that you have these files:
	* scores.mix
	* sounds.mix
	* movies.mix
    * transit.mix

If you have the Windows '95 (GOLD) version of C&C then you need the
files mentioned above plus the following files, which are not directly
available from the CD.
	* cclocal.mix
	* updatec.mix
	* deseicnh.mix
	* tempicnh.mix
	* winticnh.mix
	
If you have the covert operations CD then copy the following files to access
the new missions:
	* sc-000.mix
	* sc-001.mix


Running FreeCNC under Linux
===========================
	1) Install the required Command & Conquer .mix files.
	2) Switch into the top level directory of FreeCNC or wherever 
	   you put the freecnc binary and the conf directory.
    3) type './freecnc'
		
	NOTE: typing ' ./freecnc -help' will output a list of valid 
	      options that freecnc accepts. They can change resolution, 
	      video mode, and the mission.

