Continue to modify to get to work with the latest cocos2d

Modifying source still….