|
30 | 30 | #import <UIKit/UIKit.h>
|
31 | 31 | #import "CCDirectorIOS.h"
|
32 | 32 |
|
33 |
| -NSString* const CCSetupPixelFormat; |
34 |
| -NSString* const CCSetupScreenMode; |
35 |
| -NSString* const CCSetupScreenOrientation; |
36 |
| -NSString* const CCSetupAnimationInterval; |
37 |
| -NSString* const CCSetupFixedUpdateInterval; |
38 |
| -NSString* const CCSetupShowDebugStats; |
39 |
| -NSString* const CCSetupTabletScale2X; |
| 33 | +extern NSString* const CCSetupPixelFormat; |
| 34 | +extern NSString* const CCSetupScreenMode; |
| 35 | +extern NSString* const CCSetupScreenOrientation; |
| 36 | +extern NSString* const CCSetupAnimationInterval; |
| 37 | +extern NSString* const CCSetupFixedUpdateInterval; |
| 38 | +extern NSString* const CCSetupShowDebugStats; |
| 39 | +extern NSString* const CCSetupTabletScale2X; |
40 | 40 |
|
41 | 41 |
|
42 | 42 | // Landscape screen orientation. Used with CCSetupScreenOrientation.
|
43 |
| -NSString* const CCScreenOrientationLandscape; |
| 43 | +extern NSString* const CCScreenOrientationLandscape; |
44 | 44 |
|
45 | 45 | // Portrait screen orientation. Used with CCSetupScreenOrientation.
|
46 |
| -NSString* const CCScreenOrientationPortrait; |
| 46 | +extern NSString* const CCScreenOrientationPortrait; |
47 | 47 |
|
48 | 48 |
|
49 | 49 | // The flexible screen mode is Cocos2d's default. It will give you an area that can vary slightly in size. In landscape mode the height will be 320 points for mobiles and 384 points for tablets. The width of the area can vary from 480 to 568 points.
|
50 |
| -NSString* const CCScreenModeFlexible; |
| 50 | +extern NSString* const CCScreenModeFlexible; |
51 | 51 |
|
52 | 52 | // The fixed screen mode will setup the working area to be 568 x 384 points. Depending on the device, the outer edges may be cropped. The safe area, that will be displayed on all sorts of devices, is 480 x 320 points and placed in the center of the working area.
|
53 |
| -NSString* const CCScreenModeFixed; |
| 53 | +extern NSString* const CCScreenModeFixed; |
54 | 54 |
|
55 | 55 |
|
56 | 56 | @class CCAppDelegate;
|
|
0 commit comments