src/Terrain.hh
changeset 423 947ab54de4b7
parent 417 c503e0c6a740
child 424 f337a86d144e
equal deleted inserted replaced
422:5e4c8631779e 423:947ab54de4b7
     3 
     3 
     4 #include "Vector.hh"
     4 #include "Vector.hh"
     5 #include "Types.hh"
     5 #include "Types.hh"
     6 #include "Config.hh"
     6 #include "Config.hh"
     7 #include "Configuration.hh"
     7 #include "Configuration.hh"
     8 
       
     9 #include "Graphics/Drawable.hh"
       
    10 
     8 
    11 #include <vector>
     9 #include <vector>
    12 
    10 
    13 /**
    11 /**
    14  * Different types of terrain available
    12  * Different types of terrain available
   115     
   113     
   116     /**
   114     /**
   117      * Applies noise generated using generateTexture to generate a slightly varying color for the terrain pixel
   115      * Applies noise generated using generateTexture to generate a slightly varying color for the terrain pixel
   118      * at \a pc.
   116      * at \a pc.
   119      */
   117      */
   120     CL_Color getTexturePixel (PixelDimension x, PixelDimension y);
   118     Color getTexturePixel (PixelDimension x, PixelDimension y);
   121 
   119 
   122     /**
   120     /**
   123      * Scale parameter to "pixels"
   121      * Scale parameter to "pixels"
   124      *
   122      *
   125      * @param x Scaled value
   123      * @param x Scaled value