Development

Contents

This is a major subsection of the Wiki which shall concentrate all development issues.


Building NiL

Currently building NiL is only supported under GNU/Linux systems and has the following dependencies:

  • Python >= 2.3
  • SCons >= 0.9.6
  • SDL >= 1.2.4
  • libxml2 >= 2.6
  • physfs >= 1.0.1
  • SDL_mixer
  • SDL_image
  • SDL_ttf
  • SDL_net
  • OpenGL

The ChangeLog is also subject to dynamic generation from all subversion log messages and needs svn2cl to be installed.

If your system uses a binary package system like dpkg (Debian) or RPM (RedHat), you'll also need the development versions for all dependencies but SCons.
OpenGL libraries are usually either provided by the NVidia drivers, the ATI drivers or the free (but unofficial/unlicensed) Mesa OpenGL implementation.

To initiate the auto-configuration and building process, call

scons [options] [target]

Usually you'd want to pass debug=1 as parameter to compile NiL with debugging symbols.
Currently there are three possible targets:

  • nil - the client
  • nild - the server
  • ChangeLog - the ChangeLog file

Building the ChangeLog doesn't need / take any further parameters.

To get a list of all possible options, call

scons -h

There is also a Makefile provided for convience which calls scons itself but is likely to be removed sometime.

Userstories

!!!New!!!
I've just created a Template for user stories. Please use from now on. Thank you.
--e-user 18:47, 24 June 2006 (PDT)

US 001: Project goals
US 002: NiL Engine
US 003: The Original NiL Game
US 004: Graphics Engine
US 005: Scripting Engine
US 006: Configuration Engine
US 007: Command line
US 008: Configuration files