void CCTMXLayer::parseInternalProperties() { // if cc_vertex=automatic, then tiles will be rendered using vertexz CCString *vertexz = propertyNamed("cc_vertexz"); if( vertexz ) { if( vertexz->m_sString == "automatic" ) { m_bUseAutomaticVertexZ = true; } else { m_nVertexZvalue = vertexz->toInt(); } } CCString *alphaFuncVal = propertyNamed("cc_alpha_func"); if (alphaFuncVal) { m_fAlphaFuncValue = alphaFuncVal->toFloat(); } }