OpenTTD Source 20260109-master-g241b5fcdfe
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 __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 16 of file osx_stdafx.h.

◆ GetTime

#define GetTime   OTTD_GetTime

Definition at line 54 of file osx_stdafx.h.

◆ GlyphID

#define GlyphID   OTTDGlyphID

Definition at line 36 of file osx_stdafx.h.

◆ HAVE_NON_CONST_ICONV

#define HAVE_NON_CONST_ICONV

Definition at line 78 of file osx_stdafx.h.

◆ Palette

#define Palette   OTTDPalette

Definition at line 35 of file osx_stdafx.h.

◆ Point

#define Point   OTTDPoint

Definition at line 32 of file osx_stdafx.h.

◆ Rect

#define Rect   OTTDRect

Definition at line 31 of file osx_stdafx.h.

◆ ScriptOrder

#define ScriptOrder   OTTDScriptOrder

Definition at line 34 of file osx_stdafx.h.

◆ SL_ERROR

#define SL_ERROR   OSX_SL_ERROR

Definition at line 56 of file osx_stdafx.h.

◆ WindowClass

#define WindowClass   OTTDWindowClass

Definition at line 33 of file osx_stdafx.h.

Typedef Documentation

◆ CGFloat

typedef float CGFloat

Definition at line 73 of file osx_stdafx.h.

◆ NSInteger

typedef int NSInteger

Definition at line 64 of file osx_stdafx.h.

◆ NSUInteger

typedef unsigned int NSUInteger

Definition at line 65 of file osx_stdafx.h.