Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 27, 2015, 9:18:06 AM (9 years ago)
Author:
clangenb
Message:

branch added

Location:
code/branches/clangenb/src/modules/weapons
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • code/branches/clangenb/src/modules/weapons/projectiles/Rocket.cc

    r10216 r10494  
    7474            // Create rocket model
    7575            Model* model = new Model(this->getContext());
    76             model->setMeshSource("rocket.mesh");
     76            model->setMeshSource("can.mesh");
    7777            model->scale(0.7f);
    7878            this->attach(model);
  • code/branches/clangenb/src/modules/weapons/weaponmodes/EnergyDrink.cc

    r10296 r10494  
    108108        model->setScale(5);
    109109
     110        this->computeMuzzleParameters(this->getWeapon()->getWeaponPack()->getWeaponSystem()->getPawn()->getAimPosition());
    110111        projectile->setOrientation(this->getMuzzleOrientation());
    111112        projectile->setPosition(this->getMuzzlePosition());
  • code/branches/clangenb/src/modules/weapons/weaponmodes/FusionFire.cc

    r10296 r10494  
    6767    {
    6868        BillboardProjectile* projectile = new BillboardProjectile(this->getContext());
    69 
     69       
     70        this->computeMuzzleParameters(this->getWeapon()->getWeaponPack()->getWeaponSystem()->getPawn()->getAimPosition());
    7071        projectile->setOrientation(this->getMuzzleOrientation());
    7172        projectile->setPosition(this->getMuzzlePosition());
  • code/branches/clangenb/src/modules/weapons/weaponmodes/LaserFire.cc

    r10296 r10494  
    6666        ParticleProjectile* projectile = new ParticleProjectile(this->getContext());
    6767
     68        this->computeMuzzleParameters(this->getWeapon()->getWeaponPack()->getWeaponSystem()->getPawn()->getAimPosition());
    6869        projectile->setOrientation(this->getMuzzleOrientation());
    6970        projectile->setPosition(this->getMuzzlePosition());
Note: See TracChangeset for help on using the changeset viewer.