Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 5, 2007, 8:43:21 PM (16 years ago)
Author:
rgrieder
Message:
  • merged "includ" folder into the "src" folder
  • started writing the weaponManager
  • renamed 2 files with capital letters
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/main_reto_vs05/src/run_manager.cc

    r161 r169  
    2525*/
    2626
    27 
    28 /**
    29 * RunManager is the basic control object during the game.
    30 *
    31 * The RunManger class is designed to actually "run" the main part of the
    32 * game. The Idea is, that you could derive from the RunManager in order
    33 * to distinguish between a first person shooter or a space craft shooter.
    34 * RunManager loads and initialises everything in the scene (like the ship,
    35 * the enemies in the scene, any scripts, the physics, window events,
    36 * environment, HUD, etc.).
    37 * It also captures any input from keyboard, mous, joystick (optional) or
    38 * Ogre (window events).
    39 */
    4027
    4128#include "Ogre.h"
     
    6956#include "run_manager.h"
    7057
    71 namespace Orxonox {
     58namespace orxonox {
    7259  using namespace Ogre;
     60
     61  /**
     62  * RunManager is the basic control object during the game.
     63  *
     64  * The RunManger class is designed to actually "run" the main part of the
     65  * game. The Idea is, that you could derive from the RunManager in order
     66  * to distinguish between a first person shooter or a space craft shooter.
     67  * RunManager loads and initialises everything in the scene (like the ship,
     68  * the enemies in the scene, any scripts, the physics, window events,
     69  * environment, HUD, etc.).
     70  * It also captures any input from keyboard, mous, joystick (optional) or
     71  * Ogre (window events).
     72  */
     73
    7374
    7475  /**
     
    240241    for (int i = 0; i < bulletsIndex_; i++)
    241242    {
    242       bullets_[i]->mNode->translate(bullets_[i]->mSpeed*deltaTime);
    243       bullets_[i]->mNode->yaw(Degree(deltaTime*100));
    244       bullets_[i]->mNode->roll(Degree(deltaTime*300));
     243      bullets_[i]->node_->translate(bullets_[i]->speed_*deltaTime);
     244      bullets_[i]->node_->yaw(Degree(deltaTime*100));
     245      bullets_[i]->node_->roll(Degree(deltaTime*300));
    245246    }
    246247
Note: See TracChangeset for help on using the changeset viewer.