Changeset 2036 in orxonox.OLD for orxonox/trunk/src/orxonox.cc
- Timestamp:
- Jun 27, 2004, 7:48:44 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/orxonox.cc
r1957 r2036 24 24 */ 25 25 26 /* class definition header */ 26 #include <iostream> 27 #include <cstdio> 28 #include <GL/glut.h> 29 30 #include "environment.h" 31 #include "world.h" 32 #include "input_output.h" 33 #include "data_tank.h" 34 #include "stdincl.h" 35 #include "player.h" 36 #include "npc.h" 37 #include "shoot_laser.h" 38 27 39 #include "orxonox.h" 28 40 29 30 41 using namespace std; 31 42 32 43 33 34 44 Orxonox::Orxonox () 35 45 { … … 40 50 41 51 Orxonox::~Orxonox () 42 { 43 glutSetKeyRepeat(GLUT_KEY_REPEAT_ON); 44 } 52 {} 45 53 46 54 … … 63 71 //int Orxonox::offsetY = 0; 64 72 73 65 74 Orxonox* Orxonox::getInstance (void) 66 75 { … … 79 88 //glutFullScreen(); 80 89 glutInitWindowPosition(100, 100); 81 glutCreateWindow(" orxOnox");90 glutCreateWindow("OrxonoX"); 82 91 glShadeModel(GL_FLAT); 83 92 /* window event dispatchers */ … … 138 147 io->setPlayerStep(19.2/fps); /* set player to propper speed */ 139 148 localPlayer->shootLaser->setShootStep(20.0/fps); /* set shoot speed */ 140 localPlayer->shootRocket->setShootStep(20.0/fps); /* set shoot speed */141 149 world->setWorldStep(7.0/fps); /* set the speed of the terrain moving away */ 142 150 fps = 0;
Note: See TracChangeset
for help on using the changeset viewer.