SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Related Sites

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files
Max Fighter - Source Code Readme

This source code is dual licensed and released both under the GNU General Public License (GPL) and the Creative Commons Attribution-NonCommercial-ShareAlike license (by-cc-sa 2.5). See the gpl.txt file that came with this distribution for a copy of the GPL. To view a copy of the Creative Commons Attribution-NonCommercial-ShareAlike 2.5 License, visit http://creativecommons.org/licenses/by-nc-sa/2.5/ or send a letter to Creative Commons, 543 Howard Street, 5th Floor, San Francisco, California, 94105, USA.


Requirements:

To build Max Fighter, you need the following tools and libraries:

On a Linux system, you need a working g++ compiler installation. On a Windows system you need the mingw compiler.

The MySDL source distribution must be located on the same directory level as the Max Fighter source distribution, and the MySDL library must be compiled for the system(s) Max Fighter will be compiled for. Otherwise, the Max Fighter build script will report that the MySDL library cannot be found.


Building the game:

To build Max Fighter for the local system, execute:

scons dist=1

Leave out "dist=1" in this and all subsequent build commands to build a development version. The development version contains debugger (gdb) symbols and can be run from the source root directory. The standard (non-development) version uses code optimisation and expects the game resources in the system's standard locations. On Linux systems, this means the game has to be installed before it can be run, otherwise it will not find the graphics and sound resources.

After a succesful build process, you will find an installable distribution in the dist directory.

To build Max Fighter for a Windows system using a Linux system (cross-compiling), execute:

scons win32=1 dist=1

You will need an installed mingw compiler and the correct libraries. This will create a Windows distribution in the dist/win32 directory. A Windows installation (or emulator) is needed to execute the compiled program. If you have the nsis installer package on your system, execute the following command to create a Setup executable from the new distribution:

makensis dist/win32/installer.nsi


Copyright (C) 2006 Marian Schedenig (marian@musgit.com)


Other Sites

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.