Transferred to new Cocos2d-x version