Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3688 in orxonox.OLD


Ignore:
Timestamp:
Mar 31, 2005, 1:14:27 AM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: added GARBAGECOLLECTOR to debug module and changed the way the speed is set.

Location:
orxonox/trunk/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/defs/debug.h

    r3686 r3688  
    6161#define DEBUG_MODULE_PNODE              3
    6262#define DEBUG_MODULE_WORLD_ENTITY       0
    63 #define DEBUG_MODULE_COMMAND_NODE       3
     63#define DEBUG_MODULE_COMMAND_NODE       0
    6464#define DEBUG_MODULE_GRAPHICS           0
    6565#define DEBUG_MODULE_LOAD               0
     
    6767#define DEBUG_MODULE_IMPORTER           0
    6868#define DEBUG_MODULE_TRACK_MANAGER      0
     69#define DEBUG_MODULE_GARBAGE_COLLECTOR  0
    6970#define DEBUG_MODULE_LIGHT              0
    7071#define DEBUG_MODULE_PLAYER             3
  • orxonox/trunk/src/garbage_collector.cc

    r3685 r3688  
    1616*/
    1717
    18 #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_WORLD
     18#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_GARBAGE_COLLECTOR
    1919
    2020#include "garbage_collector.h"
  • orxonox/trunk/src/world_entities/projectile.cc

    r3686 r3688  
    9999void Projectile::tick (float time)
    100100{
    101   this->speed = this->weapon->getSpeed() * 3;
     101  this->speed = this->weapon->getSpeed() + 100.0;
    102102  Vector v;
    103103  v = *this->flightDirection * this->speed * time;
  • orxonox/trunk/src/world_entities/test_gun.cc

    r3686 r3688  
    9696  pj->setAbsDir(q);
    9797
     98  //printf("%f\n",this->getSpeed());
     99
    98100  pj->setFlightDirection(q);
    99101  pj->setSpeed(this->getSpeed());
Note: See TracChangeset for help on using the changeset viewer.