diff --git a/cocos/2d/CCNode.h b/cocos/2d/CCNode.h index 1b3b7a2195..5333bbb33f 100644 --- a/cocos/2d/CCNode.h +++ b/cocos/2d/CCNode.h @@ -1047,11 +1047,6 @@ public: * @param glProgramState The GLProgramState for this node. */ virtual void setGLProgramState(GLProgramState *glProgramState); - - /** Returns the Material used for this Node */ - Material* getMaterial() const; - /** Sets the Material used for this Node */ - void setMaterial(Material* material); /// @} end of Shader Program diff --git a/cocos/Android.mk b/cocos/Android.mk index 7052165a5e..72efe81127 100644 --- a/cocos/Android.mk +++ b/cocos/Android.mk @@ -223,7 +223,6 @@ LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH) \ $(LOCAL_PATH)/../external/poly2tri/sweep LOCAL_C_INCLUDES := $(LOCAL_PATH) \ - $(LOCAL_PATH)/. \ $(LOCAL_PATH)/platform \ $(LOCAL_PATH)/../external \ $(LOCAL_PATH)/../external/tinyxml2 \ diff --git a/cocos/audio/android/ccdandroidUtils.cpp b/cocos/audio/android/ccdandroidUtils.cpp index f167bbe1c6..9dbb3fe8ac 100644 --- a/cocos/audio/android/ccdandroidUtils.cpp +++ b/cocos/audio/android/ccdandroidUtils.cpp @@ -23,11 +23,12 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ****************************************************************************/ #include "ccdandroidUtils.h" -#include "cocos2d.h" #include #include #include "jni/JniHelper.h" +#include "platform/CCFileUtils.h" + USING_NS_CC; diff --git a/cocos/platform/android/jni/CocosPlayClient.cpp b/cocos/platform/android/jni/CocosPlayClient.cpp index c9d934412f..13ecdf03bd 100644 --- a/cocos/platform/android/jni/CocosPlayClient.cpp +++ b/cocos/platform/android/jni/CocosPlayClient.cpp @@ -22,11 +22,12 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ****************************************************************************/ #include "CocosPlayClient.h" -#include "cocos2d.h" -#if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID) #include +#include +#if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID) #include "jni/JniHelper.h" #include "platform/CCCommon.h" +#include "platform/CCFileUtils.h" using namespace cocos2d; diff --git a/cocos/scripting/lua-bindings/manual/platform/android/CCLuaJavaBridge.h b/cocos/scripting/lua-bindings/manual/platform/android/CCLuaJavaBridge.h index 4e0b09ecbb..e7a12bf8a7 100644 --- a/cocos/scripting/lua-bindings/manual/platform/android/CCLuaJavaBridge.h +++ b/cocos/scripting/lua-bindings/manual/platform/android/CCLuaJavaBridge.h @@ -4,7 +4,6 @@ #include #include #include -#include "cocos2d.h" using namespace std; @@ -12,7 +11,6 @@ extern "C" { #include "lua.h" } -using namespace cocos2d; #define LUAJ_ERR_OK 0 #define LUAJ_ERR_TYPE_NOT_SUPPORT (-1)