cocos2d-x  2.2.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Platform Adaptor

Classes

class  CCFileUtilsAndroid
 Helper class to handle file operations. More...
 
class  CCFileUtilsBlackberry
 Helper class to handle file operations. More...
 
class  CCApplicationProtocol
 
class  CCEGLViewProtocol
 
class  CCFileUtils
 Helper class to handle file operations. More...
 
class  CCImage
 
class  CCSAXDelegator
 
class  CCSAXParser
 
class  CCThread
 
class  CCFileUtilsEmscripten
 Helper class to handle file operations. More...
 
class  CCFileUtilsIOS
 Helper class to handle file operations. More...
 
class  CCFileUtilsLinux
 Helper class to handle file operations. More...
 
class  CCFileUtilsMac
 Helper class to handle file operations. More...
 
class  CCFileUtilsMarmalade
 Helper class to handle file operations. More...
 
class  CCFileUtilsNaCl
 Helper class to handle file operations. More...
 
struct  cc_timeval
 
class  CCTime
 
class  CCFileUtilsTizen
 Helper class to handle file operations. More...
 
class  CCFileUtilsWin32
 Helper class to handle file operations. More...
 
class  CCFileUtilsWinRT
 Helper class to handle file operations. More...
 

Typedefs

typedef unsigned char CC_XML_CHAR

Enumerations

enum  ccLanguageType {
  kLanguageEnglish = 0, kLanguageChinese, kLanguageFrench, kLanguageItalian,
  kLanguageGerman, kLanguageSpanish, kLanguageDutch, kLanguageRussian,
  kLanguageKorean, kLanguageJapanese, kLanguageHungarian, kLanguagePortuguese,
  kLanguageArabic
}
 Enum the language type supported now. More...
 
enum  EImageFormat {
  kFmtJpg = 0, kFmtPng, kFmtTiff, kFmtWebp,
  kFmtRawData, kFmtUnKnown
}
 
enum  ETextAlign {
  kAlignCenter = 0x33, kAlignTop = 0x13, kAlignTopRight = 0x12, kAlignRight = 0x32,
  kAlignBottomRight = 0x22, kAlignBottom = 0x23, kAlignBottomLeft = 0x21, kAlignLeft = 0x31,
  kAlignTopLeft = 0x11
}
 

Functions

void CC_DLL  (const char *pszFormat,...)
 Output Debug message. More...
 
var  ( var pszFormat)
 Output Debug message. More...
 
local  ( local pszFormat)
 Output Debug message. More...
 
void CC_DLL  (const char *pszFormat)
 lua can not deal with ... More...
 
var  ( var pszFormat)
 lua can not deal with ... More...
 
local  ( local pszFormat)
 lua can not deal with ... More...
 
void CC_DLL  (const char *pszMsg, const char *pszTitle)
 Pop out a message box. More...
 
var  ( var pszMsg, var pszTitle)
 Pop out a message box. More...
 
local  ( local pszMsg, local pszTitle)
 Pop out a message box. More...
 

Detailed Description

Typedef Documentation

typedef unsigned char CC_XML_CHAR
var CC_XML_CHAR
local CC_XML_CHAR

Enumeration Type Documentation

enum ccLanguageType

Enum the language type supported now.

Enumerator
kLanguageEnglish 
kLanguageChinese 
kLanguageFrench 
kLanguageItalian 
kLanguageGerman 
kLanguageSpanish 
kLanguageDutch 
kLanguageRussian 
kLanguageKorean 
kLanguageJapanese 
kLanguageHungarian 
kLanguagePortuguese 
kLanguageArabic 
var ccLanguageType

Enum the language type supported now.

Enumerator
kLanguageEnglish 
kLanguageChinese 
kLanguageFrench 
kLanguageItalian 
kLanguageGerman 
kLanguageSpanish 
kLanguageDutch 
kLanguageRussian 
kLanguageKorean 
kLanguageJapanese 
kLanguageHungarian 
kLanguagePortuguese 
kLanguageArabic 
local ccLanguageType

Enum the language type supported now.

Enumerator
kLanguageEnglish 
kLanguageChinese 
kLanguageFrench 
kLanguageItalian 
kLanguageGerman 
kLanguageSpanish 
kLanguageDutch 
kLanguageRussian 
kLanguageKorean 
kLanguageJapanese 
kLanguageHungarian 
kLanguagePortuguese 
kLanguageArabic 
enum EImageFormat
Enumerator
kFmtJpg 
kFmtPng 
kFmtTiff 
kFmtWebp 
kFmtRawData 
kFmtUnKnown 
var EImageFormat
Enumerator
kFmtJpg 
kFmtPng 
kFmtTiff 
kFmtWebp 
kFmtRawData 
kFmtUnKnown 
local EImageFormat
Enumerator
kFmtJpg 
kFmtPng 
kFmtTiff 
kFmtWebp 
kFmtRawData 
kFmtUnKnown 
enum ETextAlign
Enumerator
kAlignCenter 

Horizontal center and vertical center.

kAlignTop 

Horizontal center and vertical top.

kAlignTopRight 

Horizontal right and vertical top.

kAlignRight 

Horizontal right and vertical center.

kAlignBottomRight 

Horizontal right and vertical bottom.

kAlignBottom 

Horizontal center and vertical bottom.

kAlignBottomLeft 

Horizontal left and vertical bottom.

kAlignLeft 

Horizontal left and vertical center.

kAlignTopLeft 

Horizontal left and vertical top.

var ETextAlign
Enumerator
kAlignCenter 

Horizontal center and vertical center.

kAlignTop 

Horizontal center and vertical top.

kAlignTopRight 

Horizontal right and vertical top.

kAlignRight 

Horizontal right and vertical center.

kAlignBottomRight 

Horizontal right and vertical bottom.

kAlignBottom 

Horizontal center and vertical bottom.

kAlignBottomLeft 

Horizontal left and vertical bottom.

kAlignLeft 

Horizontal left and vertical center.

kAlignTopLeft 

Horizontal left and vertical top.

local ETextAlign
Enumerator
kAlignCenter 

Horizontal center and vertical center.

kAlignTop 

Horizontal center and vertical top.

kAlignTopRight 

Horizontal right and vertical top.

kAlignRight 

Horizontal right and vertical center.

kAlignBottomRight 

Horizontal right and vertical bottom.

kAlignBottom 

Horizontal center and vertical bottom.

kAlignBottomLeft 

Horizontal left and vertical bottom.

kAlignLeft 

Horizontal left and vertical center.

kAlignTopLeft 

Horizontal left and vertical top.

Function Documentation

void CC_DLL cocos2d::CCLog ( const char *  pszFormat,
  ... 
)

Output Debug message.

var CCLog ( var  pszFormat,
  ... 
)

Output Debug message.

local CCLog ( local  pszFormat,
  ... 
)

Output Debug message.

void CC_DLL cocos2d::CCLuaLog ( const char *  pszFormat)

lua can not deal with ...

var CCLuaLog ( var  pszFormat)

lua can not deal with ...

local CCLuaLog ( local  pszFormat)

lua can not deal with ...

void CC_DLL cocos2d::CCMessageBox ( const char *  pszMsg,
const char *  pszTitle 
)

Pop out a message box.

var CCMessageBox ( var  pszMsg,
var  pszTitle 
)

Pop out a message box.

local CCMessageBox ( local  pszMsg,
local  pszTitle 
)

Pop out a message box.