Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1955 in orxonox.OLD for orxonox/branches/automake/src


Ignore:
Timestamp:
Jun 15, 2004, 9:48:51 PM (21 years ago)
Author:
bensch
Message:

orxonox/branches/automake: now it should compile on windows. random→rand, glut→glut32

Location:
orxonox/branches/automake/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/automake/src/Makefile.am

    r1953 r1955  
    11AM_CXXFLAGS="-I/usr/X11R6/include"
     2AM_LDFLAGS="-L/usr/Mesa-6.0.1/lib -lglut32 -lGLU32 -lGL32 -lm -L/usr/X11R6/lib -lXt -lX11"
     3
    24#"-O3 -pedantic -fPIC -ffast-math -I/usr/X11R6/include"
    3 AM_LDFLAGS="-L/usr/Mesa-6.0.1/lib -lglut -lGLU -lGL -lm -L/usr/X11R6/lib -lXt -lX11"
     5
    46
    57bin_PROGRAMS=orxonox
  • orxonox/branches/automake/src/Makefile.in

    r1953 r1955  
    111111target_alias = @target_alias@
    112112AM_CXXFLAGS = "-I/usr/X11R6/include"
     113AM_LDFLAGS = "-L/usr/Mesa-6.0.1/lib -lglut32 -lGLU32 -lGL32 -lm -L/usr/X11R6/lib -lXt -lX11"
     114
     115
    113116#"-O3 -pedantic -fPIC -ffast-math -I/usr/X11R6/include"
    114 AM_LDFLAGS = "-L/usr/Mesa-6.0.1/lib -lglut -lGLU -lGL -lm -L/usr/X11R6/lib -lXt -lX11"
    115 
    116117bin_PROGRAMS = orxonox
    117118orxonox_SOURCES = orxonox.cc world.cc environment.cc player.cc npc.cc input_output.cc data_tank.cc ai.cc shoot_laser.cc shoot_rocket.cc
  • orxonox/branches/automake/src/environment.cc

    r1942 r1955  
    4242      for (int y = 1; y < 9; y++)
    4343        {
    44           mountainTest[x][y] = (float)random() / 900000000;
     44          mountainTest[x][y] = (float)rand() / 900000000;
    4545                                                 
    4646        }
  • orxonox/branches/automake/src/shoot_rocket.cc

    r1942 r1955  
    147147  sh->type = BACKPARABLE;
    148148  sh->xCor = x; sh->yCor = y; sh->zCor = z;
    149   sh->xVel = (-1+(float)random() / 1000000000/step)/5;
     149  sh->xVel = (-1+(float)rand() / 1000000000/step)/5;
    150150  sh->yVel = -.3;
    151   sh->zVel = (1-(float)random() / 1000000000/step)/5;
     151  sh->zVel = (1-(float)rand() / 1000000000/step)/5;
    152152  sh->xAcc = 0; sh->yAcc = .01/step; sh->zAcc = 0;
    153153  sh->next = lastShoot;
Note: See TracChangeset for help on using the changeset viewer.