diff options
author | rubidium <rubidium@openttd.org> | 2007-03-07 12:11:48 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-03-07 12:11:48 +0000 |
commit | 979ccd45baa9a38169661ba379a341cae8619c3b (patch) | |
tree | 757477dbdc02025cc29690a4e66e40f872cab02b /src/video/cocoa_v.mm | |
parent | 4169bfba0604b33bad92389bd3eb6f9acde89f49 (diff) | |
download | openttd-979ccd45baa9a38169661ba379a341cae8619c3b.tar.xz |
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
Diffstat (limited to 'src/video/cocoa_v.mm')
-rw-r--r-- | src/video/cocoa_v.mm | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/video/cocoa_v.mm b/src/video/cocoa_v.mm index 698f48e42..e7531edbf 100644 --- a/src/video/cocoa_v.mm +++ b/src/video/cocoa_v.mm @@ -31,10 +31,10 @@ /* Portions of CPS.h */ -typedef struct CPSProcessSerNum { +struct CPSProcessSerNum { UInt32 lo; UInt32 hi; -} CPSProcessSerNum; +}; extern "C" OSErr CPSGetCurrentProcess(CPSProcessSerNum* psn); extern "C" OSErr CPSEnableForegroundOperation(CPSProcessSerNum* psn, UInt32 _arg2, UInt32 _arg3, UInt32 _arg4, UInt32 _arg5); @@ -103,11 +103,11 @@ extern bool _dbg_screen_rect; */ #define QZ_GAMMA_TABLE_SIZE 256 -typedef struct { +struct OTTD_QuartzGammaTable { CGGammaValue red[QZ_GAMMA_TABLE_SIZE]; CGGammaValue green[QZ_GAMMA_TABLE_SIZE]; CGGammaValue blue[QZ_GAMMA_TABLE_SIZE]; -} OTTD_QuartzGammaTable; +}; /* Add methods to get at private members of NSScreen. * Since there is a bug in Apple's screen switching code that does not update @@ -210,10 +210,10 @@ static void QZ_CheckPaletteAnim() -typedef struct VkMapping { +struct VkMapping { unsigned short vk_from; byte map_to; -} VkMapping; +}; #define AS(x, z) {x, z} |