summaryrefslogtreecommitdiff
path: root/src/viewport_type.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/viewport_type.h')
-rw-r--r--src/viewport_type.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/viewport_type.h b/src/viewport_type.h
index 6822339cc..d00509eb5 100644
--- a/src/viewport_type.h
+++ b/src/viewport_type.h
@@ -6,6 +6,7 @@
#define VIEWPORT_TYPE_H
#include "zoom_type.h"
+#include "strings_type.h"
/**
* Data structure for viewport, display of a part of the world
@@ -28,6 +29,8 @@ struct ViewportSign {
int32 left;
int32 top;
uint16 width_1, width_2;
+
+ void UpdatePosition(int center, int top, StringID str);
};
enum {