Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2036 in orxonox.OLD for orxonox/trunk/src/orxonox.cc


Ignore:
Timestamp:
Jun 27, 2004, 7:48:44 PM (21 years ago)
Author:
patrick
Message:

orxonxo/trunk/src: extended framework: class inheritance, right including (had som bugs), framework not finished yet

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/orxonox.cc

    r1957 r2036  
    2424*/
    2525
    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
    2739#include "orxonox.h"
    2840
    29 
    3041using namespace std;
    3142
    3243
    33 
    3444Orxonox::Orxonox ()
    3545{
     
    4050
    4151Orxonox::~Orxonox ()
    42 {
    43   glutSetKeyRepeat(GLUT_KEY_REPEAT_ON);
    44 }
     52{}
    4553
    4654
     
    6371//int Orxonox::offsetY = 0;
    6472
     73
    6574Orxonox* Orxonox::getInstance (void)
    6675{
     
    7988  //glutFullScreen();
    8089  glutInitWindowPosition(100, 100);
    81   glutCreateWindow("orxOnox");
     90  glutCreateWindow("OrxonoX");
    8291  glShadeModel(GL_FLAT);
    8392  /* window event dispatchers */
     
    138147  io->setPlayerStep(19.2/fps); /* set player to propper speed */
    139148  localPlayer->shootLaser->setShootStep(20.0/fps); /* set shoot speed */
    140   localPlayer->shootRocket->setShootStep(20.0/fps); /* set shoot speed */
    141149  world->setWorldStep(7.0/fps); /* set the speed of the terrain moving away */
    142150  fps = 0;
Note: See TracChangeset for help on using the changeset viewer.