> News > About > Screenshots > Downloads > IRC > Editing > Sourcecode > Links > Credits |
Sourcecode
The source code for Return to the Shadows is released under an unrestrictive
license. The main idea is that you may do with the
source whatever you want as long as your work runs under and is supported on an
open-source operating system. Since you'll probably use SDL
anyway if you're looking at this page, this shouldn't be a problem. Download the source code that corresponds to the online source: rtts-1.1.1-src.tar.bz2 rtts-1.1.1-src.zip Get uptodate source from the Downloads page. Source browser and articles In the long run, I intend to write a series of articles which explain how and why I've done things in the source. At the same time, you can view the actual source files online (see below), and add comments to them in a forum specifically for this purpose. I've never seen something like this on the internet, so all this is pretty much an experiment. I hope it goes well and is actually useful to some people out there :) Note that I'm not perfect. In fact, there are some parts of the code which I don't really like and plan to restructure or rewrite completely. Some of them are really hacky because I just didn't have the time to implement them properly for the 72 hours code, and didn't bother to fix them.. yet. If you have any suggestions as to how things can be improved, feel free to post on the forums.
Compiling etc... You will need SDL headers and OpenGL support in order to compile Return to the Shadows. The makefile and MSVC++ project file are tailored for the following development tree layout: rtts/game game data files rtts/game/levels ... rtts/source/rtts source files Simply running make should be enough to compile on Linux if SDL and OpenGL libraries are installed properly. On Windows, you might have to adjust some of the path settings in MSVC++. Note that compiling for Windows with a different compiler is not supported. If you're somehow feeling like implementing a better (yet compatible!) build system, go ahead. |
Latest version: 1.3 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||