40
|
1 3x666 by ocsa (c) 1998
|
|
2 An intro for *NIX/Linux
|
|
3
|
|
4 Original code, music, graphics by viznut/PWP (and ocsa)
|
|
5
|
|
6 Ported to libSDL by ccr/TNSP^PWP <ccr@tnsp.org> in March of 2013
|
|
7
|
43
|
8 Usage
|
|
9 =====
|
|
10 There are some commandline options for choosing a resolution,
|
|
11 and starting in full screen mode:
|
|
12
|
|
13 -f Start in full screen
|
|
14 -h/-? Show this help
|
|
15 -v<0-2> Video 0=320x200, 1=640x480 (default), 2=1280x720 (ws)
|
|
16 -s<freq> Audio frequency (44100)
|
|
17
|
|
18 You can also switch between fullscreen via 'f' or the more
|
|
19 traditional alt+enter. Esc exits, as per usual.
|
|
20
|
40
|
21
|
|
22 Building
|
|
23 ========
|
|
24 To build for *NIX style platforms, you need
|
|
25
|
|
26 - A working C compiler, GCC 4.7 or clang 3.0 (LLVM 3.0) should work.
|
|
27 - Make (GNU Make preferred)
|
|
28 - libSDL 1.2. tested with 1.2.15 + development headers
|
|
29
|
|
30 $ make
|
|
31
|
|
32 ...
|
|
33
|
|
34 It is possible to cross-compile for Win32 using *NIX-hosted MinGW
|
|
35 cross-compiler, as available in Debian for example. You will also
|
|
36 need to have libSDL cross-compiled for the target, of course.
|
|
37
|
|
38 At least binutils-mingw-w64-i686 gcc-mingw-w64-i686 mingw-w64-i686-dev
|
|
39 are needed .. 64-bit build should be possible as well, but you need
|
|
40 to modify the Makefile.
|
|
41
|
|
42 $ make -f Makefile.w32
|
|
43
|
|
44
|
|
45 Enjoy!
|
|
46 -- ccr, 19.3.2013
|