geometry_type.hpp
Go to the documentation of this file.00001
00002
00005 #ifndef GEOMETRY_TYPE_HPP
00006 #define GEOMETRY_TYPE_HPP
00007
00008 #if defined(__AMIGA__)
00009
00010 #define Point OTTD_Point
00011 #endif
00012
00013 #if defined(__APPLE__)
00014
00015 #define Rect OTTD_Rect
00016 #define Point OTTD_Point
00017 #endif
00018
00019
00020 struct Point {
00021 int x;
00022 int y;
00023 };
00024
00025 struct Dimension {
00026 int width;
00027 int height;
00028 };
00029
00030 struct Rect {
00031 int left;
00032 int top;
00033 int right;
00034 int bottom;
00035 };
00036
00037 struct PointDimension {
00038 int x;
00039 int y;
00040 int width;
00041 int height;
00042 };
00043
00044 struct Pair {
00045 int a;
00046 int b;
00047 };
00048
00049 #endif