Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 18, 2006, 12:58:14 AM (18 years ago)
Author:
patrick
Message:

network: the simple menu now works. now i need more graphics, more effects and more sound

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/world_entities/image_entity.cc

    r6516 r6520  
    6868  this->setLayer(E2D_LAYER_TOP);
    6969  this->setRotationSpeed(5);
    70   this->setSize(GraphicsEngine::getInstance()->getResolutionX()/10.0);
     70  this->setSize(GraphicsEngine::getInstance()->getResolutionX()/10.0, GraphicsEngine::getInstance()->getResolutionY()/10.0);
    7171
    7272  this->setBindNode(this);
     
    9999 * @param size the size in pixels
    100100 */
    101 void ImageEntity::setSize(float size)
     101void ImageEntity::setSize(float sizeX, float sizeY)
    102102{
    103   this->setSize2D(size/2, size/2);
     103  this->setSize2D(sizeX, sizeY);
    104104}
    105105
Note: See TracChangeset for help on using the changeset viewer.