mirror of https://github.com/axmolengine/axmol.git
fix cross-platform comiple error
details: remove CCActionEaseEx dependency fix compile errors on android platform fix a few inproper decalare fix linux compile error fix win32 compile error
This commit is contained in:
parent
0b932f4f5f
commit
143f5975a6
|
@ -12,6 +12,7 @@ CCAction.cpp \
|
|||
CCActionCamera.cpp \
|
||||
CCActionCatmullRom.cpp \
|
||||
CCActionEase.cpp \
|
||||
CCTweenFunction.cpp \
|
||||
CCActionGrid.cpp \
|
||||
CCActionGrid3D.cpp \
|
||||
CCActionInstant.cpp \
|
||||
|
|
|
@ -30,6 +30,7 @@ endif()
|
|||
set(COCOS2D_SRC
|
||||
CCAction.cpp
|
||||
CCActionCamera.cpp
|
||||
CCTweenFunction.cpp
|
||||
CCActionEase.cpp
|
||||
CCActionGrid.cpp
|
||||
CCActionGrid3D.cpp
|
||||
|
|
|
@ -299,6 +299,7 @@ xcopy /Y /Q "$(ProjectDir)..\..\external\win32-specific\gles\prebuilt\*.*" "$(Ou
|
|||
<ClCompile Include="CCTransitionPageTurn.cpp" />
|
||||
<ClCompile Include="CCTransitionProgress.cpp" />
|
||||
<ClCompile Include="ccTypes.cpp" />
|
||||
<ClCompile Include="CCTweenFunction.cpp" />
|
||||
<ClCompile Include="CCUserDefault.cpp" />
|
||||
<ClCompile Include="ccUTF8.cpp" />
|
||||
<ClCompile Include="ccUtils.cpp" />
|
||||
|
@ -497,6 +498,7 @@ xcopy /Y /Q "$(ProjectDir)..\..\external\win32-specific\gles\prebuilt\*.*" "$(Ou
|
|||
<ClInclude Include="CCTransitionPageTurn.h" />
|
||||
<ClInclude Include="CCTransitionProgress.h" />
|
||||
<ClInclude Include="ccTypes.h" />
|
||||
<ClInclude Include="CCTweenFunction.h" />
|
||||
<ClInclude Include="CCUserDefault.h" />
|
||||
<ClInclude Include="ccUTF8.h" />
|
||||
<ClInclude Include="ccUtils.h" />
|
||||
|
|
|
@ -6,7 +6,6 @@ LOCAL_MODULE := cocostudio_static
|
|||
LOCAL_MODULE_FILENAME := libcocostudio
|
||||
|
||||
LOCAL_SRC_FILES := CCActionFrame.cpp \
|
||||
CCActionEaseEx.cpp \
|
||||
CCActionFrameEasing.cpp \
|
||||
CCActionManagerEx.cpp \
|
||||
CCActionNode.cpp \
|
||||
|
@ -28,7 +27,6 @@ CCArmatureDefine.cpp \
|
|||
CCDataReaderHelper.cpp \
|
||||
CCSpriteFrameCacheHelper.cpp \
|
||||
CCTransformHelp.cpp \
|
||||
CCTweenFunction.cpp \
|
||||
CCUtilMath.cpp \
|
||||
CCComAttribute.cpp \
|
||||
CCComAudio.cpp \
|
||||
|
|
|
@ -476,7 +476,7 @@ float Tween::updateFrameData(float currentPercent)
|
|||
* If frame tween easing equal to TWEEN_EASING_MAX, then it will not do tween.
|
||||
*/
|
||||
TweenType tweenType = (_frameTweenEasing != Linear) ? _frameTweenEasing : _tweenEasing;
|
||||
if (tweenType != ::cocos2d::tweenfunc::TWEEN_EASING_MAX && tweenType != Linear && !_passLastFrame)
|
||||
if (tweenType != cocos2d::tweenfunc::TWEEN_EASING_MAX && tweenType != Linear && !_passLastFrame)
|
||||
{
|
||||
currentPercent = cocos2d::tweenfunc::tweenTo(currentPercent, tweenType, _from->easingParams);
|
||||
}
|
||||
|
|
|
@ -133,7 +133,7 @@ protected:
|
|||
|
||||
Bone *_bone; //! A weak reference to the Bone
|
||||
|
||||
cocos2d::tweenfunc::TweenType _frameTweenEasing; //! Dedermine which tween effect current frame use
|
||||
TweenType _frameTweenEasing; //! Dedermine which tween effect current frame use
|
||||
|
||||
int _betweenDuration; //! Current key frame will last _betweenDuration frames
|
||||
int _totalDuration;
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
set(CS_SRC
|
||||
CCActionEaseEx.cpp
|
||||
CCActionFrame.cpp
|
||||
CCActionFrameEasing.cpp
|
||||
CCActionManagerEx.cpp
|
||||
|
@ -22,7 +21,6 @@ set(CS_SRC
|
|||
CCDataReaderHelper.cpp
|
||||
CCSpriteFrameCacheHelper.cpp
|
||||
CCTransformHelp.cpp
|
||||
CCTweenFunction.cpp
|
||||
CCUtilMath.cpp
|
||||
CCComAttribute.cpp
|
||||
CCComAudio.cpp
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\CCActionEaseEx.cpp" />
|
||||
<ClCompile Include="..\CCActionFrame.cpp" />
|
||||
<ClCompile Include="..\CCActionFrameEasing.cpp" />
|
||||
<ClCompile Include="..\CCActionManagerEx.cpp" />
|
||||
|
@ -41,7 +40,6 @@
|
|||
<ClCompile Include="..\CCSSceneReader.cpp" />
|
||||
<ClCompile Include="..\CCTransformHelp.cpp" />
|
||||
<ClCompile Include="..\CCTween.cpp" />
|
||||
<ClCompile Include="..\CCTweenFunction.cpp" />
|
||||
<ClCompile Include="..\CCUtilMath.cpp" />
|
||||
<ClCompile Include="..\DictionaryHelper.cpp" />
|
||||
<ClCompile Include="..\ObjectFactory.cpp" />
|
||||
|
@ -60,7 +58,6 @@
|
|||
<ClInclude Include="..\..\..\..\external\json\reader.h" />
|
||||
<ClInclude Include="..\..\..\..\external\json\stringbuffer.h" />
|
||||
<ClInclude Include="..\..\..\..\external\json\writer.h" />
|
||||
<ClInclude Include="..\CCActionEaseEx.h" />
|
||||
<ClInclude Include="..\CCActionFrame.h" />
|
||||
<ClInclude Include="..\CCActionFrameEasing.h" />
|
||||
<ClInclude Include="..\CCActionManagerEx.h" />
|
||||
|
@ -91,7 +88,6 @@
|
|||
<ClInclude Include="..\CCSSceneReader.h" />
|
||||
<ClInclude Include="..\CCTransformHelp.h" />
|
||||
<ClInclude Include="..\CCTween.h" />
|
||||
<ClInclude Include="..\CCTweenFunction.h" />
|
||||
<ClInclude Include="..\CCUtilMath.h" />
|
||||
<ClInclude Include="..\DictionaryHelper.h" />
|
||||
<ClInclude Include="..\ObjectFactory.h" />
|
||||
|
@ -178,4 +174,4 @@
|
|||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
</Project>
|
||||
|
|
|
@ -123,9 +123,6 @@
|
|||
<ClCompile Include="..\CCBone.cpp">
|
||||
<Filter>armature</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\CCActionEaseEx.cpp">
|
||||
<Filter>action</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\CCActionFrame.cpp">
|
||||
<Filter>action</Filter>
|
||||
</ClCompile>
|
||||
|
@ -266,9 +263,6 @@
|
|||
<ClInclude Include="..\..\..\..\external\json\internal\strfunc.h">
|
||||
<Filter>json\rapidjson\internal</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\CCActionEaseEx.h">
|
||||
<Filter>action</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\CCActionFrame.h">
|
||||
<Filter>action</Filter>
|
||||
</ClInclude>
|
||||
|
@ -300,4 +294,4 @@
|
|||
<Filter>components</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
</Project>
|
||||
|
|
|
@ -1 +1 @@
|
|||
3964e888d4b32decf6c4b8cc4146336d1c9c935a
|
||||
716ec00b6d77f9f6945f9cd4f107e407bebbd668
|
Loading…
Reference in New Issue