Merge pull request #2010 from dumganhar/master

issue #1733: Updated template projects. Using the same package name on iOS as which on Android.
This commit is contained in:
James Chen 2013-02-19 22:31:43 -08:00
commit bbec9c8a02
18 changed files with 24 additions and 51 deletions

View File

@ -6,8 +6,7 @@
// Copyright 2010 __MyCompanyName__. All rights reserved.
//
#import "testsAppDelegate.h"
#import "AppController.h"
#import "EAGLView.h"
#import "cocos2d.h"
#import "AppDelegate.h"

View File

@ -1 +1 @@
16d08667ceb5270f9e4470439591422ff7b4e846
4d7caebf5ec01e9050f96e5945fcc3c8ee9b3db3

View File

@ -1 +1 @@
463c2a42ed22e116bb0b5d94a2ccb8c8c4d6e12e
9e877ea63dd2d4a53a7e283bf0f1c234d5ce69c8

View File

@ -1,10 +1,3 @@
//
// testjsAppController.h
// testjs
//
// Created by Rolando Abarca on 3/19/12.
// Copyright __MyCompanyName__ 2012. All rights reserved.
//
@class RootViewController;

View File

@ -1,10 +1,4 @@
//
// testjsAppController.mm
// testjs
//
// Created by Rolando Abarca on 3/19/12.
// Copyright __MyCompanyName__ 2012. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "AppController.h"
#import "cocos2d.h"

View File

@ -1,5 +1,5 @@
//
// Prefix header for all source files of the 'testjs' target in the 'testjs' project
// Prefix header for all source files of the 'HelloJavascript' target in the 'HelloJavascript' project
//
#ifdef __OBJC__

View File

@ -1,10 +1,3 @@
//
// testjsAppController.h
// testjs
//
// Created by Rolando Abarca on 3/19/12.
// Copyright __MyCompanyName__ 2012. All rights reserved.
//
#import "RootViewController.h"

View File

@ -1,10 +1,4 @@
//
// main.m
// testjs
//
// Created by Rolando Abarca on 3/19/12.
// Copyright __MyCompanyName__ 2012. All rights reserved.
//
#import <UIKit/UIKit.h>

View File

@ -66,12 +66,12 @@
<MkTypLibCompatible>false</MkTypLibCompatible>
<TargetEnvironment>Win32</TargetEnvironment>
<GenerateStublessProxies>true</GenerateStublessProxies>
<TypeLibraryName>$(IntDir)testjs.tlb</TypeLibraryName>
<HeaderFileName>testjs.h</HeaderFileName>
<TypeLibraryName>$(IntDir)game.tlb</TypeLibraryName>
<HeaderFileName>game.h</HeaderFileName>
<DllDataFileName>
</DllDataFileName>
<InterfaceIdentifierFileName>testjs_i.c</InterfaceIdentifierFileName>
<ProxyFileName>testjs_p.c</ProxyFileName>
<InterfaceIdentifierFileName>game_i.c</InterfaceIdentifierFileName>
<ProxyFileName>game_p.c</ProxyFileName>
</Midl>
<ClCompile>
<Optimization>Disabled</Optimization>
@ -120,12 +120,12 @@ xcopy "$(ProjectDir)..\Resources" "$(OutDir)\HelloJavascriptRes\" /e /Y</Command
<MkTypLibCompatible>false</MkTypLibCompatible>
<TargetEnvironment>Win32</TargetEnvironment>
<GenerateStublessProxies>true</GenerateStublessProxies>
<TypeLibraryName>$(IntDir)testjs.tlb</TypeLibraryName>
<HeaderFileName>testjs.h</HeaderFileName>
<TypeLibraryName>$(IntDir)game.tlb</TypeLibraryName>
<HeaderFileName>game.h</HeaderFileName>
<DllDataFileName>
</DllDataFileName>
<InterfaceIdentifierFileName>testjs_i.c</InterfaceIdentifierFileName>
<ProxyFileName>testjs_p.c</ProxyFileName>
<InterfaceIdentifierFileName>game_i.c</InterfaceIdentifierFileName>
<ProxyFileName>game_p.c</ProxyFileName>
</Midl>
<ClCompile>
<AdditionalIncludeDirectories>$(ProjectDir)..\Classes;$(ProjectDir)..\..\..\scripting\javascript\spidermonkey-win32\include;$(ProjectDir)..\..\..\external\chipmunk\include\chipmunk;$(ProjectDir)..\..\..\extensions;$(ProjectDir)..\..\..\scripting\javascript\bindings;$(ProjectDir)..\..\..\cocos2dx;$(ProjectDir)..\..\..\cocos2dx\include;$(ProjectDir)..\..\..\cocos2dx\kazmath\include;$(ProjectDir)..\..\..\cocos2dx\platform\win32;$(ProjectDir)..\..\..\cocos2dx\platform\third_party\win32;$(ProjectDir)..\..\..\cocos2dx\platform\third_party\win32\OGLES;$(ProjectDir)..\..\..\CocosDenshion\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
@ -175,10 +175,10 @@ xcopy "$(ProjectDir)..\Resources" "$(OutDir)\HelloJavascriptRes\" /e /Y</Command
<ClInclude Include="..\Classes\AppDelegate.h" />
</ItemGroup>
<ItemGroup>
<None Include="res\testjs.ico" />
<None Include="res\game.ico" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="testjs.rc" />
<ResourceCompile Include="game.rc" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\cocos2dx\proj.win32\cocos2d.vcxproj">

View File

@ -32,12 +32,12 @@
</ClInclude>
</ItemGroup>
<ItemGroup>
<None Include="res\testjs.ico">
<None Include="res\game.ico">
<Filter>resource</Filter>
</None>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="testjs.rc">
<ResourceCompile Include="game.rc">
<Filter>resource</Filter>
</ResourceCompile>
</ItemGroup>

View File

@ -42,7 +42,7 @@ END
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDR_MAINFRAME ICON "res\\testjs.ico"
IDR_MAINFRAME ICON "res\\game.ico"
/////////////////////////////////////////////////////////////////////////////
//
@ -67,12 +67,12 @@ BEGIN
BLOCK "040904B0"
BEGIN
VALUE "CompanyName", "\0"
VALUE "FileDescription", "testjs Module\0"
VALUE "FileDescription", "game Module\0"
VALUE "FileVersion", "1, 0, 0, 1\0"
VALUE "InternalName", "testjs\0"
VALUE "InternalName", "game\0"
VALUE "LegalCopyright", "Copyright \0"
VALUE "OriginalFilename", "testjs.exe\0"
VALUE "ProductName", "testjs Module\0"
VALUE "OriginalFilename", "game.exe\0"
VALUE "ProductName", "game Module\0"
VALUE "ProductVersion", "1, 0, 0, 1\0"
END
END

View File

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 46 KiB

View File

@ -1,6 +1,6 @@
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by testjs.RC
// Used by game.RC
//
#define IDS_PROJNAME 100