summaryrefslogtreecommitdiff
path: root/src/texteff.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-12-22 23:30:28 +0000
committerrubidium <rubidium@openttd.org>2007-12-22 23:30:28 +0000
commit8f0e68285b4eadd1780280d7e36b00ff80c20f67 (patch)
treebb7b4abc525aa4e79b1a40ebe21516d9c47244e1 /src/texteff.cpp
parenta7d54cf9464f457f181f920a4edc34fcb97aac4f (diff)
downloadopenttd-8f0e68285b4eadd1780280d7e36b00ff80c20f67.tar.xz
(svn r11682) -Codechange: move some 'generic' geometry related types into a single file and do not include gfx.h everywhere to get a Point type.
Diffstat (limited to 'src/texteff.cpp')
-rw-r--r--src/texteff.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/texteff.cpp b/src/texteff.cpp
index 447a6c2a5..c5a33ca72 100644
--- a/src/texteff.cpp
+++ b/src/texteff.cpp
@@ -6,7 +6,6 @@
#include "openttd.h"
#include "functions.h"
#include "tile_cmd.h"
-#include "gfx.h"
#include "landscape.h"
#include "viewport.h"
#include "saveload.h"
@@ -58,7 +57,7 @@ static bool _chatmessage_visible = false;
/* The chatbox grows from the bottom so the coordinates are pixels from
* the left and pixels from the bottom. The height is the maximum height */
-static const Oblong _chatmsg_box = {10, 30, 500, 150};
+static const PointDimension _chatmsg_box = {10, 30, 500, 150};
static uint8 _chatmessage_backup[150 * 500 * 6]; // (height * width)
static inline uint GetChatMessageCount()