Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 11, 2006, 4:18:14 PM (19 years ago)
Author:
manuel
Message:

moved pickup from spaceship to playable. playable can now pickup health and max-health powerups

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/powerups/src/world_entities/power_ups/power_up.cc

    r6424 r6487  
    6565void PowerUp::draw() const
    6666{
    67   glMatrixMode(GL_MODELVIEW);
     67  this->sphereMaterial->select();
     68  WorldEntity::draw();
     69  /*glMatrixMode(GL_MODELVIEW);
    6870  glPushMatrix();
    6971
    70   /* translate */
    7172  glTranslatef (this->getAbsCoor ().x,
    7273                this->getAbsCoor ().y,
     
    7879   this->getModel(0)->draw();
    7980
    80    glPopMatrix();
     81  glPopMatrix();*/
    8182}
    8283
Note: See TracChangeset for help on using the changeset viewer.