summaryrefslogtreecommitdiff
path: root/src/smallmap_gui.h
diff options
context:
space:
mode:
authorterkhen <terkhen@openttd.org>2010-02-08 21:19:41 +0000
committerterkhen <terkhen@openttd.org>2010-02-08 21:19:41 +0000
commitb9f06f3f2998c6ae5474ef9de725fb34bf5511ec (patch)
tree3627bbeab042ca1244a7e1174047abb9dbd0877f /src/smallmap_gui.h
parent0267acff62c41932c52e7468c295881cc0e9343f (diff)
downloadopenttd-b9f06f3f2998c6ae5474ef9de725fb34bf5511ec.tar.xz
(svn r19062) -Codechange: Move smallmap related functions to their own header.
Diffstat (limited to 'src/smallmap_gui.h')
-rw-r--r--src/smallmap_gui.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/smallmap_gui.h b/src/smallmap_gui.h
new file mode 100644
index 000000000..62ace3280
--- /dev/null
+++ b/src/smallmap_gui.h
@@ -0,0 +1,18 @@
+/* $Id$ */
+
+/*
+ * This file is part of OpenTTD.
+ * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
+ * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+/** @file smallmap_gui.h Smallmap GUI functions, used at newgrf.cpp and toolbar_gui.cpp. */
+
+#ifndef SMALLMAP_GUI_H
+#define SMALLMAP_GUI_H
+
+void BuildIndustriesLegend();
+void ShowSmallMap();
+
+#endif /* SMALLMAP_GUI_H */