1 2 Xoids v1.1 3 INSTALLATION 4 5Game Requirements 6================= 7 8 The game is native to Sun4 architecture, so there may be a few 9 problems with system dependencies, but hopefully not too many. 10 I did use the BSD rand() function, which may or may not give 11 you problems. 12 13 Most importantly, you MUST HAVE the Xpm library already installed 14 in order to compile! The routines in this library are fantastic for 15 writing games, so if you don't have it, then get it from ftp.x.org 16 (look in contrib/libraries). 17 18Platforms 19========= 20 21 Known to Run On 22 --------------- 23 24 SunOS 4.1.x 25 SunOS 5.x (Solaris 2.x) 26 OSF/1 27 Linux (kernel 2.0, XFree86 3.1.2) 28 29 Heard to Run On 30 --------------- 31 32 FreeBSD 33 34 These machines are represented in the Imakefile. If you have a 35 different machine, you should add your own to the Imakefile (simple). 36 Please let me know if you get it to run on another machine and how 37 you modified the code. 38 39Compiling and Installing With 'xmkmf' 40===================================== 41 42 You may very well need to change 'Imakefile' to reflect the path of 43 your XPM include and library directories. 44 45 1. Read the section 'Caveats and Notices' below! 46 2. xmkmf -a 47 48 OR, if this doesn't work, try: 49 50 xmkmf 51 52 3. make depend 53 4. make clean 54 5. make all 55 6. make install 56 57Compiling and Installing Without 'xmkmf' 58======================================== 59 60 If you do not have 'xmkmf' or it is not working for you, you can 61 do things the old-fashioned way and copy the supplied Makefile.noX 62 to Makefile and modify it so that all the paths are hunky-dory. 63 64 Once you've modified the Makefile, then just type "make [arch]" 65 where arch is your architecture. If you try typing "make" with no 66 argument, then the makefile will try to match your system up with a 67 known architecture. I usually use "make sun4" for example. I have 68 also provided a "generic" architecture which may be a good starting 69 point for compilation. 70 71Caveats and Notices 72=================== 73 74 The game defaults to a 960 x 800 window, so if your screen can't 75 handle that, change the WINDOW_HEIGHT and WINDOW_WIDTH definitions 76 near the top of oids.h before issuing the make command. I have 77 taken great pains to ensure that the frame rate of the game is 78 independent of your window size, so for maximum playability you 79 should make the window as large as possible. 80 81Miscellaneous Notes 82=================== 83 84 Thanks to John Kilburg for supplying an Imakefile (new to v1.1). 85 86Disclaimer 87========== 88 89This program is free software; you can redistribute it and/or modify 90it under the terms of the GNU General Public License as published by 91the Free Software Foundation; either version 1, or (at your option) 92any later version. 93 94This program is distributed in the hope that it will be useful, 95but WITHOUT ANY WARRANTY; without even the implied warranty of 96MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 97GNU General Public License for more details. 98 99You should have received a copy of the GNU General Public License 100along with this program; if not, write to the Free Software 101Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 102 103