diff options
author | rubidium <rubidium@openttd.org> | 2007-12-22 23:30:28 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-12-22 23:30:28 +0000 |
commit | 1f6043458c2677f3651618bc23f8b0a24598bffb (patch) | |
tree | bb7b4abc525aa4e79b1a40ebe21516d9c47244e1 /src/texteff.cpp | |
parent | f9c26f80c5f95e1860722a33bdc6e8af39beb482 (diff) | |
download | openttd-1f6043458c2677f3651618bc23f8b0a24598bffb.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.cpp | 3 |
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() |