summaryrefslogtreecommitdiff
path: root/src/heightmap.h
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2016-09-04 12:57:43 +0000
committeralberth <alberth@openttd.org>2016-09-04 12:57:43 +0000
commit597380e099688652e31fd1f406b53dee6b65da90 (patch)
treeac7bdedf8b7fd9d8f096465c3cbb1b41b40f1e78 /src/heightmap.h
parentdf9a9f074a55a839a5f311e5c0837342192e720d (diff)
downloadopenttd-597380e099688652e31fd1f406b53dee6b65da90.tar.xz
(svn r27650) -Codechange: Replace SaveOrLoadMode by FileOperation and DetailedFileType.
Diffstat (limited to 'src/heightmap.h')
-rw-r--r--src/heightmap.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/heightmap.h b/src/heightmap.h
index 08ae200ec..67349df48 100644
--- a/src/heightmap.h
+++ b/src/heightmap.h
@@ -12,6 +12,8 @@
#ifndef HEIGHTMAP_H
#define HEIGHTMAP_H
+#include "fileio_type.h"
+
/**
* Order of these enums has to be the same as in lang/english.txt
* Otherwise you will get inconsistent behaviour.
@@ -21,8 +23,8 @@ enum HeightmapRotation {
HM_CLOCKWISE, ///< Rotate the map clockwise 45 degrees
};
-bool GetHeightmapDimensions(char *filename, uint *x, uint *y);
-void LoadHeightmap(char *filename);
+bool GetHeightmapDimensions(DetailedFileType dft, const char *filename, uint *x, uint *y);
+void LoadHeightmap(DetailedFileType dft, const char *filename);
void FlatEmptyWorld(byte tile_height);
void FixSlopes();