OpenTTD Source 20241224-master-gee860a5c8e
osx_stdafx.h File Reference

OSX is different on some places. More...

#include <AvailabilityMacros.h>
#include <stdint.h>
#include <CoreServices/CoreServices.h>
#include <ApplicationServices/ApplicationServices.h>

Go to the source code of this file.

Macros

#define MAC_OS_X_VERSION_10_3   1030
 
#define MAC_OS_X_VERSION_10_4   1040
 
#define MAC_OS_X_VERSION_10_5   1050
 
#define MAC_OS_X_VERSION_10_6   1060
 
#define MAC_OS_X_VERSION_10_7   1070
 
#define MAC_OS_X_VERSION_10_8   1080
 
#define MAC_OS_X_VERSION_10_9   1090
 
#define MAC_OS_X_VERSION_10_10   101000
 
#define MAC_OS_X_VERSION_10_11   101100
 
#define __STDC_LIMIT_MACROS
 
#define Rect   OTTDRect
 
#define Point   OTTDPoint
 
#define WindowClass   OTTDWindowClass
 
#define ScriptOrder   OTTDScriptOrder
 
#define Palette   OTTDPalette
 
#define GlyphID   OTTDGlyphID
 
#define GetTime   OTTD_GetTime
 
#define SL_ERROR   OSX_SL_ERROR
 
#define HAVE_NON_CONST_ICONV
 

Typedefs

typedef int NSInteger
 
typedef unsigned int NSUInteger
 
typedef float CGFloat
 

Detailed Description

OSX is different on some places.

Definition in file osx_stdafx.h.

Macro Definition Documentation

◆ __STDC_LIMIT_MACROS

#define __STDC_LIMIT_MACROS

Definition at line 74 of file osx_stdafx.h.

◆ GetTime

#define GetTime   OTTD_GetTime

Definition at line 112 of file osx_stdafx.h.

◆ GlyphID

#define GlyphID   OTTDGlyphID

Definition at line 94 of file osx_stdafx.h.

◆ HAVE_NON_CONST_ICONV

#define HAVE_NON_CONST_ICONV

Definition at line 137 of file osx_stdafx.h.

◆ MAC_OS_X_VERSION_10_10

#define MAC_OS_X_VERSION_10_10   101000

Definition at line 67 of file osx_stdafx.h.

◆ MAC_OS_X_VERSION_10_11

#define MAC_OS_X_VERSION_10_11   101100

Definition at line 71 of file osx_stdafx.h.

◆ MAC_OS_X_VERSION_10_3

#define MAC_OS_X_VERSION_10_3   1030

Definition at line 39 of file osx_stdafx.h.

◆ MAC_OS_X_VERSION_10_4

#define MAC_OS_X_VERSION_10_4   1040

Definition at line 43 of file osx_stdafx.h.

◆ MAC_OS_X_VERSION_10_5

#define MAC_OS_X_VERSION_10_5   1050

Definition at line 47 of file osx_stdafx.h.

◆ MAC_OS_X_VERSION_10_6

#define MAC_OS_X_VERSION_10_6   1060

Definition at line 51 of file osx_stdafx.h.

◆ MAC_OS_X_VERSION_10_7

#define MAC_OS_X_VERSION_10_7   1070

Definition at line 55 of file osx_stdafx.h.

◆ MAC_OS_X_VERSION_10_8

#define MAC_OS_X_VERSION_10_8   1080

Definition at line 59 of file osx_stdafx.h.

◆ MAC_OS_X_VERSION_10_9

#define MAC_OS_X_VERSION_10_9   1090

Definition at line 63 of file osx_stdafx.h.

◆ Palette

#define Palette   OTTDPalette

Definition at line 93 of file osx_stdafx.h.

◆ Point

#define Point   OTTDPoint

Definition at line 90 of file osx_stdafx.h.

◆ Rect

#define Rect   OTTDRect

Definition at line 89 of file osx_stdafx.h.

◆ ScriptOrder

#define ScriptOrder   OTTDScriptOrder

Definition at line 92 of file osx_stdafx.h.

◆ SL_ERROR

#define SL_ERROR   OSX_SL_ERROR

Definition at line 114 of file osx_stdafx.h.

◆ WindowClass

#define WindowClass   OTTDWindowClass

Definition at line 91 of file osx_stdafx.h.

Typedef Documentation

◆ CGFloat

typedef float CGFloat

Definition at line 131 of file osx_stdafx.h.

◆ NSInteger

typedef int NSInteger

Definition at line 122 of file osx_stdafx.h.

◆ NSUInteger

typedef unsigned int NSUInteger

Definition at line 123 of file osx_stdafx.h.