Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


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

trunk: some virtuals

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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;
Note: See TracChangeset for help on using the changeset viewer.