@@ -138,7 +138,7 @@ print_template_banner(){
138
138
}
139
139
140
140
# copies project-based templates
141
- copy_project_templates (){
141
+ copy_xcode3_project_templates (){
142
142
if [[ $user_dir ]]; then
143
143
TEMPLATE_DIR=" ${BASE_TEMPLATE_USER_DIR} /Project Templates/${COCOS2D_VER} /"
144
144
else
@@ -151,7 +151,7 @@ copy_project_templates(){
151
151
mkdir -p " $TEMPLATE_DIR "
152
152
fi
153
153
154
- print_template_banner " Installing cocos2d iOS template"
154
+ print_template_banner " Installing Xcode 3 cocos2d iOS template"
155
155
156
156
DST_DIR=" $TEMPLATE_DIR " " cocos2d Application/"
157
157
LIBS_DIR=" $DST_DIR " libs
@@ -165,7 +165,7 @@ copy_project_templates(){
165
165
166
166
echo done!
167
167
168
- print_template_banner " Installing cocos2d iOS + box2d template"
168
+ print_template_banner " Installing Xcode 3 cocos2d iOS + box2d template"
169
169
170
170
DST_DIR=" $TEMPLATE_DIR " " cocos2d Box2d Application/"
171
171
LIBS_DIR=" $DST_DIR " libs
@@ -183,7 +183,7 @@ copy_project_templates(){
183
183
echo done!
184
184
185
185
186
- print_template_banner " Installing cocos2d iOS + chipmunk template"
186
+ print_template_banner " Installing Xcode 3 cocos2d iOS + chipmunk template"
187
187
188
188
DST_DIR=" $TEMPLATE_DIR " " cocos2d Chipmunk Application/"
189
189
LIBS_DIR=" $DST_DIR " libs
@@ -200,7 +200,7 @@ copy_project_templates(){
200
200
201
201
echo done!
202
202
203
- print_template_banner " Installing cocos2d Mac template"
203
+ print_template_banner " Installing Xcode 3 cocos2d Mac template"
204
204
205
205
DST_DIR=" $TEMPLATE_DIR " " cocos2d Application - Mac/"
206
206
LIBS_DIR=" $DST_DIR " libs
@@ -215,7 +215,7 @@ copy_project_templates(){
215
215
echo done!
216
216
}
217
217
218
- copy_file_templates (){
218
+ copy_xcode3_file_templates (){
219
219
if [[ $user_dir ]]; then
220
220
TEMPLATE_DIR=" ${BASE_TEMPLATE_USER_DIR} /File Templates/${COCOS2D_VER} /"
221
221
else
@@ -233,7 +233,7 @@ copy_file_templates(){
233
233
mkdir -p " $TEMPLATE_DIR "
234
234
fi
235
235
236
- print_template_banner " Installing CCNode file templates..."
236
+ print_template_banner " Installing Xcode 3 CCNode file templates..."
237
237
238
238
copy_files " templates/Xcode3_templates/file-templates/CCNode class" " $DST_DIR "
239
239
@@ -303,7 +303,7 @@ copy_xcode4_project_templates(){
303
303
DST_DIR=" $HOME /Library/Developer/Xcode/Templates/File Templates/cocos2d/"
304
304
OLD_DIR=" $HOME /Library/Developer/Xcode/Templates/cocos2d/"
305
305
306
- print_template_banner " Installing CCNode file templates..."
306
+ print_template_banner " Installing Xcode 4 CCNode file templates..."
307
307
308
308
check_dst_dir
309
309
@@ -316,6 +316,6 @@ copy_xcode4_project_templates(){
316
316
copy_xcode4_project_templates
317
317
318
318
# copy Xcode3 templates
319
- copy_project_templates
320
- copy_file_templates
319
+ copy_xcode3_project_templates
320
+ copy_xcode3_file_templates
321
321
0 commit comments