diff --git a/build/winrt/Cocos2dShaderCompiler/pch.h b/build/winrt/Cocos2dShaderCompiler/pch.h index 1f4fe57240..5a24e4f473 100644 --- a/build/winrt/Cocos2dShaderCompiler/pch.h +++ b/build/winrt/Cocos2dShaderCompiler/pch.h @@ -13,4 +13,4 @@ #include #include #include -#include "App.xaml.h" \ No newline at end of file +#include "App.xaml.h" diff --git a/cocos/2d/CCActionCamera.h b/cocos/2d/CCActionCamera.h index 4a32234511..d5a0caf188 100644 --- a/cocos/2d/CCActionCamera.h +++ b/cocos/2d/CCActionCamera.h @@ -138,4 +138,4 @@ protected: NS_CC_END -#endif //__CCCAMERA_ACTION_H__ \ No newline at end of file +#endif //__CCCAMERA_ACTION_H__ diff --git a/cocos/2d/CCAnimation.cpp b/cocos/2d/CCAnimation.cpp index 335288b675..86ef053192 100644 --- a/cocos/2d/CCAnimation.cpp +++ b/cocos/2d/CCAnimation.cpp @@ -201,4 +201,4 @@ Animation* Animation::clone() const return a; } -NS_CC_END \ No newline at end of file +NS_CC_END diff --git a/cocos/2d/CCAnimationCache.cpp b/cocos/2d/CCAnimationCache.cpp index fcbe96d501..b75a886d93 100644 --- a/cocos/2d/CCAnimationCache.cpp +++ b/cocos/2d/CCAnimationCache.cpp @@ -237,4 +237,4 @@ void AnimationCache::addAnimationsWithFile(const std::string& plist) } -NS_CC_END \ No newline at end of file +NS_CC_END diff --git a/cocos/2d/CCFontCharMap.cpp b/cocos/2d/CCFontCharMap.cpp index 4438f7a165..e19c5a0dd4 100644 --- a/cocos/2d/CCFontCharMap.cpp +++ b/cocos/2d/CCFontCharMap.cpp @@ -160,4 +160,4 @@ FontAtlas * FontCharMap::createFontAtlas() return tempAtlas; } -NS_CC_END \ No newline at end of file +NS_CC_END diff --git a/cocos/2d/CCNodeGrid.h b/cocos/2d/CCNodeGrid.h index 0444c4b707..12266b1a41 100644 --- a/cocos/2d/CCNodeGrid.h +++ b/cocos/2d/CCNodeGrid.h @@ -74,4 +74,4 @@ private: }; NS_CC_END -#endif \ No newline at end of file +#endif diff --git a/cocos/2d/CCTMXObjectGroup.h b/cocos/2d/CCTMXObjectGroup.h index 83d6945a59..616cee693b 100644 --- a/cocos/2d/CCTMXObjectGroup.h +++ b/cocos/2d/CCTMXObjectGroup.h @@ -110,4 +110,4 @@ protected: NS_CC_END -#endif //__CCTMX_OBJECT_GROUP_H__ \ No newline at end of file +#endif //__CCTMX_OBJECT_GROUP_H__ diff --git a/cocos/audio/mac/CDXMacOSXSupport.mm b/cocos/audio/mac/CDXMacOSXSupport.mm index a84f61debc..57fb53a715 100644 --- a/cocos/audio/mac/CDXMacOSXSupport.mm +++ b/cocos/audio/mac/CDXMacOSXSupport.mm @@ -179,4 +179,4 @@ OSStatus AudioSessionGetProperty(UInt32 inID, UInt32 *ioDataSize, void *outData) - (BOOL)setPreferredIOBufferDuration:(NSTimeInterval)duration error:(NSError**)outError {return YES;} @end -#endif \ No newline at end of file +#endif diff --git a/cocos/audio/winrt/MediaStreamer.cpp b/cocos/audio/winrt/MediaStreamer.cpp index 62fcf7a9b1..f6f985bf5b 100644 --- a/cocos/audio/winrt/MediaStreamer.cpp +++ b/cocos/audio/winrt/MediaStreamer.cpp @@ -212,4 +212,4 @@ void MediaStreamer::Restart() ThrowIfFailed( m_reader->SetCurrentPosition(GUID_NULL, var) ); -} \ No newline at end of file +} diff --git a/cocos/audio/winrt/MediaStreamer.h b/cocos/audio/winrt/MediaStreamer.h index 972a186da5..cafbfe0993 100644 --- a/cocos/audio/winrt/MediaStreamer.h +++ b/cocos/audio/winrt/MediaStreamer.h @@ -38,4 +38,4 @@ public: bool GetNextBuffer(uint8* buffer, uint32 maxBufferSize, uint32* bufferLength); void ReadAll(uint8* buffer, uint32 maxBufferSize, uint32* bufferLength); void Restart(); -}; \ No newline at end of file +}; diff --git a/cocos/audio/wp8/MediaStreamer.cpp b/cocos/audio/wp8/MediaStreamer.cpp index 8330b33e25..61fbaa0779 100644 --- a/cocos/audio/wp8/MediaStreamer.cpp +++ b/cocos/audio/wp8/MediaStreamer.cpp @@ -213,4 +213,4 @@ void MediaStreamer::ReadAll(uint8* buffer, uint32 maxBufferSize, uint32* bufferL void MediaStreamer::Restart() { m_offset = 0; -} \ No newline at end of file +} diff --git a/cocos/audio/wp8/MediaStreamer.h b/cocos/audio/wp8/MediaStreamer.h index 8620620171..1940ed3557 100644 --- a/cocos/audio/wp8/MediaStreamer.h +++ b/cocos/audio/wp8/MediaStreamer.h @@ -55,4 +55,4 @@ internal: void Initialize(_In_ const WCHAR* url); void ReadAll(uint8* buffer, uint32 maxBufferSize, uint32* bufferLength); void Restart(); -}; \ No newline at end of file +}; diff --git a/cocos/base/CCEventFocus.cpp b/cocos/base/CCEventFocus.cpp index a4a84dbba4..f1249576a2 100644 --- a/cocos/base/CCEventFocus.cpp +++ b/cocos/base/CCEventFocus.cpp @@ -39,4 +39,4 @@ _widgetGetFocus(widgetGetFocus) -NS_CC_END \ No newline at end of file +NS_CC_END diff --git a/cocos/base/CCEventListenerFocus.cpp b/cocos/base/CCEventListenerFocus.cpp index dd6c9fc114..f6b843ba00 100644 --- a/cocos/base/CCEventListenerFocus.cpp +++ b/cocos/base/CCEventListenerFocus.cpp @@ -95,4 +95,4 @@ bool EventListenerFocus::checkAvailable() -NS_CC_END \ No newline at end of file +NS_CC_END diff --git a/cocos/base/CCEventListenerMouse.cpp b/cocos/base/CCEventListenerMouse.cpp index 635fcfdd6b..8f4074172e 100644 --- a/cocos/base/CCEventListenerMouse.cpp +++ b/cocos/base/CCEventListenerMouse.cpp @@ -109,4 +109,4 @@ bool EventListenerMouse::init() return false; } -NS_CC_END \ No newline at end of file +NS_CC_END diff --git a/cocos/base/CCEventListenerTouch.cpp b/cocos/base/CCEventListenerTouch.cpp index 95e4df684a..e060b9bf3e 100644 --- a/cocos/base/CCEventListenerTouch.cpp +++ b/cocos/base/CCEventListenerTouch.cpp @@ -187,4 +187,4 @@ EventListenerTouchAllAtOnce* EventListenerTouchAllAtOnce::clone() return ret; } -NS_CC_END \ No newline at end of file +NS_CC_END diff --git a/cocos/base/CCEventMouse.cpp b/cocos/base/CCEventMouse.cpp index 5bd662f1eb..c1013d4d26 100644 --- a/cocos/base/CCEventMouse.cpp +++ b/cocos/base/CCEventMouse.cpp @@ -38,4 +38,4 @@ EventMouse::EventMouse(MouseEventType mouseEventCode) { }; -NS_CC_END \ No newline at end of file +NS_CC_END diff --git a/cocos/base/CCTouch.cpp b/cocos/base/CCTouch.cpp index 1209e222a7..651f9651b1 100644 --- a/cocos/base/CCTouch.cpp +++ b/cocos/base/CCTouch.cpp @@ -70,4 +70,4 @@ Vec2 Touch::getDelta() const return getLocation() - getPreviousLocation(); } -NS_CC_END \ No newline at end of file +NS_CC_END diff --git a/cocos/editor-support/cocosbuilder/CCBSequence.cpp b/cocos/editor-support/cocosbuilder/CCBSequence.cpp index 3496c3e857..8e1659f5b0 100644 --- a/cocos/editor-support/cocosbuilder/CCBSequence.cpp +++ b/cocos/editor-support/cocosbuilder/CCBSequence.cpp @@ -86,4 +86,4 @@ void CCBSequence::setChainedSequenceId(int nChainedSequenceId) mChainedSequenceId = nChainedSequenceId; } -} \ No newline at end of file +} diff --git a/cocos/editor-support/cocosbuilder/CCControlButtonLoader.cpp b/cocos/editor-support/cocosbuilder/CCControlButtonLoader.cpp index 74c6cf37aa..ba20f8fd13 100644 --- a/cocos/editor-support/cocosbuilder/CCControlButtonLoader.cpp +++ b/cocos/editor-support/cocosbuilder/CCControlButtonLoader.cpp @@ -114,4 +114,4 @@ void ControlButtonLoader::onHandlePropTypeColor3(Node * pNode, Node * pParent, c } } -}; \ No newline at end of file +}; diff --git a/cocos/editor-support/cocosbuilder/CCControlLoader.cpp b/cocos/editor-support/cocosbuilder/CCControlLoader.cpp index 9125f8d193..9d65768562 100644 --- a/cocos/editor-support/cocosbuilder/CCControlLoader.cpp +++ b/cocos/editor-support/cocosbuilder/CCControlLoader.cpp @@ -27,4 +27,4 @@ void ControlLoader::onHandlePropTypeBlockControl(Node * pNode, Node * pParent, c } } -} \ No newline at end of file +} diff --git a/cocos/editor-support/cocosbuilder/CCLabelBMFontLoader.cpp b/cocos/editor-support/cocosbuilder/CCLabelBMFontLoader.cpp index 3b85b46f12..2eec094dd5 100644 --- a/cocos/editor-support/cocosbuilder/CCLabelBMFontLoader.cpp +++ b/cocos/editor-support/cocosbuilder/CCLabelBMFontLoader.cpp @@ -50,4 +50,4 @@ void LabelBMFontLoader::onHandlePropTypeText(Node * pNode, Node * pParent, const } } -} \ No newline at end of file +} diff --git a/cocos/editor-support/cocosbuilder/CCLabelTTFLoader.cpp b/cocos/editor-support/cocosbuilder/CCLabelTTFLoader.cpp index 985c528c85..53c11df6f3 100644 --- a/cocos/editor-support/cocosbuilder/CCLabelTTFLoader.cpp +++ b/cocos/editor-support/cocosbuilder/CCLabelTTFLoader.cpp @@ -80,4 +80,4 @@ void LabelTTFLoader::onHandlePropTypeSize(Node * pNode, Node * pParent, const ch } } -} \ No newline at end of file +} diff --git a/cocos/editor-support/cocosbuilder/CCLayerColorLoader.cpp b/cocos/editor-support/cocosbuilder/CCLayerColorLoader.cpp index 02c7f610ae..8c5d20860e 100644 --- a/cocos/editor-support/cocosbuilder/CCLayerColorLoader.cpp +++ b/cocos/editor-support/cocosbuilder/CCLayerColorLoader.cpp @@ -32,4 +32,4 @@ void LayerColorLoader::onHandlePropTypeBlendFunc(Node * pNode, Node * pParent, c } } -} \ No newline at end of file +} diff --git a/cocos/editor-support/cocosbuilder/CCLayerLoader.cpp b/cocos/editor-support/cocosbuilder/CCLayerLoader.cpp index e7c348583f..79febcc5d3 100644 --- a/cocos/editor-support/cocosbuilder/CCLayerLoader.cpp +++ b/cocos/editor-support/cocosbuilder/CCLayerLoader.cpp @@ -42,4 +42,4 @@ void LayerLoader::onHandlePropTypeCheck(Node * pNode, Node * pParent, const char #pragma GCC diagnostic warning "-Wdeprecated-declarations" #elif _MSC_VER >= 1400 //vs 2005 or higher #pragma warning (pop) -#endif \ No newline at end of file +#endif diff --git a/cocos/editor-support/cocosbuilder/CCMenuItemLoader.cpp b/cocos/editor-support/cocosbuilder/CCMenuItemLoader.cpp index 2a85d0c4e1..1388c3f4ef 100644 --- a/cocos/editor-support/cocosbuilder/CCMenuItemLoader.cpp +++ b/cocos/editor-support/cocosbuilder/CCMenuItemLoader.cpp @@ -27,4 +27,4 @@ void MenuItemLoader::onHandlePropTypeCheck(Node * pNode, Node * pParent, const c } } -} \ No newline at end of file +} diff --git a/cocos/editor-support/cocosbuilder/CCNodeLoaderLibrary.cpp b/cocos/editor-support/cocosbuilder/CCNodeLoaderLibrary.cpp index 48979ee0bc..ff497635e0 100644 --- a/cocos/editor-support/cocosbuilder/CCNodeLoaderLibrary.cpp +++ b/cocos/editor-support/cocosbuilder/CCNodeLoaderLibrary.cpp @@ -102,4 +102,4 @@ NodeLoaderLibrary * NodeLoaderLibrary::newDefaultNodeLoaderLibrary() { return ccNodeLoaderLibrary; } -} \ No newline at end of file +} diff --git a/cocos/editor-support/cocosbuilder/CCParticleSystemQuadLoader.cpp b/cocos/editor-support/cocosbuilder/CCParticleSystemQuadLoader.cpp index 490703fcdb..fd8918cbf5 100644 --- a/cocos/editor-support/cocosbuilder/CCParticleSystemQuadLoader.cpp +++ b/cocos/editor-support/cocosbuilder/CCParticleSystemQuadLoader.cpp @@ -137,4 +137,4 @@ void ParticleSystemQuadLoader::onHandlePropTypeTexture(Node * pNode, Node * pPar } } -} \ No newline at end of file +} diff --git a/cocos/editor-support/cocosbuilder/CCScrollViewLoader.cpp b/cocos/editor-support/cocosbuilder/CCScrollViewLoader.cpp index 32301942c8..e021a861ed 100644 --- a/cocos/editor-support/cocosbuilder/CCScrollViewLoader.cpp +++ b/cocos/editor-support/cocosbuilder/CCScrollViewLoader.cpp @@ -54,4 +54,4 @@ void ScrollViewLoader::onHandlePropTypeIntegerLabeled(Node * pNode, Node * pPare } } -} \ No newline at end of file +} diff --git a/cocos/editor-support/cocostudio/CCActionFrame.cpp b/cocos/editor-support/cocostudio/CCActionFrame.cpp index 61c6a72ad1..6eb702c00e 100644 --- a/cocos/editor-support/cocostudio/CCActionFrame.cpp +++ b/cocos/editor-support/cocostudio/CCActionFrame.cpp @@ -373,4 +373,4 @@ ActionInterval* ActionTintFrame::getAction(float fDuration) } -} \ No newline at end of file +} diff --git a/cocos/editor-support/cocostudio/CCActionFrameEasing.cpp b/cocos/editor-support/cocostudio/CCActionFrameEasing.cpp index 638e33e31b..43e43dbc4e 100644 --- a/cocos/editor-support/cocostudio/CCActionFrameEasing.cpp +++ b/cocos/editor-support/cocostudio/CCActionFrameEasing.cpp @@ -188,4 +188,4 @@ float ActionFrameEasing::easeValue(float t) return 0; } -} \ No newline at end of file +} diff --git a/cocos/editor-support/cocostudio/CCActionObject.cpp b/cocos/editor-support/cocostudio/CCActionObject.cpp index c421b40402..121979d983 100644 --- a/cocos/editor-support/cocostudio/CCActionObject.cpp +++ b/cocos/editor-support/cocostudio/CCActionObject.cpp @@ -222,4 +222,4 @@ void ActionObject::simulationActionUpdate(float dt) } } } -} \ No newline at end of file +} diff --git a/cocos/editor-support/cocostudio/DictionaryHelper.cpp b/cocos/editor-support/cocostudio/DictionaryHelper.cpp index f6d8a5bbb3..d72bfa396b 100644 --- a/cocos/editor-support/cocostudio/DictionaryHelper.cpp +++ b/cocos/editor-support/cocostudio/DictionaryHelper.cpp @@ -224,4 +224,4 @@ bool DictionaryHelper::checkObjectExist_json(const rapidjson::Value &root, int i return bRet; } -} \ No newline at end of file +} diff --git a/cocos/math/CCMath.h b/cocos/math/CCMath.h index 7ea6798945..fe1afe36c0 100644 --- a/cocos/math/CCMath.h +++ b/cocos/math/CCMath.h @@ -7,4 +7,4 @@ #include "Mat4.h" #include "Quaternion.h" -#endif \ No newline at end of file +#endif diff --git a/cocos/math/CCMathBase.h b/cocos/math/CCMathBase.h index 2bc0865108..cd02313b12 100644 --- a/cocos/math/CCMathBase.h +++ b/cocos/math/CCMathBase.h @@ -33,4 +33,4 @@ #endif -#endif // __CCMATHBASE_H__ \ No newline at end of file +#endif // __CCMATHBASE_H__ diff --git a/cocos/platform/android/jni/DPIJni.cpp b/cocos/platform/android/jni/DPIJni.cpp index 85f08c2b5f..74ed9f90f0 100644 --- a/cocos/platform/android/jni/DPIJni.cpp +++ b/cocos/platform/android/jni/DPIJni.cpp @@ -16,4 +16,4 @@ int getDPIJNI() return ret; } -} // extern "C" \ No newline at end of file +} // extern "C" diff --git a/cocos/platform/ios/CCCommon.mm b/cocos/platform/ios/CCCommon.mm index 6f1ee35d76..c435c69a94 100644 --- a/cocos/platform/ios/CCCommon.mm +++ b/cocos/platform/ios/CCCommon.mm @@ -58,4 +58,4 @@ void LuaLog(const char * format) NS_CC_END -#endif // CC_PLATFORM_IOS \ No newline at end of file +#endif // CC_PLATFORM_IOS diff --git a/cocos/platform/winrt/CCFreeTypeFont.h b/cocos/platform/winrt/CCFreeTypeFont.h index f2fcbe28a2..7e30b948ee 100644 --- a/cocos/platform/winrt/CCFreeTypeFont.h +++ b/cocos/platform/winrt/CCFreeTypeFont.h @@ -136,4 +136,4 @@ private: NS_CC_END -#endif \ No newline at end of file +#endif diff --git a/cocos/platform/winrt/pch.h b/cocos/platform/winrt/pch.h index 842a70abec..5e0bbb907c 100644 --- a/cocos/platform/winrt/pch.h +++ b/cocos/platform/winrt/pch.h @@ -1,3 +1,3 @@ #pragma once -#include "cocos2d.h" \ No newline at end of file +#include "cocos2d.h" diff --git a/cocos/platform/winrt/sha1.cpp b/cocos/platform/winrt/sha1.cpp index d0d3a2f620..5d9e188c34 100644 --- a/cocos/platform/winrt/sha1.cpp +++ b/cocos/platform/winrt/sha1.cpp @@ -419,4 +419,4 @@ void SHA1ConvertMessageToString(uint8_t *hash_binary, char* hash_string) hash_string[2*i + 1] = alphabet[hash_binary[i] % 16]; } hash_string[SHA1HashSize * 2] = '\0'; -} \ No newline at end of file +} diff --git a/cocos/platform/winrt/sha1.h b/cocos/platform/winrt/sha1.h index 86e5e6f264..e00a028461 100644 --- a/cocos/platform/winrt/sha1.h +++ b/cocos/platform/winrt/sha1.h @@ -90,4 +90,4 @@ int SHA1Result( SHA1Context *, void SHA1ConvertMessageToString(uint8_t *hash_binary, char* hash_string); -#endif \ No newline at end of file +#endif diff --git a/cocos/platform/wp8-xaml/cpp/Direct3DContentProvider.cpp b/cocos/platform/wp8-xaml/cpp/Direct3DContentProvider.cpp index c12d51ff67..323d0b556d 100644 --- a/cocos/platform/wp8-xaml/cpp/Direct3DContentProvider.cpp +++ b/cocos/platform/wp8-xaml/cpp/Direct3DContentProvider.cpp @@ -62,4 +62,4 @@ HRESULT Direct3DContentProvider::PrepareResources(_In_ const LARGE_INTEGER* pres HRESULT Direct3DContentProvider::Draw(_In_ ID3D11Device1* device, _In_ ID3D11DeviceContext1* context, _In_ ID3D11RenderTargetView* renderTargetView) { return m_controller->Draw(device, context, renderTargetView); -} \ No newline at end of file +} diff --git a/cocos/platform/wp8-xaml/cpp/Direct3DContentProvider.h b/cocos/platform/wp8-xaml/cpp/Direct3DContentProvider.h index 2e81759a7e..7a9d941074 100644 --- a/cocos/platform/wp8-xaml/cpp/Direct3DContentProvider.h +++ b/cocos/platform/wp8-xaml/cpp/Direct3DContentProvider.h @@ -49,4 +49,4 @@ public: private: PhoneDirect3DXamlAppComponent::Direct3DInterop^ m_controller; Microsoft::WRL::ComPtr m_host; -}; \ No newline at end of file +}; diff --git a/cocos/platform/wp8-xaml/cpp/Direct3DInterop.cpp b/cocos/platform/wp8-xaml/cpp/Direct3DInterop.cpp index 4322e0deee..b01ab9f2be 100644 --- a/cocos/platform/wp8-xaml/cpp/Direct3DInterop.cpp +++ b/cocos/platform/wp8-xaml/cpp/Direct3DInterop.cpp @@ -185,4 +185,4 @@ bool Direct3DInterop::SendCocos2dEvent(Cocos2dEvent event) return false; } -} \ No newline at end of file +} diff --git a/cocos/platform/wp8-xaml/cpp/DirectXBase.h b/cocos/platform/wp8-xaml/cpp/DirectXBase.h index 69e8daecb5..fee44394ae 100644 --- a/cocos/platform/wp8-xaml/cpp/DirectXBase.h +++ b/cocos/platform/wp8-xaml/cpp/DirectXBase.h @@ -81,4 +81,4 @@ protected private: Microsoft::WRL::ComPtr m_eglPhoneWindow; DirectX::XMMATRIX m_orientationMatrix; float m_aspectRatio; -}; \ No newline at end of file +}; diff --git a/cocos/platform/wp8-xaml/cpp/EditBoxEvent.h b/cocos/platform/wp8-xaml/cpp/EditBoxEvent.h index 7206c6254b..e9a7105baf 100644 --- a/cocos/platform/wp8-xaml/cpp/EditBoxEvent.h +++ b/cocos/platform/wp8-xaml/cpp/EditBoxEvent.h @@ -45,4 +45,4 @@ namespace PhoneDirect3DXamlAppComponent }; } -#endif \ No newline at end of file +#endif diff --git a/cocos/platform/wp8/DirectXBase.h b/cocos/platform/wp8/DirectXBase.h index 72187253a5..cb6df7739a 100644 --- a/cocos/platform/wp8/DirectXBase.h +++ b/cocos/platform/wp8/DirectXBase.h @@ -43,4 +43,4 @@ protected private: }; -#endif // 0 \ No newline at end of file +#endif // 0 diff --git a/cocos/platform/wp8/pch.h b/cocos/platform/wp8/pch.h index 842a70abec..5e0bbb907c 100644 --- a/cocos/platform/wp8/pch.h +++ b/cocos/platform/wp8/pch.h @@ -1,3 +1,3 @@ #pragma once -#include "cocos2d.h" \ No newline at end of file +#include "cocos2d.h" diff --git a/cocos/renderer/CCBatchCommand.cpp b/cocos/renderer/CCBatchCommand.cpp index e122fc1344..af9fa47f40 100644 --- a/cocos/renderer/CCBatchCommand.cpp +++ b/cocos/renderer/CCBatchCommand.cpp @@ -70,4 +70,4 @@ void BatchCommand::execute() _textureAtlas->drawQuads(); } -NS_CC_END \ No newline at end of file +NS_CC_END diff --git a/cocos/renderer/CCCustomCommand.cpp b/cocos/renderer/CCCustomCommand.cpp index c324032116..c8deb9cac8 100644 --- a/cocos/renderer/CCCustomCommand.cpp +++ b/cocos/renderer/CCCustomCommand.cpp @@ -50,4 +50,4 @@ void CustomCommand::execute() } } -NS_CC_END \ No newline at end of file +NS_CC_END diff --git a/cocos/renderer/CCMeshCommand.cpp b/cocos/renderer/CCMeshCommand.cpp index 6b9dda2fbc..f562f94310 100644 --- a/cocos/renderer/CCMeshCommand.cpp +++ b/cocos/renderer/CCMeshCommand.cpp @@ -177,4 +177,4 @@ void MeshCommand::execute() glBindBuffer(GL_ARRAY_BUFFER, 0); } -NS_CC_END \ No newline at end of file +NS_CC_END diff --git a/cocos/renderer/CCQuadCommand.cpp b/cocos/renderer/CCQuadCommand.cpp index 4b497ff253..d5cff627f6 100644 --- a/cocos/renderer/CCQuadCommand.cpp +++ b/cocos/renderer/CCQuadCommand.cpp @@ -97,4 +97,4 @@ void QuadCommand::useMaterial() const _glProgramState->apply(_mv); } -NS_CC_END \ No newline at end of file +NS_CC_END diff --git a/cocos/renderer/CCRenderCommand.cpp b/cocos/renderer/CCRenderCommand.cpp index 0c11c5699b..0996ab2d52 100644 --- a/cocos/renderer/CCRenderCommand.cpp +++ b/cocos/renderer/CCRenderCommand.cpp @@ -60,4 +60,4 @@ void RenderCommand::printID() printf("Command Depth: %f\n", _globalOrder); } -NS_CC_END \ No newline at end of file +NS_CC_END diff --git a/cocos/scripting/lua-bindings/manual/Cocos2dxLuaLoader.h b/cocos/scripting/lua-bindings/manual/Cocos2dxLuaLoader.h index e251bac27b..e96cf911ad 100644 --- a/cocos/scripting/lua-bindings/manual/Cocos2dxLuaLoader.h +++ b/cocos/scripting/lua-bindings/manual/Cocos2dxLuaLoader.h @@ -36,4 +36,4 @@ extern "C" extern int cocos2dx_lua_loader(lua_State *L); } -#endif // __COCOS2DX_LUA_LOADER_H__ \ No newline at end of file +#endif // __COCOS2DX_LUA_LOADER_H__ diff --git a/cocos/scripting/lua-bindings/manual/lua_cocos2dx_coco_studio_manual.cpp b/cocos/scripting/lua-bindings/manual/lua_cocos2dx_coco_studio_manual.cpp index 2015c21736..605f157f05 100644 --- a/cocos/scripting/lua-bindings/manual/lua_cocos2dx_coco_studio_manual.cpp +++ b/cocos/scripting/lua-bindings/manual/lua_cocos2dx_coco_studio_manual.cpp @@ -414,4 +414,4 @@ int register_all_cocos2dx_coco_studio_manual(lua_State* L) extendBone(L); return 0; -} \ No newline at end of file +} diff --git a/cocos/scripting/lua-bindings/manual/lua_cocos2dx_physics_manual.cpp b/cocos/scripting/lua-bindings/manual/lua_cocos2dx_physics_manual.cpp index 1d4425767c..f63ae9ef0d 100644 --- a/cocos/scripting/lua-bindings/manual/lua_cocos2dx_physics_manual.cpp +++ b/cocos/scripting/lua-bindings/manual/lua_cocos2dx_physics_manual.cpp @@ -1616,4 +1616,4 @@ int register_all_cocos2dx_physics_manual(lua_State* tolua_S) return 0; } -#endif \ No newline at end of file +#endif diff --git a/cocos/ui/CCProtectedNode.cpp b/cocos/ui/CCProtectedNode.cpp index 4819db32c5..ddfaabbc3f 100644 --- a/cocos/ui/CCProtectedNode.cpp +++ b/cocos/ui/CCProtectedNode.cpp @@ -415,4 +415,4 @@ void ProtectedNode::disableCascadeColor() } } -NS_CC_END \ No newline at end of file +NS_CC_END diff --git a/cocos/ui/CCProtectedNode.h b/cocos/ui/CCProtectedNode.h index 0c6eb2f949..c950c5da2b 100644 --- a/cocos/ui/CCProtectedNode.h +++ b/cocos/ui/CCProtectedNode.h @@ -181,4 +181,4 @@ private: NS_CC_END -#endif // __CPROTECTEDCNODE_H__ \ No newline at end of file +#endif // __CPROTECTEDCNODE_H__ diff --git a/cocos/ui/UIHBox.cpp b/cocos/ui/UIHBox.cpp index 9374fc004d..4785742ced 100644 --- a/cocos/ui/UIHBox.cpp +++ b/cocos/ui/UIHBox.cpp @@ -82,4 +82,4 @@ bool HBox::initWithSize(const Size& size) } -NS_CC_END \ No newline at end of file +NS_CC_END diff --git a/cocos/ui/UILayoutManager.cpp b/cocos/ui/UILayoutManager.cpp index b94630982e..c1c1d6d082 100644 --- a/cocos/ui/UILayoutManager.cpp +++ b/cocos/ui/UILayoutManager.cpp @@ -564,4 +564,4 @@ void RelativeLayoutManager::doLayout(LayoutProtocol *layout) } -NS_CC_END \ No newline at end of file +NS_CC_END diff --git a/cocos/ui/UIRelativeBox.cpp b/cocos/ui/UIRelativeBox.cpp index e4798b2438..d46430c279 100644 --- a/cocos/ui/UIRelativeBox.cpp +++ b/cocos/ui/UIRelativeBox.cpp @@ -82,4 +82,4 @@ bool RelativeBox::initWithSize(const Size& size) } -NS_CC_END \ No newline at end of file +NS_CC_END diff --git a/cocos/ui/UIRichText.cpp b/cocos/ui/UIRichText.cpp index e1c827199b..49546be2e8 100644 --- a/cocos/ui/UIRichText.cpp +++ b/cocos/ui/UIRichText.cpp @@ -490,4 +490,4 @@ std::string RichText::getDescription() const } -NS_CC_END \ No newline at end of file +NS_CC_END diff --git a/cocos/ui/UIVBox.cpp b/cocos/ui/UIVBox.cpp index 060ad1dddb..e9fc24b5bb 100644 --- a/cocos/ui/UIVBox.cpp +++ b/cocos/ui/UIVBox.cpp @@ -82,4 +82,4 @@ bool VBox::initWithSize(const Size& size) } -NS_CC_END \ No newline at end of file +NS_CC_END diff --git a/docs/Groups.h b/docs/Groups.h index 4c623b70fc..1039b03f22 100644 --- a/docs/Groups.h +++ b/docs/Groups.h @@ -22,4 +22,4 @@ @defgroup sprite_nodes Sprite Nodes @defgroup textures Textures @defgroup tilemap_parallax_nodes TileMap, Parallax - */ \ No newline at end of file + */ diff --git a/docs/MainPage.h b/docs/MainPage.h index 1a844a8ead..42ebd6e4d7 100644 --- a/docs/MainPage.h +++ b/docs/MainPage.h @@ -53,4 +53,4 @@ THE SOFTWARE. \n - Fork our repository on github, commit your changes, and send a "pull request" to us. We will merge your contribution to master - Suggestion, bug fixes, and improvements are highly appreciated. -*/ \ No newline at end of file +*/ diff --git a/extensions/GUI/CCControlExtension/CCControlColourPicker.h b/extensions/GUI/CCControlExtension/CCControlColourPicker.h index f568af2de6..2cb09328c7 100644 --- a/extensions/GUI/CCControlExtension/CCControlColourPicker.h +++ b/extensions/GUI/CCControlExtension/CCControlColourPicker.h @@ -87,4 +87,4 @@ protected: NS_CC_EXT_END -#endif \ No newline at end of file +#endif diff --git a/extensions/GUI/CCControlExtension/CCControlExtensions.h b/extensions/GUI/CCControlExtension/CCControlExtensions.h index 1ae106f967..c4548bf535 100644 --- a/extensions/GUI/CCControlExtension/CCControlExtensions.h +++ b/extensions/GUI/CCControlExtension/CCControlExtensions.h @@ -34,4 +34,4 @@ THE SOFTWARE. #include "CCControlStepper.h" #include "CCControlSwitch.h" -#endif \ No newline at end of file +#endif diff --git a/extensions/GUI/CCControlExtension/CCControlHuePicker.h b/extensions/GUI/CCControlExtension/CCControlHuePicker.h index 896e452618..9f007a2092 100644 --- a/extensions/GUI/CCControlExtension/CCControlHuePicker.h +++ b/extensions/GUI/CCControlExtension/CCControlHuePicker.h @@ -88,4 +88,4 @@ protected: NS_CC_EXT_END -#endif \ No newline at end of file +#endif diff --git a/extensions/GUI/CCControlExtension/CCControlUtils.h b/extensions/GUI/CCControlExtension/CCControlUtils.h index f927822f10..4df2a0f125 100644 --- a/extensions/GUI/CCControlExtension/CCControlUtils.h +++ b/extensions/GUI/CCControlExtension/CCControlUtils.h @@ -104,4 +104,4 @@ public: NS_CC_EXT_END -#endif \ No newline at end of file +#endif diff --git a/extensions/GUI/CCControlExtension/CCInvocation.h b/extensions/GUI/CCControlExtension/CCInvocation.h index 15fa41920d..e8a2a12b8d 100644 --- a/extensions/GUI/CCControlExtension/CCInvocation.h +++ b/extensions/GUI/CCControlExtension/CCInvocation.h @@ -76,4 +76,4 @@ protected: NS_CC_EXT_END -#endif \ No newline at end of file +#endif diff --git a/extensions/GUI/CCEditBox/CCEditBoxImplWp8.cpp b/extensions/GUI/CCEditBox/CCEditBoxImplWp8.cpp index 5cef5fd0b8..b3ccf3809e 100644 --- a/extensions/GUI/CCEditBox/CCEditBoxImplWp8.cpp +++ b/extensions/GUI/CCEditBox/CCEditBoxImplWp8.cpp @@ -300,4 +300,4 @@ std::string CCEditBoxImplWp8::PlatformStringTostring( Platform::String^ strSrc ) return strDst; } -NS_CC_EXT_END \ No newline at end of file +NS_CC_EXT_END diff --git a/extensions/GUI/CCEditBox/CCEditBoxImplWp8.h b/extensions/GUI/CCEditBox/CCEditBoxImplWp8.h index 7f1cbb4947..4513ec6dfd 100644 --- a/extensions/GUI/CCEditBox/CCEditBoxImplWp8.h +++ b/extensions/GUI/CCEditBox/CCEditBoxImplWp8.h @@ -84,4 +84,4 @@ private: NS_CC_EXT_END -#endif \ No newline at end of file +#endif diff --git a/extensions/proj.win32/Win32InputBox.h b/extensions/proj.win32/Win32InputBox.h index 88ea1184c4..1fd46a5593 100644 --- a/extensions/proj.win32/Win32InputBox.h +++ b/extensions/proj.win32/Win32InputBox.h @@ -103,4 +103,4 @@ public: #endif /* (CC_TARGET_PLATFORM == CC_PLATFORM_WIN32) */ -#endif \ No newline at end of file +#endif diff --git a/templates/cpp-template-default/proj.wp8-xaml/AppComponent/pch.h b/templates/cpp-template-default/proj.wp8-xaml/AppComponent/pch.h index 842a70abec..5e0bbb907c 100644 --- a/templates/cpp-template-default/proj.wp8-xaml/AppComponent/pch.h +++ b/templates/cpp-template-default/proj.wp8-xaml/AppComponent/pch.h @@ -1,3 +1,3 @@ #pragma once -#include "cocos2d.h" \ No newline at end of file +#include "cocos2d.h" diff --git a/templates/lua-template-runtime/frameworks/runtime-src/proj.android/jni/lua/Runtime_android.cpp b/templates/lua-template-runtime/frameworks/runtime-src/proj.android/jni/lua/Runtime_android.cpp index 9f4aed2ae0..4ef5a738bf 100644 --- a/templates/lua-template-runtime/frameworks/runtime-src/proj.android/jni/lua/Runtime_android.cpp +++ b/templates/lua-template-runtime/frameworks/runtime-src/proj.android/jni/lua/Runtime_android.cpp @@ -33,4 +33,4 @@ string getIPAddress() t.env->DeleteLocalRef(str); } return IPAddress; -} \ No newline at end of file +} diff --git a/templates/lua-template-runtime/frameworks/runtime-src/proj.win32/SimulatorWindow.cpp b/templates/lua-template-runtime/frameworks/runtime-src/proj.win32/SimulatorWindow.cpp index 2db1ecbc1d..b9fcb0ef9f 100644 --- a/templates/lua-template-runtime/frameworks/runtime-src/proj.win32/SimulatorWindow.cpp +++ b/templates/lua-template-runtime/frameworks/runtime-src/proj.win32/SimulatorWindow.cpp @@ -350,4 +350,4 @@ void createSimulator(const char* viewName, float width, float height, bool isLan printf("SetWindowLong NewWndProc Error:%d\n",GetLastError()); } -} \ No newline at end of file +} diff --git a/templates/lua-template-runtime/frameworks/runtime-src/proj.win32/main.cpp b/templates/lua-template-runtime/frameworks/runtime-src/proj.win32/main.cpp index 7684d909fd..1d0bf2e5d9 100644 --- a/templates/lua-template-runtime/frameworks/runtime-src/proj.win32/main.cpp +++ b/templates/lua-template-runtime/frameworks/runtime-src/proj.win32/main.cpp @@ -69,4 +69,4 @@ std::string getCurAppPath(void) char fuldir[MAX_PATH]={0}; _fullpath(fuldir,strPath.c_str(),MAX_PATH); return fuldir; -} \ No newline at end of file +} diff --git a/tests/cpp-empty-test/proj-wp8-xaml/cpp-empty-testComponent/pch.h b/tests/cpp-empty-test/proj-wp8-xaml/cpp-empty-testComponent/pch.h index 842a70abec..5e0bbb907c 100644 --- a/tests/cpp-empty-test/proj-wp8-xaml/cpp-empty-testComponent/pch.h +++ b/tests/cpp-empty-test/proj-wp8-xaml/cpp-empty-testComponent/pch.h @@ -1,3 +1,3 @@ #pragma once -#include "cocos2d.h" \ No newline at end of file +#include "cocos2d.h" diff --git a/tests/cpp-tests/Classes/AppDelegate.cpp b/tests/cpp-tests/Classes/AppDelegate.cpp index 724a110c20..1ca5f4ba2d 100644 --- a/tests/cpp-tests/Classes/AppDelegate.cpp +++ b/tests/cpp-tests/Classes/AppDelegate.cpp @@ -156,4 +156,4 @@ void AppDelegate::setCurrentTest(BaseTest* curTest) BaseTest* AppDelegate::getCurrentTest() { return _curTest; -} \ No newline at end of file +} diff --git a/tests/cpp-tests/Classes/Box2DTest/Box2dTest.cpp b/tests/cpp-tests/Classes/Box2DTest/Box2dTest.cpp index 5de4ba8bb6..5cac77d929 100644 --- a/tests/cpp-tests/Classes/Box2DTest/Box2dTest.cpp +++ b/tests/cpp-tests/Classes/Box2DTest/Box2dTest.cpp @@ -275,4 +275,4 @@ void Box2DTestScene::runThisTest() Director::getInstance()->replaceScene(this); } - \ No newline at end of file + diff --git a/tests/cpp-tests/Classes/ExtensionsTest/CocosBuilderTest/AnimationsTest/AnimationsTestLayer.cpp b/tests/cpp-tests/Classes/ExtensionsTest/CocosBuilderTest/AnimationsTest/AnimationsTestLayer.cpp index 951d775e66..5be1a5b633 100644 --- a/tests/cpp-tests/Classes/ExtensionsTest/CocosBuilderTest/AnimationsTest/AnimationsTestLayer.cpp +++ b/tests/cpp-tests/Classes/ExtensionsTest/CocosBuilderTest/AnimationsTest/AnimationsTestLayer.cpp @@ -55,4 +55,4 @@ void AnimationsTestLayer::onControlButtonJumpClicked(Ref *pSender, Control::Even void AnimationsTestLayer::onControlButtonFunkyClicked(Ref *pSender, Control::EventType pControlEvent) { mAnimationManager->runAnimationsForSequenceNamedTweenDuration("Funky", 0.3f); -} \ No newline at end of file +} diff --git a/tests/cpp-tests/Classes/ExtensionsTest/CocosBuilderTest/AnimationsTest/AnimationsTestLayer.h b/tests/cpp-tests/Classes/ExtensionsTest/CocosBuilderTest/AnimationsTest/AnimationsTestLayer.h index 6bd009d9be..f6c2c91d2b 100644 --- a/tests/cpp-tests/Classes/ExtensionsTest/CocosBuilderTest/AnimationsTest/AnimationsTestLayer.h +++ b/tests/cpp-tests/Classes/ExtensionsTest/CocosBuilderTest/AnimationsTest/AnimationsTestLayer.h @@ -31,4 +31,4 @@ private: cocosbuilder::CCBAnimationManager *mAnimationManager; }; -#endif \ No newline at end of file +#endif diff --git a/tests/cpp-tests/Classes/ExtensionsTest/CocosBuilderTest/ButtonTest/ButtonTestLayer.cpp b/tests/cpp-tests/Classes/ExtensionsTest/CocosBuilderTest/ButtonTest/ButtonTestLayer.cpp index 30eb172d8b..13b7d55000 100644 --- a/tests/cpp-tests/Classes/ExtensionsTest/CocosBuilderTest/ButtonTest/ButtonTestLayer.cpp +++ b/tests/cpp-tests/Classes/ExtensionsTest/CocosBuilderTest/ButtonTest/ButtonTestLayer.cpp @@ -61,4 +61,4 @@ void ButtonTestLayer::onControlButtonClicked(cocos2d::Ref *pSender, Control::Eve default: assert(false); // OH SHIT! } -} \ No newline at end of file +} diff --git a/tests/cpp-tests/Classes/ExtensionsTest/CocosBuilderTest/ButtonTest/ButtonTestLayer.h b/tests/cpp-tests/Classes/ExtensionsTest/CocosBuilderTest/ButtonTest/ButtonTestLayer.h index 922b1e1f5d..ac1ca59dd9 100644 --- a/tests/cpp-tests/Classes/ExtensionsTest/CocosBuilderTest/ButtonTest/ButtonTestLayer.h +++ b/tests/cpp-tests/Classes/ExtensionsTest/CocosBuilderTest/ButtonTest/ButtonTestLayer.h @@ -26,4 +26,4 @@ private: cocos2d::Label * mControlEventLabel; }; -#endif \ No newline at end of file +#endif diff --git a/tests/cpp-tests/Classes/ExtensionsTest/CocosBuilderTest/CocosBuilderTest.h b/tests/cpp-tests/Classes/ExtensionsTest/CocosBuilderTest/CocosBuilderTest.h index 6d63e9fd9c..cdd7ee00a4 100644 --- a/tests/cpp-tests/Classes/ExtensionsTest/CocosBuilderTest/CocosBuilderTest.h +++ b/tests/cpp-tests/Classes/ExtensionsTest/CocosBuilderTest/CocosBuilderTest.h @@ -8,4 +8,4 @@ class CocosBuilderTestScene : public TestScene { virtual void runThisTest(); }; -#endif \ No newline at end of file +#endif diff --git a/tests/cpp-tests/Classes/ExtensionsTest/CocosBuilderTest/LabelTest/LabelTestLayer.h b/tests/cpp-tests/Classes/ExtensionsTest/CocosBuilderTest/LabelTest/LabelTestLayer.h index 3cee0e0d46..9bdb4c7350 100644 --- a/tests/cpp-tests/Classes/ExtensionsTest/CocosBuilderTest/LabelTest/LabelTestLayer.h +++ b/tests/cpp-tests/Classes/ExtensionsTest/CocosBuilderTest/LabelTest/LabelTestLayer.h @@ -9,4 +9,4 @@ class LabelTestLayer : public cocos2d::Layer { CCB_STATIC_NEW_AUTORELEASE_OBJECT_WITH_INIT_METHOD(LabelTestLayer, create); }; -#endif \ No newline at end of file +#endif diff --git a/tests/cpp-tests/Classes/ExtensionsTest/CocosBuilderTest/MenuTest/MenuTestLayer.cpp b/tests/cpp-tests/Classes/ExtensionsTest/CocosBuilderTest/MenuTest/MenuTestLayer.cpp index 200576e266..8543fe418f 100644 --- a/tests/cpp-tests/Classes/ExtensionsTest/CocosBuilderTest/MenuTest/MenuTestLayer.cpp +++ b/tests/cpp-tests/Classes/ExtensionsTest/CocosBuilderTest/MenuTest/MenuTestLayer.cpp @@ -41,4 +41,4 @@ void MenuTestLayer::onMenuItemBClicked(cocos2d::Ref *pSender) { void MenuTestLayer::onMenuItemCClicked(cocos2d::Ref *pSender) { this->mMenuItemStatusLabelBMFont->setString("Menu Item C clicked."); -} \ No newline at end of file +} diff --git a/tests/cpp-tests/Classes/ExtensionsTest/CocosBuilderTest/MenuTest/MenuTestLayer.h b/tests/cpp-tests/Classes/ExtensionsTest/CocosBuilderTest/MenuTest/MenuTestLayer.h index 19088ec81e..b542adc67d 100644 --- a/tests/cpp-tests/Classes/ExtensionsTest/CocosBuilderTest/MenuTest/MenuTestLayer.h +++ b/tests/cpp-tests/Classes/ExtensionsTest/CocosBuilderTest/MenuTest/MenuTestLayer.h @@ -28,4 +28,4 @@ class MenuTestLayer cocos2d::Label * mMenuItemStatusLabelBMFont; }; -#endif \ No newline at end of file +#endif diff --git a/tests/cpp-tests/Classes/ExtensionsTest/CocosBuilderTest/ParticleSystemTest/ParticleSystemTestLayer.h b/tests/cpp-tests/Classes/ExtensionsTest/CocosBuilderTest/ParticleSystemTest/ParticleSystemTestLayer.h index cf06eb3e87..62dd064f4f 100644 --- a/tests/cpp-tests/Classes/ExtensionsTest/CocosBuilderTest/ParticleSystemTest/ParticleSystemTestLayer.h +++ b/tests/cpp-tests/Classes/ExtensionsTest/CocosBuilderTest/ParticleSystemTest/ParticleSystemTestLayer.h @@ -9,4 +9,4 @@ class ParticleSystemTestLayer : public cocos2d::Layer { CCB_STATIC_NEW_AUTORELEASE_OBJECT_WITH_INIT_METHOD(ParticleSystemTestLayer, create); }; -#endif \ No newline at end of file +#endif diff --git a/tests/cpp-tests/Classes/ExtensionsTest/CocosBuilderTest/ScrollViewTest/ScrollViewTestLayer.h b/tests/cpp-tests/Classes/ExtensionsTest/CocosBuilderTest/ScrollViewTest/ScrollViewTestLayer.h index e16039b3ca..52838de1bf 100644 --- a/tests/cpp-tests/Classes/ExtensionsTest/CocosBuilderTest/ScrollViewTest/ScrollViewTestLayer.h +++ b/tests/cpp-tests/Classes/ExtensionsTest/CocosBuilderTest/ScrollViewTest/ScrollViewTestLayer.h @@ -9,4 +9,4 @@ class ScrollViewTestLayer : public cocos2d::Layer { CCB_STATIC_NEW_AUTORELEASE_OBJECT_WITH_INIT_METHOD(ScrollViewTestLayer, create); }; -#endif \ No newline at end of file +#endif diff --git a/tests/cpp-tests/Classes/ExtensionsTest/CocosBuilderTest/SpriteTest/SpriteTestLayer.h b/tests/cpp-tests/Classes/ExtensionsTest/CocosBuilderTest/SpriteTest/SpriteTestLayer.h index 488a5c4da9..81ca61717f 100644 --- a/tests/cpp-tests/Classes/ExtensionsTest/CocosBuilderTest/SpriteTest/SpriteTestLayer.h +++ b/tests/cpp-tests/Classes/ExtensionsTest/CocosBuilderTest/SpriteTest/SpriteTestLayer.h @@ -9,4 +9,4 @@ class SpriteTestLayer : public cocos2d::Layer { CCB_STATIC_NEW_AUTORELEASE_OBJECT_WITH_INIT_METHOD(SpriteTestLayer, create); }; -#endif \ No newline at end of file +#endif diff --git a/tests/cpp-tests/Classes/ExtensionsTest/CocosBuilderTest/TestHeader/TestHeaderLayer.cpp b/tests/cpp-tests/Classes/ExtensionsTest/CocosBuilderTest/TestHeader/TestHeaderLayer.cpp index 7bf26107ae..822c007ed4 100644 --- a/tests/cpp-tests/Classes/ExtensionsTest/CocosBuilderTest/TestHeader/TestHeaderLayer.cpp +++ b/tests/cpp-tests/Classes/ExtensionsTest/CocosBuilderTest/TestHeader/TestHeaderLayer.cpp @@ -22,4 +22,4 @@ void TestHeaderLayer::onNodeLoaded(cocos2d::Node * node, cocosbuilder::NodeLoade void TestHeaderLayer::onBackClicked(cocos2d::Ref *pSender) { Director::getInstance()->popScene(); -} \ No newline at end of file +} diff --git a/tests/cpp-tests/Classes/ExtensionsTest/CocosBuilderTest/TestHeader/TestHeaderLayer.h b/tests/cpp-tests/Classes/ExtensionsTest/CocosBuilderTest/TestHeader/TestHeaderLayer.h index 06792951dc..8e0985f092 100644 --- a/tests/cpp-tests/Classes/ExtensionsTest/CocosBuilderTest/TestHeader/TestHeaderLayer.h +++ b/tests/cpp-tests/Classes/ExtensionsTest/CocosBuilderTest/TestHeader/TestHeaderLayer.h @@ -20,4 +20,4 @@ class TestHeaderLayer void onBackClicked(cocos2d::Ref * sender); }; -#endif \ No newline at end of file +#endif diff --git a/tests/cpp-tests/Classes/ExtensionsTest/NetworkTest/SocketIOTest.h b/tests/cpp-tests/Classes/ExtensionsTest/NetworkTest/SocketIOTest.h index 2d25827d23..5d94477680 100644 --- a/tests/cpp-tests/Classes/ExtensionsTest/NetworkTest/SocketIOTest.h +++ b/tests/cpp-tests/Classes/ExtensionsTest/NetworkTest/SocketIOTest.h @@ -48,4 +48,4 @@ public: void runSocketIOTest(); -#endif /* defined(__TestCpp__SocketIOTest__) */ \ No newline at end of file +#endif /* defined(__TestCpp__SocketIOTest__) */ diff --git a/tests/cpp-tests/Classes/ExtensionsTest/Scale9SpriteTest/Scale9SpriteTest.h b/tests/cpp-tests/Classes/ExtensionsTest/Scale9SpriteTest/Scale9SpriteTest.h index fb1a54cd46..edde512780 100644 --- a/tests/cpp-tests/Classes/ExtensionsTest/Scale9SpriteTest/Scale9SpriteTest.h +++ b/tests/cpp-tests/Classes/ExtensionsTest/Scale9SpriteTest/Scale9SpriteTest.h @@ -226,4 +226,4 @@ public: virtual std::string title() const override; virtual std::string subtitle() const override; -}; \ No newline at end of file +}; diff --git a/tests/cpp-tests/Classes/InputTest/MouseTest.cpp b/tests/cpp-tests/Classes/InputTest/MouseTest.cpp index 12512dafae..78e1f16094 100644 --- a/tests/cpp-tests/Classes/InputTest/MouseTest.cpp +++ b/tests/cpp-tests/Classes/InputTest/MouseTest.cpp @@ -79,4 +79,4 @@ void MouseTestScene::runThisTest() Director::getInstance()->replaceScene(this); layer->release(); -} \ No newline at end of file +} diff --git a/tests/cpp-tests/Classes/LabelTest/LabelTestNew.cpp b/tests/cpp-tests/Classes/LabelTest/LabelTestNew.cpp index 246eec1277..e0c7dad219 100644 --- a/tests/cpp-tests/Classes/LabelTest/LabelTestNew.cpp +++ b/tests/cpp-tests/Classes/LabelTest/LabelTestNew.cpp @@ -1862,4 +1862,4 @@ std::string LabelAdditionalKerningTest::title() const std::string LabelAdditionalKerningTest::subtitle() const { return "Testing additional kerning of label"; -} \ No newline at end of file +} diff --git a/tests/cpp-tests/Classes/PerformanceTest/PerformanceRendererTest.cpp b/tests/cpp-tests/Classes/PerformanceTest/PerformanceRendererTest.cpp index 206e45d265..2d9b8a0a55 100644 --- a/tests/cpp-tests/Classes/PerformanceTest/PerformanceRendererTest.cpp +++ b/tests/cpp-tests/Classes/PerformanceTest/PerformanceRendererTest.cpp @@ -52,4 +52,4 @@ void runRendererTest() { auto scene = RenderTestLayer::scene(); Director::getInstance()->replaceScene(scene); -} \ No newline at end of file +} diff --git a/tests/cpp-tests/Classes/ShaderTest/ShaderTest.vsh.h b/tests/cpp-tests/Classes/ShaderTest/ShaderTest.vsh.h index 3193d9fe3b..e4a99ca648 100644 --- a/tests/cpp-tests/Classes/ShaderTest/ShaderTest.vsh.h +++ b/tests/cpp-tests/Classes/ShaderTest/ShaderTest.vsh.h @@ -8,4 +8,4 @@ void main() gl_Position = CC_MVPMatrix * a_position; } -); \ No newline at end of file +); diff --git a/tests/cpp-tests/Classes/ShaderTest/ShaderTest2.h b/tests/cpp-tests/Classes/ShaderTest/ShaderTest2.h index 0de6babe69..707d1cb80b 100644 --- a/tests/cpp-tests/Classes/ShaderTest/ShaderTest2.h +++ b/tests/cpp-tests/Classes/ShaderTest/ShaderTest2.h @@ -60,4 +60,4 @@ protected: }; -#endif \ No newline at end of file +#endif diff --git a/tests/cpp-tests/Classes/ShaderTest/shaderTest.psh.h b/tests/cpp-tests/Classes/ShaderTest/shaderTest.psh.h index e21759b9b8..808050a1e4 100644 --- a/tests/cpp-tests/Classes/ShaderTest/shaderTest.psh.h +++ b/tests/cpp-tests/Classes/ShaderTest/shaderTest.psh.h @@ -471,4 +471,4 @@ void main(void) } -); \ No newline at end of file +); diff --git a/tests/cpp-tests/Classes/UITest/CocoStudioGUITest/CocoStudioGUITest.cpp b/tests/cpp-tests/Classes/UITest/CocoStudioGUITest/CocoStudioGUITest.cpp index 8b4538ea94..0cb3dcabcc 100644 --- a/tests/cpp-tests/Classes/UITest/CocoStudioGUITest/CocoStudioGUITest.cpp +++ b/tests/cpp-tests/Classes/UITest/CocoStudioGUITest/CocoStudioGUITest.cpp @@ -137,4 +137,4 @@ void CocoStudioGUITestScene::BackCallback(Ref* pSender) Director::getInstance()->replaceScene(scene); cocostudio::ArmatureDataManager::destroyInstance(); -} \ No newline at end of file +} diff --git a/tests/cpp-tests/Classes/UITest/CocoStudioGUITest/CustomWidget/CustomReader.cpp b/tests/cpp-tests/Classes/UITest/CocoStudioGUITest/CustomWidget/CustomReader.cpp index ba64cc628f..99cfc80547 100644 --- a/tests/cpp-tests/Classes/UITest/CocoStudioGUITest/CustomWidget/CustomReader.cpp +++ b/tests/cpp-tests/Classes/UITest/CocoStudioGUITest/CustomWidget/CustomReader.cpp @@ -37,4 +37,4 @@ void CustomReader::setProperties(const std::string &classType, Widget *widget, c customImageView->setText(text); } } -} \ No newline at end of file +} diff --git a/tests/cpp-tests/Classes/UITest/CocoStudioGUITest/UISceneManager.cpp b/tests/cpp-tests/Classes/UITest/CocoStudioGUITest/UISceneManager.cpp index d0ae96f33c..507c0d483b 100644 --- a/tests/cpp-tests/Classes/UITest/CocoStudioGUITest/UISceneManager.cpp +++ b/tests/cpp-tests/Classes/UITest/CocoStudioGUITest/UISceneManager.cpp @@ -390,4 +390,4 @@ Scene *UISceneManager::currentUIScene() #endif } return NULL; -} \ No newline at end of file +} diff --git a/tests/cpp-tests/Classes/UITest/CocoStudioGUITest/UIVideoPlayerTest/UIVideoPlayerTest.cpp b/tests/cpp-tests/Classes/UITest/CocoStudioGUITest/UIVideoPlayerTest/UIVideoPlayerTest.cpp index f6d3a05ff7..c62fcad662 100644 --- a/tests/cpp-tests/Classes/UITest/CocoStudioGUITest/UIVideoPlayerTest/UIVideoPlayerTest.cpp +++ b/tests/cpp-tests/Classes/UITest/CocoStudioGUITest/UIVideoPlayerTest/UIVideoPlayerTest.cpp @@ -208,4 +208,4 @@ void VideoPlayerTest::videoEventCallback(Ref* sender, VideoPlayer::EventType eve default: break; } -} \ No newline at end of file +} diff --git a/tests/cpp-tests/Classes/UITest/UITest.cpp b/tests/cpp-tests/Classes/UITest/UITest.cpp index d4c931cf0c..242b7dd4e0 100644 --- a/tests/cpp-tests/Classes/UITest/UITest.cpp +++ b/tests/cpp-tests/Classes/UITest/UITest.cpp @@ -5,4 +5,4 @@ void UITestScene::runThisTest() { CocoStudioGUITestScene* pScene = new CocoStudioGUITestScene(); pScene->runThisTest(); -} \ No newline at end of file +} diff --git a/tests/cpp-tests/proj.wp8-xaml/cpp-testsComponent/pch.h b/tests/cpp-tests/proj.wp8-xaml/cpp-testsComponent/pch.h index 842a70abec..5e0bbb907c 100644 --- a/tests/cpp-tests/proj.wp8-xaml/cpp-testsComponent/pch.h +++ b/tests/cpp-tests/proj.wp8-xaml/cpp-testsComponent/pch.h @@ -1,3 +1,3 @@ #pragma once -#include "cocos2d.h" \ No newline at end of file +#include "cocos2d.h"