NS_CC_BEGIN #if ND_MOD CCTouch::CCTouch() : m_nId(0) { INC_CCOBJ("CCTouch"); }
CCGLProgram::CCGLProgram() : m_uProgram(0) , m_uVertShader(0) , m_uFragShader(0) , m_pHashForUniforms(NULL) { #if ND_MOD INC_CCOBJ("CCGLProgram"); #endif memset(m_uUniforms, 0, sizeof(m_uUniforms)); }
CCTextFieldTTF::CCTextFieldTTF() : m_pDelegate(0) , m_nCharCount(0) , m_pInputText(new std::string) , m_pPlaceHolder(new std::string) // prevent CCLabelTTF initWithString assertion { #if ND_MOD INC_CCOBJ("CCTextFieldTTF"); #endif m_ColorSpaceHolder.r = m_ColorSpaceHolder.g = m_ColorSpaceHolder.b = 127; }
CCTouchDispatcher::CCTouchDispatcher() : m_pTargetedHandlers(NULL) , m_pStandardHandlers(NULL) , m_pHandlersToAdd(NULL) , m_pHandlersToRemove(NULL) { INC_CCOBJ("CCTouchDispatcher"); // #if ND_MOD // m_pHandlingTouch = NULL; // #endif }
NS_CC_BEGIN // CCLayer CCLayer::CCLayer() :m_bIsTouchEnabled(false) ,m_bIsAccelerometerEnabled(false) ,m_bIsKeypadEnabled(false) ,m_pScriptHandlerEntry(NULL) { #if ND_MOD INC_CCOBJ("CCLayer"); #endif setAnchorPoint(ccp(0.5f, 0.5f)); m_bIgnoreAnchorPointForPosition = true; }
CCTransitionScene::CCTransitionScene() { #if ND_MOD INC_CCOBJ("CCTransitionScene"); #endif }