home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / X11 / spatial / README < prev    next >
Encoding:
Text File  |  1995-05-03  |  1.1 KB  |  40 lines

  1. Spatial: three-dimensional tetris.
  2.  
  3. (C) Copyright 1991-3 Andrew Plotkin. (ap1i+@andrew.cmu.edu) 
  4. Permission is given to copy and use, as long as this copyright notice 
  5. is retained.
  6.  
  7. To compile: change the first few lines of the Makefile to reflect
  8. where you want the game installed.
  9.  
  10. The piece shape file *must* be
  11. installed in the DESTLIBDIR you define in the Makefile.
  12. Type "make install" to do this.
  13. (The score file, which in earlier versions had to be installed,
  14. is now generated automatically if it does not exist.)
  15.  
  16. ------------------
  17.  
  18. Some comments about porting to various systems: 
  19. (these are gathered from play-testing comments, and
  20. have not been tested)
  21.  
  22. If your system does not have random(), uncomment the line
  23. #DEFINES = -Drandom=lrand48 -Dsrandom=srand48
  24.  
  25. If your system does not have flock(), add -DUSELOCKF
  26. to the DEFINES line.
  27.  
  28. Solaris: Uncomment the line
  29. #DEFINES = -DUSELOCKF -Drandom=lrand48 -Dsrandom=srand48
  30. in the Makefile.
  31.  
  32. AIX on RS/6000: Add the line
  33. #include <sys/select.h> 
  34. in game.c and intro.c.
  35.  
  36. You may have to add
  37. #include <sys/types.h>
  38. on score.c.
  39.  
  40.