Skip to content

Commit

Permalink
rename Resource(in HelloLua and HelloWorld project) and Res(in tests …
Browse files Browse the repository at this point in the history
…project) to Resources.

test ok on win32 and android
  • Loading branch information
James Chen committed Feb 14, 2012
1 parent 3aeb745 commit ca1052a
Show file tree
Hide file tree
Showing 366 changed files with 39,995 additions and 39,976 deletions.
2 changes: 2 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ Developers:
JianHua Chen (Dumganhar)
author of Bada port

Erawppa
implement CCNotificationCenter

Cocos2d-x can not grow so fast without the active community.
Thanks to all developers who report & trace bugs, dicuss the engine usage in forum & QQ groups!
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
2 changes: 1 addition & 1 deletion HelloLua/android/build_native.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ fi

GAME_ROOT=$COCOS2DX_ROOT_LOCAL/HelloLua
GAME_ANDROID_ROOT=$GAME_ROOT/android
GAME_RESOURCE_ROOT=$GAME_ROOT/Resource
GAME_RESOURCE_ROOT=$GAME_ROOT/Resources

# make sure assets is exist
if [ -d $GAME_ANDROID_ROOT/assets ]; then
Expand Down
4 changes: 2 additions & 2 deletions HelloLua/win32/HelloLua.win32.vcproj.user
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
Name="Debug|Win32"
>
<DebugSettings
WorkingDirectory="$(ProjectDir)..\Resource\"
WorkingDirectory="$(ProjectDir)..\Resources"
/>
</Configuration>
<Configuration
Name="Release|Win32"
>
<DebugSettings
WorkingDirectory="$(ProjectDir)..\Resource\"
WorkingDirectory="$(ProjectDir)..\Resources"
/>
</Configuration>
</Configurations>
Expand Down
4 changes: 2 additions & 2 deletions HelloLua/win32/HelloLua.win32.vcxproj.user
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LocalDebuggerWorkingDirectory>$(ProjectDir)..\Resource\</LocalDebuggerWorkingDirectory>
<LocalDebuggerWorkingDirectory>$(ProjectDir)..\Resources</LocalDebuggerWorkingDirectory>
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LocalDebuggerWorkingDirectory>$(ProjectDir)..\Resource\</LocalDebuggerWorkingDirectory>
<LocalDebuggerWorkingDirectory>$(ProjectDir)..\Resources</LocalDebuggerWorkingDirectory>
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
</PropertyGroup>
</Project>
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion HelloWorld/android/build_native.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ fi
mkdir $HELLOWORLD_ROOT/assets

