apply cocos2dx coding style

1. fix some warnings
2. remove hungarian
3. NULL -> nullptr
4. remove `void` if there is not any parameters of a function