00001 /* $Id: heightmap.h 15685 2009-03-12 14:21:18Z 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 00044 void FixSlopes(); 00045 00046 #endif /* HEIGHTMAP_H */