Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8144 in orxonox.OLD for branches/gui/src/lib/graphics


Ignore:
Timestamp:
Jun 4, 2006, 7:55:55 PM (19 years ago)
Author:
bensch
Message:

gui: better debugging system

Location:
branches/gui/src/lib/graphics/importer
Files:
3 edited

Legend:

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

    r7729 r8144  
    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++)
  • branches/gui/src/lib/graphics/importer/texture.cc

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

    r7790 r8144  
    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.