# heightmap.h

Go to the documentation of this file.

    00001 /* $Id: heightmap.h 12971 2008-05-06 15:11:33Z rubidium $ */
    00002
    00005 #ifndef HEIGHTMAP_H
    00006 #define HEIGHTMAP_H
    00007
    00008 /*
    00009  * Order of these enums has to be the same as in lang/english.txt
    00010  * Otherwise you will get inconsistent behaviour.
    00011  */
    00012 enum {
    00013   HM_COUNTER_CLOCKWISE,
    00014   HM_CLOCKWISE,
    00015 };
    00016
    00024 bool GetHeightmapDimensions(char *filename, uint *x, uint *y);
    00025
    00032 void LoadHeightmap(char *filename);
    00033
    00038 void FlatEmptyWorld(byte tile_height);
    00039
    00040 #endif /* HEIGHTMAP_H */