cocos2d/cocos2d-x — pull request #3072 by minggo (2013-07-04 04:05:05+00:00)
Title: Fix compiling errors of #3070

As the title said and add change more functions to be const.