Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 22, 2006, 9:36:55 AM (19 years ago)
Author:
nicolasc
Message:

defined emissionPoint as array, update get/set function, kept old as fallback

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/playability/src/world_entities/weapons/heavy_blaster.cc

    r10136 r10140  
    122122  animation3->setInfinity(ANIM_INF_CONSTANT);
    123123
    124   this->setEmissionPoint(3.8, 1.2, 0);
     124  this->setEmissionPoint(3.8, 1.2, 0, 0);
    125125
    126126  animation2->addKeyFrame(Vector(0.0, -1.0, 0.0), Quaternion(), 0.3, ANIM_LINEAR, ANIM_NULL);
     
    147147  pj->setVelocity(this->getAbsDir().apply(Vector(1,0,0))*130 + VECTOR_RAND(1));
    148148
    149   pj->setAbsCoor(this->getEmissionPoint());
     149  pj->setAbsCoor(this->getEmissionPoint(0));
    150150  pj->setAbsDir(this->getAbsDir());
    151151  pj->toList(OM_GROUP_01_PROJ);
Note: See TracChangeset for help on using the changeset viewer.