Mercurial > hg > forks > 3x666-SDL
view README @ 43:8a7589da1bec
Update documentation.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 19 Mar 2013 05:09:41 +0200 |
parents | 61822816bba8 |
children |
line wrap: on
line source
3x666 by ocsa (c) 1998 An intro for *NIX/Linux Original code, music, graphics by viznut/PWP (and ocsa) Ported to libSDL by ccr/TNSP^PWP <ccr@tnsp.org> in March of 2013 Usage ===== There are some commandline options for choosing a resolution, and starting in full screen mode: -f Start in full screen -h/-? Show this help -v<0-2> Video 0=320x200, 1=640x480 (default), 2=1280x720 (ws) -s<freq> Audio frequency (44100) You can also switch between fullscreen via 'f' or the more traditional alt+enter. Esc exits, as per usual. Building ======== To build for *NIX style platforms, you need - A working C compiler, GCC 4.7 or clang 3.0 (LLVM 3.0) should work. - Make (GNU Make preferred) - libSDL 1.2. tested with 1.2.15 + development headers $ make ... It is possible to cross-compile for Win32 using *NIX-hosted MinGW cross-compiler, as available in Debian for example. You will also need to have libSDL cross-compiled for the target, of course. At least binutils-mingw-w64-i686 gcc-mingw-w64-i686 mingw-w64-i686-dev are needed .. 64-bit build should be possible as well, but you need to modify the Makefile. $ make -f Makefile.w32 Enjoy! -- ccr, 19.3.2013