Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8145 in orxonox.OLD for trunk/src/lib/graphics/importer


Ignore:
Timestamp:
Jun 5, 2006, 11:49:26 AM (19 years ago)
Author:
bensch
Message:

trunk: merged the gui back
merged with command:
svn merge -r8114:HEAD https://svn.orxonox.net/orxonox/branches/gui .
→ no conflicts

Location:
trunk/src/lib/graphics/importer
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/graphics/importer/primitive_model.cc

    r7729 r8145  
    104104
    105105  // defining the binding Faces.
    106   unsigned int v1, v2, v3, v4;
     106  int v1, v2, v3, v4;
    107107  for (int i = 0; i <= detail * 2 -1; i++)
    108108  {
     
    235235    }
    236236  //defining Faces
    237   unsigned int v1, v2, v3, v4;
     237  int v1, v2, v3, v4;
    238238  for (int i = 0; i < detail-1; i++)
    239239    for (int j = 0; j < detail-1; j++)
  • trunk/src/lib/graphics/importer/texture.cc

    r7790 r8145  
    218218    this->setTexture(Texture::loadTexToGL(this->data->getStoredImage()));
    219219  }
     220  return true;
    220221}
    221222
  • trunk/src/lib/graphics/importer/texture.h

    r7790 r8145  
    3434    bool setSurface(SDL_Surface* newSurface);
    3535    /** @returns true if the Surface has an Alpha Value. */
    36     bool setAlpha(bool hasAlpha) { this->bAlpha = hasAlpha; };
     36    bool setAlpha(bool hasAlpha) { this->bAlpha = hasAlpha; return this->bAlpha; };
    3737    bool setTexture(GLuint texture);
    3838
Note: See TracChangeset for help on using the changeset viewer.