Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 27, 2007, 7:01:08 PM (17 years ago)
Author:
nicolasc
Message:

huge diff
cleaned the individual weapons, moved stuff to weapon.{cc,h}
and some minor fixes which popped up then and when

Location:
branches/presentation/src/world_entities/projectiles
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/presentation/src/world_entities/projectiles/projectile_weapon.cc

    r10749 r10771  
    147147}
    148148
    149 
     149/*
    150150void ProjectileWeapon::collidesWith (WorldEntity* target, const Vector& location)
    151151{
     
    154154  this->destroy(target);
    155155}
    156 
     156*/
    157157
    158158
  • branches/presentation/src/world_entities/projectiles/projectile_weapon.h

    r10618 r10771  
    5959    virtual void destroy (WorldEntity* killer);
    6060
    61     virtual void collidesWith (WorldEntity* target, const Vector& location);  //!< collision handler; used against SpaceShip as most target will be
     61//    virtual void collidesWith (WorldEntity* target, const Vector& location);  //!< collision handler; used against SpaceShip as most target will be
    6262
    6363
  • branches/presentation/src/world_entities/projectiles/test_bullet.cc

    r10737 r10771  
    3535  this->registerObject(this, TestBullet::_objectList);
    3636
    37   this->loadModel("models/projectiles/orx-rocket.obj", .3);
     37  this->loadModel("models/projectiles/orx-rocket.obj", .6); // FIXME model no longer avaiable
    3838
    3939  this->setMinEnergy(1);
     
    170170  this->getAbsDir().matrix (matrix);
    171171  glMultMatrixf((float*)matrix);
    172   glScalef(2.0, 2.0, 2.0);
     172//   glScalef(2.0, 2.0, 2.0); // no double rescale, changed size in modelloader
    173173  this->getModel()->draw();
    174174
Note: See TracChangeset for help on using the changeset viewer.