As suspected, it didn't work
[progcomp2012.git] / web / doc / manager_manual.txt
index 239c6ac..7a9c02c 100644 (file)
@@ -36,6 +36,8 @@ A WARNING ABOUT BUFFERING
        
 OPTIONS
        -g
+               NOTE: This switch only functions if stratego is built with graphics enabled. See BUILDING for more information.
+
                By default, graphics are disabled. If the -g switch is present, stratego will draw the game as it is played using SDL/OpenGL
                
        -p
@@ -216,6 +218,27 @@ EXIT/OUTPUT
 
        If an error occurs within stratego itself, an error message will be printed to stderr and return exit code 1.
        If possible, stratego will print the message "QUIT" to both AI programs, and they should exit as soon as possible.
+
+BUILDING
+       To build from source, simply run make in the source directory.
+       You will need the C pthread library (which should come with gcc)
+
+       stratego can be built with or without graphics enabled. By default, graphics are disabled.
+
+       To enable graphics:
+       1. Ensure that the first line of the source file "graphics.h" reads:
+               #define BUILD_GRAPHICS
+       2. In "Makefile", uncomment the line "CPP = g++ -Wall -pedantic -lSDL -lGL  -g" and comment out the line "CPP = g++ -Wall -pedantic -g"
+
+       To disable graphics:
+       1. Comment out the first line of "graphics.h" i.e ensure that it reads:
+               //#define BUILD_GRAPHICS
+       2. In "Makefile", uncomment the line "CPP = g++ -Wall -pedantic -g" and comment out the line "CPP = g++ -Wall -pedantic -lSDL -lGL  -g"
+
+       If you intend to build with graphics enabled, you will need the SDL and OpenGL developement libraries installed first.
+       If you intend to use graphics, please ensure the "images" directory is located in the executable's run directory.
+
+       
        
 
 BUGS   
@@ -242,5 +265,5 @@ NOTES
           irc://irc.ucc.asn.au #progcomp
 
 THIS PAGE LAST UPDATED
-       20/12/11 by Sam Moore
+       23/12/11 by Sam Moore
        

UCC git Repository :: git.ucc.asn.au