Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6981 in orxonox.OLD for trunk/src/lib/graphics


Ignore:
Timestamp:
Feb 2, 2006, 2:45:07 PM (19 years ago)
Author:
bensch
Message:

trunk: some virtuals

Location:
trunk/src/lib/graphics
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/graphics/effects/graphics_effect.cc

    r6979 r6981  
    2020#include "graphics_effect.h"
    2121
    22 #include "graphics_engine.h"
    2322#include "load_param.h"
    2423
  • trunk/src/lib/graphics/importer/height_map.h

    r6956 r6981  
    2828class HeightMap;
    2929
    30 class Tile 
     30class Tile
    3131{
    3232public:
     
    4040float x;
    4141float z;
    42 ~Tile();
     42virtual ~Tile();
    4343
    4444
     
    4747HeightMap* hmref;
    4848VertexArrayModel* highResModel;
    49 VertexArrayModel* lowResModel; 
     49VertexArrayModel* lowResModel;
    5050int highRes;
    5151int lowRes;
     
    6060void load(int Mode);
    6161void load(const char*, int Mode);
    62 void scale( Vector V); 
     62void scale( Vector V);
    6363void setAbsCoor(Vector V);
    64 float getHeight(float x, float y); 
     64float getHeight(float x, float y);
    6565float getNormal(float x, float y);
    6666HeightMap();
    6767HeightMap(const char*);
    6868HeightMap(const char*, const char*);
    69 ~HeightMap();
     69virtual ~HeightMap();
    7070
    7171friend class Tile;
     
    7474SDL_Surface* heightMap;
    7575SDL_Surface* colourMap;
    76 unsigned char* heights; 
     76unsigned char* heights;
    7777unsigned char* colours;
    7878
     
    8080void drawRect(int xBottomLeft, int yBottomLeft, int xTopRight, int yTopRight );
    8181void fixBoarder(int xBottomLeft, int yBottomLeft, int xTopRight, int yTopRight);
    82 Vector  **  normalVectorField ; 
     82Vector  **  normalVectorField ;
    8383Tile    ***  tiles;
    8484Vector    camCoords;
    85 Vector offsetCoords; 
     85Vector offsetCoords;
    8686Material * tmp_mat;
    8787Material* red_mat;
  • trunk/src/lib/graphics/importer/media_container.h

    r6731 r6981  
    4545
    4646  MediaContainer(const char* filename = NULL);
    47   ~MediaContainer();
     47  virtual ~MediaContainer();
    4848
    4949  bool loadMedia(const char* filename);
     
    5353
    5454private:
    55  
     55
    5656  GLuint getNextFrame();
    5757  void unloadMedia();
  • trunk/src/lib/graphics/importer/movie_player.h

    r6731 r6981  
    5959
    6060  MoviePlayer(const char* filename = NULL);
    61   ~MoviePlayer();
     61  virtual ~MoviePlayer();
    6262
    6363  bool loadMovie(const char* filename);
  • trunk/src/lib/graphics/importer/texture.h

    r6465 r6981  
    2020      Texture(const char* imageName = NULL, GLenum target = GL_TEXTURE_2D);
    2121  //  Texture(TEXTURE_TYPE type, int resolution);
    22       ~Texture();
     22      virtual ~Texture();
    2323
    2424      bool loadImage(const char* imageName, GLenum target = GL_TEXTURE_2D);
  • trunk/src/lib/graphics/importer/texture_sequence.h

    r6532 r6981  
    2323    TextureSequence(unsigned int count = 0, ...);
    2424  //  Texture(TEXTURE_TYPE type, int resolution);
    25     ~TextureSequence();
     25    virtual ~TextureSequence();
    2626
    2727    bool loadImageSeries(unsigned int count, ...);
  • trunk/src/lib/graphics/text_engine/text.h

    r5768 r6981  
    4040  public:
    4141    Text(const char* fontFile = NULL, unsigned int fontSize = TEXT_DEFAULT_SIZE);
    42     ~Text();
     42    virtual ~Text();
    4343    void init();
    4444
Note: See TracChangeset for help on using the changeset viewer.