Changeset 1955 in orxonox.OLD for orxonox/branches
- Timestamp:
- Jun 15, 2004, 9:48:51 PM (20 years ago)
- Location:
- orxonox/branches/automake/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/automake/src/Makefile.am
r1953 r1955 1 1 AM_CXXFLAGS="-I/usr/X11R6/include" 2 AM_LDFLAGS="-L/usr/Mesa-6.0.1/lib -lglut32 -lGLU32 -lGL32 -lm -L/usr/X11R6/lib -lXt -lX11" 3 2 4 #"-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 4 6 5 7 bin_PROGRAMS=orxonox -
orxonox/branches/automake/src/Makefile.in
r1953 r1955 111 111 target_alias = @target_alias@ 112 112 AM_CXXFLAGS = "-I/usr/X11R6/include" 113 AM_LDFLAGS = "-L/usr/Mesa-6.0.1/lib -lglut32 -lGLU32 -lGL32 -lm -L/usr/X11R6/lib -lXt -lX11" 114 115 113 116 #"-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 116 117 bin_PROGRAMS = orxonox 117 118 orxonox_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 42 42 for (int y = 1; y < 9; y++) 43 43 { 44 mountainTest[x][y] = (float)rand om() / 900000000;44 mountainTest[x][y] = (float)rand() / 900000000; 45 45 46 46 } -
orxonox/branches/automake/src/shoot_rocket.cc
r1942 r1955 147 147 sh->type = BACKPARABLE; 148 148 sh->xCor = x; sh->yCor = y; sh->zCor = z; 149 sh->xVel = (-1+(float)rand om() / 1000000000/step)/5;149 sh->xVel = (-1+(float)rand() / 1000000000/step)/5; 150 150 sh->yVel = -.3; 151 sh->zVel = (1-(float)rand om() / 1000000000/step)/5;151 sh->zVel = (1-(float)rand() / 1000000000/step)/5; 152 152 sh->xAcc = 0; sh->yAcc = .01/step; sh->zAcc = 0; 153 153 sh->next = lastShoot;
Note: See TracChangeset
for help on using the changeset viewer.