/[projectaxis]/projectaxis/projectAxis/src/visual/pgtest3.cpp
ViewVC logotype

Diff of /projectaxis/projectAxis/src/visual/pgtest3.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by leiavoia, Wed Aug 20 18:25:14 2003 UTC revision 1.4 by leiavoia, Sun Sep 14 01:05:00 2003 UTC
# Line 44  Axis* a4; Line 44  Axis* a4;
44  int main( int argc, char *argv[] ) { // not that we actually have any command line args, but just in case...  int main( int argc, char *argv[] ) { // not that we actually have any command line args, but just in case...
45    
46    
47    //get args:
48    bool fullscreen = 0;
49    for (int x = 1; x < argc; x++) {
50            if ( strcmp(argv[x],"--fullscreen") == 0 ) {fullscreen = true;}
51            }
52    
53    
54  //Seed the random numbers:  //Seed the random numbers:
55  srand(time(NULL));  srand(time(NULL));
56    
# Line 57  Axis* a4 = new Axis(AXISCOLOR_G, 0); Line 64  Axis* a4 = new Axis(AXISCOLOR_G, 0);
64  TurnMgr* turnmgr = new TurnMgr();  TurnMgr* turnmgr = new TurnMgr();
65    
66  // this starts and runs everything by itself. ignore unused variable warning  // this starts and runs everything by itself. ignore unused variable warning
67  rm = new RenderMan(1024, 768);  rm = new RenderMan(1024, 768, fullscreen);
68    
69  //delete themap;  //delete themap;
70  //delete blotchmaker;  //delete blotchmaker;

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26