diff options
author | egladil <egladil@openttd.org> | 2007-12-23 18:08:39 +0000 |
---|---|---|
committer | egladil <egladil@openttd.org> | 2007-12-23 18:08:39 +0000 |
commit | 22f79df32830d173827038222e509721c1e5ac18 (patch) | |
tree | 4ad50764b4e1705f3a98b322d120b0021a47d237 /src/video/cocoa/wnd_quartz.mm | |
parent | da5d3a7b3b6aa5e4e78e3f3467f9a0aaa881cb6b (diff) | |
download | openttd-22f79df32830d173827038222e509721c1e5ac18.tar.xz |
(svn r11688) -Fix [FS#1581]: Compilation was broken on OS X again.
Diffstat (limited to 'src/video/cocoa/wnd_quartz.mm')
-rw-r--r-- | src/video/cocoa/wnd_quartz.mm | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/video/cocoa/wnd_quartz.mm b/src/video/cocoa/wnd_quartz.mm index 00a8ad9ba..a04ba909e 100644 --- a/src/video/cocoa/wnd_quartz.mm +++ b/src/video/cocoa/wnd_quartz.mm @@ -40,9 +40,12 @@ #include "../../stdafx.h" #include "../../debug.h" #include "../../variables.h" +#include "../../core/geometry_type.hpp" #include "cocoa_v.h" +#include "../../functions.h" +#include "../../core/math_func.hpp" +#include "../../gfx_func.h" -#undef Point #undef Rect @@ -136,7 +139,7 @@ public: virtual void MakeDirty(int left, int top, int width, int height); virtual void UpdatePalette(uint first_color, uint num_colors); - virtual uint ListModes(OTTDPoint* modes, uint max_modes); + virtual uint ListModes(OTTD_Point* modes, uint max_modes); virtual bool ChangeResolution(int w, int h); @@ -657,7 +660,7 @@ void WindowQuartzSubdriver::UpdatePalette(uint first_color, uint num_colors) num_dirty_rects = MAX_DIRTY_RECTS; } -uint WindowQuartzSubdriver::ListModes(OTTDPoint* modes, uint max_modes) +uint WindowQuartzSubdriver::ListModes(OTTD_Point* modes, uint max_modes) { if (max_modes == 0) return 0; |