Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 22, 2006, 12:34:43 AM (18 years ago)
Author:
bensch
Message:

orxonox/dylib: the first level works again, had to fix out the TestGun (it had some bugs, i think)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/shared_lib/src/world_entities/creatures/md2_creature.cc

    r7078 r7177  
    2626
    2727#include "weapons/weapon_manager.h"
    28 #include "weapons/test_gun.h"
    29 #include "weapons/turret.h"
    30 #include "weapons/cannon.h"
    3128
    3229#include "factory.h"
     
    8077
    8178  //weapons:
    82   Weapon* wpRight = new TestGun(0);
    83   wpRight->setName("testGun Right");
    84   Weapon* wpLeft = new TestGun(1);
    85   wpLeft->setName("testGun Left");
    86   Weapon* cannon = dynamic_cast<Weapon*>(Factory::fabricate(CL_CANNON));
    87 
    88   cannon->setName("BFG");
    89 
    90    this->getWeaponManager()->addWeapon(wpLeft, 1, 0);
    91    this->getWeaponManager()->addWeapon(wpRight,1 ,1);
     79//  Weapon* wpRight = new TestGun(0);
     80//  wpRight->setName("testGun Right");
     81//  Weapon* wpLeft = new TestGun(1);
     82//  wpLeft->setName("testGun Left");
     83//  Weapon* cannon = dynamic_cast<Weapon*>(Factory::fabricate(CL_CANNON));
     84
     85//  cannon->setName("BFG");
     86
     87   //this->getWeaponManager()->addWeapon(wpLeft, 1, 0);
     88   //this->getWeaponManager()->addWeapon(wpRight,1 ,1);
    9289//   this->getWeaponManager()->addWeapon(cannon, 0, 6);
    9390
Note: See TracChangeset for help on using the changeset viewer.