00001 /* $Id: heightmap.h 8950 2007-03-01 01:24:44Z belugas $ */ 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 */