Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 26, 2005, 3:28:39 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: moved protoclass to folder proto
added protosingleton
added resourceManager
modiefied some stuff to work better

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/graphics/importer/texture.h

    r3548 r3655  
    7070  GLuint texture;   //!< The Texture-ID of opengl from this Texture.
    7171  SDL_Surface* map; //!< The map SDL initializes for this element.
    72   char* searchTextureInPaths(char* texName) const;
     72  char* searchTextureInPaths(const char* texName) const;
    7373  inline void swap(unsigned char &a, unsigned char &b);
    7474 public:
    7575  Texture(void);
     76  Texture(const char* imageName);
    7677  ~Texture(void);
    7778  /** \returns The textureID of this texture.  */
     
    7980  bool loadTexToGL (Image* pImage);
    8081
    81   bool loadImage(char* imageName);
     82  bool loadImage(const char* imageName);
    8283#ifndef HAVE_SDL_SDL_IMAGE_H
    8384
Note: See TracChangeset for help on using the changeset viewer.