(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.

This commit is contained in:
rubidium
2007-12-22 23:30:28 +00:00
parent a7d54cf946
commit 8f0e68285b
79 changed files with 87 additions and 120 deletions

View File

@@ -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()