# copy resources
for file in $COCOS2DX_ROOT_LOCAL/HelloWorld/Resource/*
for file in $COCOS2DX_ROOT_LOCAL/HelloWorld/Resources/*
do
if [ -d $file ]; then
cp -rf $file $HELLOWORLD_ROOT/assets
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions HelloWorld/win32/HelloWorld.win32.vcproj.user
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
Name="Debug|Win32"
>
<DebugSettings
WorkingDirectory="$(ProjectDir)..\Resource\"
WorkingDirectory="$(ProjectDir)..\Resources"
/>
</Configuration>
<Configuration
Name="Release|Win32"
>
<DebugSettings
WorkingDirectory="$(ProjectDir)..\Resource\"
WorkingDirectory="$(ProjectDir)..\Resources"
/>
</Configuration>
</Configurations>
Expand Down
4 changes: 2 additions & 2 deletions HelloWorld/win32/HelloWorld.win32.vcxproj.user
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ShowAllFiles>false</ShowAllFiles>
<LocalDebuggerWorkingDirectory Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(ProjectDir)..\Resource\</LocalDebuggerWorkingDirectory>
<LocalDebuggerWorkingDirectory Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(ProjectDir)..\Resource\</LocalDebuggerWorkingDirectory>
<LocalDebuggerWorkingDirectory Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(ProjectDir)..\Resources</LocalDebuggerWorkingDirectory>
<LocalDebuggerWorkingDirectory Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(ProjectDir)..\Resources</LocalDebuggerWorkingDirectory>
<DebuggerFlavor Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">WindowsLocalDebugger</DebuggerFlavor>
<DebuggerFlavor Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">WindowsLocalDebugger</DebuggerFlavor>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion cocos2dx/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ cocos2d.cpp \
CCDirector.cpp \
effects/CCGrabber.cpp \
effects/CCGrid.cpp \
extensions/CCNotificationCenter.cpp \
keypad_dispatcher/CCKeypadDelegate.cpp \
keypad_dispatcher/CCKeypadDispatcher.cpp \
label_nodes/CCLabelAtlas.cpp \
Expand Down Expand Up @@ -91,7 +92,6 @@ support/image_support/TGAlib.cpp \
support/zip_support/ZipUtils.cpp \
support/zip_support/ioapi.cpp \
support/zip_support/unzip.cpp \
support/extensions/CCNotificationCenter.cpp \
text_input_node/CCIMEDispatcher.cpp \
text_input_node/CCTextFieldTTF.cpp \
textures/CCTexture2D.cpp \
Expand Down
2 changes: 1 addition & 1 deletion cocos2dx/CCDirector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ THE SOFTWARE.
#include "CCAnimationCache.h"
#include "CCTouch.h"
#include "CCUserDefault.h"
#include "support/extensions/CCNotificationCenter.h"
#include "extensions/CCNotificationCenter.h"

#if CC_ENABLE_PROFILERS
#include "support/CCProfiling.h"
Expand Down
2 changes: 1 addition & 1 deletion cocos2dx/include/cocos2d.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ THE SOFTWARE.
#include "CCAccelerometer.h"

// extensions
#include "support/extensions/CCNotificationCenter.h"
#include "extensions/CCNotificationCenter.h"

//
// cocos2d macros
Expand Down
2 changes: 1 addition & 1 deletion cocos2dx/proj.linux/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ OBJECTS = ../actions/CCAction.o \
../cocoa/CCZone.o \
../effects/CCGrabber.o \
../effects/CCGrid.o \
../extensions/CCNotificationCenter.o \
../keypad_dispatcher/CCKeypadDelegate.o \
../keypad_dispatcher/CCKeypadDispatcher.o \
../label_nodes/CCLabelAtlas.o \
Expand Down Expand Up @@ -81,7 +82,6 @@ OBJECTS = ../actions/CCAction.o \
../support/TransformUtils.o \
../support/base64.o \
../support/ccUtils.o \
../support/extensions/CCNotificationCenter.o \
../support/image_support/TGAlib.o \
../support/zip_support/ZipUtils.o \
../support/zip_support/ioapi.o \
Expand Down
24 changes: 12 additions & 12 deletions cocos2dx/proj.win32/cocos2d-win32.vcproj
Original file line number Diff line number Diff line change
Expand Up @@ -991,18 +991,6 @@
>
</File>
</Filter>
<Filter
Name="extensions"
>
<File
RelativePath="..\support\extensions\CCNotificationCenter.cpp"
>
</File>
<File
RelativePath="..\support\extensions\CCNotificationCenter.h"
>
</File>
</Filter>
</Filter>
<Filter
Name="textures"
Expand Down Expand Up @@ -1096,6 +1084,18 @@
>
</File>
</Filter>
<Filter
Name="extensions"
>
<File
RelativePath="..\extensions\CCNotificationCenter.cpp"
>
</File>
<File
RelativePath="..\extensions\CCNotificationCenter.h"
>
</File>
</Filter>
<File
RelativePath="..\CCCamera.cpp"
>
Expand Down
4 changes: 2 additions & 2 deletions cocos2dx/proj.win32/cocos2d-win32.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ xcopy /Y /Q "$(SolutionDir)cocos2dx\platform\third_party\win32\libraries\*.*" "$
<ClCompile Include="..\actions\CCActionPageTurn3D.cpp" />
<ClCompile Include="..\actions\CCActionProgressTimer.cpp" />
<ClCompile Include="..\actions\CCActionTiledGrid.cpp" />
<ClCompile Include="..\extensions\CCNotificationCenter.cpp" />
<ClCompile Include="..\label_nodes\CCLabelAtlas.cpp" />
<ClCompile Include="..\label_nodes\CCLabelBMFont.cpp" />
<ClCompile Include="..\label_nodes\CCLabelTTF.cpp" />
Expand Down Expand Up @@ -191,7 +192,6 @@ xcopy /Y /Q "$(SolutionDir)cocos2dx\platform\third_party\win32\libraries\*.*" "$
<ClCompile Include="..\support\CCProfiling.cpp" />
<ClCompile Include="..\support\CCUserDefault.cpp" />
<ClCompile Include="..\support\ccUtils.cpp" />
<ClCompile Include="..\support\extensions\CCNotificationCenter.cpp" />
<ClCompile Include="..\support\TransformUtils.cpp" />
<ClCompile Include="..\support\image_support\TGAlib.cpp" />
<ClCompile Include="..\support\zip_support\ioapi.cpp" />
Expand Down Expand Up @@ -225,6 +225,7 @@ xcopy /Y /Q "$(SolutionDir)cocos2dx\platform\third_party\win32\libraries\*.*" "$
<ClInclude Include="..\cocoa\CCNS.h" />
<ClInclude Include="..\effects\CCGrabber.h" />
<ClInclude Include="..\effects\CCGrid.h" />
<ClInclude Include="..\extensions\CCNotificationCenter.h" />
<ClInclude Include="..\include\CCAccelerometer.h" />
<ClInclude Include="..\include\CCAccelerometerDelegate.h" />
<ClInclude Include="..\include\CCAction.h" />
Expand Down Expand Up @@ -330,7 +331,6 @@ xcopy /Y /Q "$(SolutionDir)cocos2dx\platform\third_party\win32\libraries\*.*" "$
<ClInclude Include="..\support\base64.h" />
<ClInclude Include="..\support\CCProfiling.h" />
<ClInclude Include="..\support\ccUtils.h" />
<ClInclude Include="..\support\extensions\CCNotificationCenter.h" />
<ClInclude Include="..\support\TransformUtils.h" />
<ClInclude Include="..\support\data_support\ccCArray.h" />
<ClInclude Include="..\support\data_support\uthash.h" />
Expand Down
12 changes: 6 additions & 6 deletions cocos2dx/proj.win32/cocos2d-win32.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@
<Filter Include="script_support">
<UniqueIdentifier>{e20bbd88-a111-40c3-9d5d-387a4c9cd4d1}</UniqueIdentifier>
</Filter>
<Filter Include="support\extensions">
<UniqueIdentifier>{5eb2c043-58bd-4857-aae4-77c2bdea9742}</UniqueIdentifier>
<Filter Include="extensions">
<UniqueIdentifier>{35a45df9-e7ee-4fba-b38c-7b1369c3385c}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
Expand Down Expand Up @@ -339,8 +339,8 @@
<ClCompile Include="..\platform\win32\CCAccelerometer_win32.cpp">
<Filter>platform\win32</Filter>
</ClCompile>
<ClCompile Include="..\support\extensions\CCNotificationCenter.cpp">
<Filter>support\extensions</Filter>
<ClCompile Include="..\extensions\CCNotificationCenter.cpp">
<Filter>extensions</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
Expand Down Expand Up @@ -696,8 +696,8 @@
<ClInclude Include="..\include\CCTexturePVR.h">
<Filter>include</Filter>
</ClInclude>
<ClInclude Include="..\support\extensions\CCNotificationCenter.h">
<Filter>support\extensions</Filter>
<ClInclude Include="..\extensions\CCNotificationCenter.h">
<Filter>extensions</Filter>
</ClInclude>
</ItemGroup>
</Project>
Loading

0 comments on commit ca1052a

Please sign in to comment.