Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 2, 2007, 11:48:16 PM (18 years ago)
Author:
nicolasc
Message:

minor cleanup

Location:
branches/vs-enhencements/src/world_entities/projectiles
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/vs-enhencements/src/world_entities/projectiles/hbolt.cc

    r10618 r10645  
    5959  this->halo = new Billboard();
    6060  this->halo->setSize(.65, .65);
    61   this->halo->setTexture("hbolt_halo2.png");
     61  this->halo->setTexture("hbolt_halo2.jpg");
    6262  this->halo->setVisibility(false);
    6363
     
    177177  glPushAttrib(GL_ENABLE_BIT);
    178178  glDisable(GL_LIGHTING);
    179 //   glDisable(GL_FOG);
     179  glDisable(GL_FOG);
    180180
    181181  glMatrixMode(GL_MODELVIEW);
     
    184184//     float matrix[4][4];
    185185    glTranslatef (this->getAbsCoor ().x, this->getAbsCoor ().y, this->getAbsCoor ().z);
     186    this->halo->draw();
     187
    186188    Vector tmpRot = this->getAbsDir().getSpacialAxis();
    187189    glRotatef (this->getAbsDir().getSpacialAxisAngle(), tmpRot.x, tmpRot.y, tmpRot.z );
     
    189191//     glMultMatrixf((float*)matrix);
    190192    this->getModel()->draw();
    191     this->halo->draw();
    192193
    193194  glPopMatrix();
  • branches/vs-enhencements/src/world_entities/projectiles/lbolt.cc

    r10635 r10645  
    6262  this->halo = new Billboard();
    6363  this->halo->setSize(.35, .35);
    64   this->halo->setTexture("hbolt_halo.png");
     64  this->halo->setTexture("hbolt_halo.jpg");
    6565  this->halo->setVisibility(false);
    6666
Note: See TracChangeset for help on using the changeset viewer.