Files @ r8122:b60b03677b3f
Branch filter:

Location: cpp/openttd-patchpack/source/src/core/geometry_type.hpp

belugas
(svn r11683) -Fix(r11682): win32.cpp still requires gfx.h inclusion, at least for now.
/* $Id$ */

/** @file geometry_type.hpp All geometry types in OpenTTD. */

#ifndef GEOMETRY_TYPE_HPP
#define GEOMETRY_TYPE_HPP

struct Point {
	int x;
	int y;
};

struct Dimension {
	int width;
	int height;
};

struct Rect {
	int left;
	int top;
	int right;
	int bottom;
};

struct PointDimension {
	int x;
	int y;
	int width;
	int height;
};

struct Pair {
	int a;
	int b;
};

#endif /* GEOMETRY_TYPE_HPP */