issue #186 add template/CCXAppWiz.vs to cocos2dx.
|
@ -19,7 +19,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TestAudioEngine-win32", "Te
|
|||
{F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6} = {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "test-win32", "tests\proj.win32\test-win32.vcproj", "{76A39BB2-9B84-4C65-98A5-654D86B86F2A}"
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tests-win32", "tests\proj.win32\test-win32.vcproj", "{76A39BB2-9B84-4C65-98A5-654D86B86F2A}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{98A51BA8-FC3A-415B-AC8F-8C7BD464E93E} = {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}
|
||||
{207BC7A9-CCF1-4F2F-A04D-45F72242AE25} = {207BC7A9-CCF1-4F2F-A04D-45F72242AE25}
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 10.00
|
||||
# Visual Studio 2008
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CCXAppWiz", "CCXAppWiz\CCXAppWiz.vcproj", "{104F4414-0DA5-4982-A413-766DD1698469}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Win32 = Debug|Win32
|
||||
Release|Win32 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{104F4414-0DA5-4982-A413-766DD1698469}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{104F4414-0DA5-4982-A413-766DD1698469}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{104F4414-0DA5-4982-A413-766DD1698469}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{104F4414-0DA5-4982-A413-766DD1698469}.Release|Win32.Build.0 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
After Width: | Height: | Size: 43 B |
After Width: | Height: | Size: 43 B |
After Width: | Height: | Size: 43 B |
|
@ -0,0 +1,782 @@
|
|||
/******************************************************************************/
|
||||
/*DEFAULT STYLES FOR ALL SECTIONS**********************************************/
|
||||
/******************************************************************************/
|
||||
body { font-family: Tahoma, MS Sans Serif, Arial, Sans Serif;
|
||||
font-weight: normal;
|
||||
font-size: 8pt;
|
||||
color: buttontext;
|
||||
background-color: buttonface;
|
||||
margin-top: 0px;
|
||||
margin-left: 0px;
|
||||
margin-right: 0px;
|
||||
margin-bottom: 0px;
|
||||
overflow: auto; }
|
||||
|
||||
a:link { color: captiontext;
|
||||
text-decoration: none; }
|
||||
|
||||
a:visited { color: captiontext;
|
||||
text-decoration: none; }
|
||||
|
||||
a:active { color: captiontext;
|
||||
text-decoration: none; }
|
||||
|
||||
a:hover { color: captiontext;
|
||||
text-decoration: underline; }
|
||||
|
||||
table { font-family: Tahoma, MS Sans Serif, Arial, Sans Serif;
|
||||
font-weight: normal;
|
||||
font-size: 8pt;
|
||||
color: buttontext;
|
||||
width: 100%; }
|
||||
|
||||
table.one { table-layout: fixed;
|
||||
height: 100%;
|
||||
width: 100%; }
|
||||
|
||||
|
||||
/*DEFAULT STYLES FOR THE 'INTRODUCTION' TABLE**********************************/
|
||||
/******************************************************************************/
|
||||
table.two { table-layout: fixed;
|
||||
height: 79px;
|
||||
width: 100%;
|
||||
background-color: window; }
|
||||
|
||||
td.image { text-align: right; }
|
||||
|
||||
|
||||
/*DEFAULT STYLES FOR THE 'NAVIGATION' TABLE************************************/
|
||||
/******************************************************************************/
|
||||
table.linkText { line-height: 95%;
|
||||
width: 1.7in;
|
||||
height: 2.6em;
|
||||
position: relative;
|
||||
left: 0.1in;
|
||||
z-index: 2; }
|
||||
|
||||
span { position: relative;
|
||||
z-index: 3; }
|
||||
|
||||
span.horiLine1 { height: 30px;
|
||||
width: 166px;
|
||||
position: absolute;
|
||||
top: -1px;
|
||||
left: -1px;
|
||||
bottom: -1px;
|
||||
z-index: 2; }
|
||||
|
||||
|
||||
/*DEFAULT STYLES FOR THE ALL BUTTONS AND THE 'BUTTONS' TABLE*******************/
|
||||
/******************************************************************************/
|
||||
button { font-family: Tahoma, MS Sans Serif, Arial, Sans Serif;
|
||||
font-weight: normal;
|
||||
font-size: 8pt;
|
||||
height: 23px;
|
||||
cursor: hand; }
|
||||
|
||||
.buttons { width: 100%; }
|
||||
|
||||
/*DEFAULT STYLES FOR THE 'CONTENT' TABLE***************************************/
|
||||
/******************************************************************************/
|
||||
table.fixedSize { table-layout: fixed; }
|
||||
|
||||
table.content { table-layout: fixed;
|
||||
height: 100%;
|
||||
width: 100%; }
|
||||
|
||||
ol { font-family: Tahoma, MS Sans Serif, Arial, Sans Serif;
|
||||
font-weight: normal;
|
||||
font-size: 8pt;
|
||||
color: buttontext;
|
||||
margin-top: -1px;
|
||||
margin-bottom: 16px; }
|
||||
|
||||
ul { font-family: Tahoma, MS Sans Serif, Arial, Sans Serif;
|
||||
font-weight: normal;
|
||||
font-size: 8pt;
|
||||
color: buttontext;
|
||||
margin-top: 3px;
|
||||
margin-bottom: 16px; }
|
||||
|
||||
li { font-family: Tahoma, MS Sans Serif, Arial, Sans Serif;
|
||||
font-weight: normal;
|
||||
font-size: 8pt;
|
||||
color: buttontext;
|
||||
position: relative;
|
||||
left: -15px;
|
||||
margin-bottom: 1px; }
|
||||
|
||||
span.itemTextTop { position: relative; }
|
||||
|
||||
span.itemText { font-family: Tahoma, MS Sans Serif, Arial, Sans Serif;
|
||||
font-weight: normal;
|
||||
font-size: 8pt;
|
||||
line-height: 9pt;
|
||||
position: relative;
|
||||
top: -3px; }
|
||||
|
||||
span.itemTextIndent { position: relative;
|
||||
left: 17px;
|
||||
top: -3px; }
|
||||
|
||||
span.sideBtnHidden { width: 100%;
|
||||
margin-top: 3px;
|
||||
margin-bottom: 0px; }
|
||||
|
||||
div.itemTextRadioAa { position: relative;
|
||||
top: -17px;
|
||||
left: 17px;
|
||||
margin-bottom: -25px; }
|
||||
|
||||
div.itemTextRadioA { position: relative;
|
||||
top: -19px;
|
||||
left: 17px;
|
||||
margin-bottom: -25px; }
|
||||
|
||||
div.itemTextRadioB { position: relative;
|
||||
top: -19px;
|
||||
left: 25px;
|
||||
margin-bottom: -25px; }
|
||||
|
||||
div.itemTextRadioIndentA { position: relative;
|
||||
top: -17px;
|
||||
left: 30px;
|
||||
margin-bottom: -25px; }
|
||||
|
||||
div.itemTextRadioIndentB { position: relative;
|
||||
top: -17px;
|
||||
left: 42px;
|
||||
margin-bottom: -25px; }
|
||||
|
||||
div.itemTextCheckboxA { position: relative;
|
||||
top: -17px;
|
||||
left: 17px;
|
||||
margin-bottom: -23px; }
|
||||
|
||||
div.itemTextCheckboxB { position: relative;
|
||||
top: -18px;
|
||||
left: 25px;
|
||||
padding-top: 1px;
|
||||
margin-bottom: -25px; }
|
||||
|
||||
div.itemTextCheckboxIndentB { position: relative;
|
||||
top: -16px;
|
||||
left: 42px;
|
||||
margin-bottom: -25px; }
|
||||
|
||||
input { font-family: Tahoma, MS Sans Serif, Arial, Sans Serif;
|
||||
font-weight: normal;
|
||||
font-size: 8pt;
|
||||
color: buttontext; }
|
||||
|
||||
select { font-family: Tahoma, MS Sans Serif, Arial, Sans Serif;
|
||||
font-weight: normal;
|
||||
font-size: 8pt;
|
||||
color: buttontext; }
|
||||
|
||||
.radio { position: relative;
|
||||
top: -2px;
|
||||
left: 4px; }
|
||||
|
||||
.radioA { position: relative;
|
||||
top: -1px;
|
||||
margin-left: -4px;
|
||||
z-index: 2; }
|
||||
|
||||
.radioIndent { margin-top: -2px;
|
||||
margin-left: 17px; }
|
||||
|
||||
.radioIndentA { margin-top: -2px;
|
||||
margin-left: 9px; }
|
||||
|
||||
.checkbox { position: relative;
|
||||
top: -1px;
|
||||
margin-left: -4px;
|
||||
z-index: 2; }
|
||||
|
||||
.checkboxA { position: relative;
|
||||
top: -2px;
|
||||
left: 4px; }
|
||||
|
||||
.checkboxIndent { position:relative;
|
||||
margin-top: -1px;
|
||||
margin-left: 21px; }
|
||||
|
||||
.comment { width: 578px;
|
||||
position: relative;
|
||||
top: 5px;
|
||||
bottom: 6px; }
|
||||
|
||||
.commentA { width: 398px;
|
||||
position: relative;
|
||||
top: 5px;
|
||||
bottom: 6px; }
|
||||
|
||||
.commentB { width: 578px;
|
||||
position: relative;
|
||||
top: 3px;
|
||||
bottom: -3px; }
|
||||
|
||||
/****THIS IS THE STANDARD TABBED WIZARD, TWO COLUMN INPUT BOX******************/
|
||||
input.sideBtn { width: 193px;
|
||||
position: relative;
|
||||
top: 3px; }
|
||||
|
||||
/****THIS IS THE STANDARD THREE COLUMN WIZARD INPUT BOX************************/
|
||||
input.sideBtnThreeColumn { width: 185px;
|
||||
position: relative;
|
||||
top: 3px; }
|
||||
|
||||
/****THIS IS THE DEFAULT INPUT BOX IN NON-TABBED AND 2 COLUMN WIZARD***********/
|
||||
input.itemTextTwoColumnLong { width: 283px;
|
||||
position: relative;
|
||||
top: 3px; }
|
||||
|
||||
/****THIS IS AN INPUT BOX INDENTED UNDER A CHECKBOX SECTION********************/
|
||||
input.sideBtnIndent { width: 175px;
|
||||
position: relative;
|
||||
top: 3px;
|
||||
left: 18px;
|
||||
bottom: 6px; }
|
||||
|
||||
/****THIS INPUT BOX HAS IS INDENTED UNDER A HEADING AND RULE SECTION***********/
|
||||
input.sideBtnB { width: 185px;
|
||||
position: relative;
|
||||
top: 3px;
|
||||
bottom: 6px; }
|
||||
|
||||
input.sideBtnBA { width: 175px;
|
||||
position: relative;
|
||||
top: 3px;
|
||||
bottom: 6px; }
|
||||
|
||||
/****THIS INPUT BOX HAS A "..." BUTTON BESIDE IT AND IT'S A TABBED WIZARD******/
|
||||
input.sideBtn2 { width: 169px;
|
||||
position: relative;
|
||||
top: 3px;
|
||||
bottom: 6px; }
|
||||
|
||||
/****"..." BUTTON IN A NON-TABBED, 3 COLUMN WIZARD*****************************/
|
||||
input.sideBtn2ThreeColumn { width: 161px;
|
||||
position: relative;
|
||||
top: 3px;
|
||||
bottom: 6px; }
|
||||
|
||||
/****THIS IS AN INPUT BOX IN NON-TABBED AND 2 COLUMN WIZARD WITH A BUTTON******/
|
||||
input.TwoColumnLongButton { width: 259px;
|
||||
position: relative;
|
||||
top: 3px;
|
||||
bottom: 6px; }
|
||||
|
||||
/****THIS INPUT BOX HAS A "..." BUTTON BESIDE IT AND IT'S UNDER A CHECKBOX*****/
|
||||
input.sidebtn2Indent { width: 151px;
|
||||
position: relative;
|
||||
top: 3px;
|
||||
left: 18px;
|
||||
bottom: 6px; }
|
||||
|
||||
/****"..." BUTTON IS UNDER A SECTION IN A TWO COLUMN AND TABBED WIZARD*********/
|
||||
input.sidebtn21 { width: 161px;
|
||||
position: relative;
|
||||
top: 3px;
|
||||
bottom: 6px; }
|
||||
|
||||
/****"..." BUTTON IS UNDER A SECTION IN A THREE COLUMN AND TABBED WIZARD*********/
|
||||
input.sidebtn21A { width: 153px;
|
||||
position: relative;
|
||||
top: 3px;
|
||||
bottom: 6px; }
|
||||
|
||||
/****THIS IS THE STANDARD TABBED WIZARD, TWO COLUMN SELECTION BOX**************/
|
||||
select.sidebtn { width: 193px;
|
||||
position: relative;
|
||||
top: 4px;
|
||||
bottom: -3px; }
|
||||
|
||||
select.sidebtnNoWidth { position: relative;
|
||||
top: 4px;
|
||||
bottom: -3px; }
|
||||
|
||||
/****THIS IS THE STANDARD TABBED WIZARD, ONE COLUMN SELECTION BOX**************/
|
||||
select.sideBtnOneCLong { width: 398px;
|
||||
position: relative;
|
||||
top: 3px; }
|
||||
|
||||
/****THIS IS THE STANDARD THREE COLUMN WIZARD INPUT BOX************************/
|
||||
select.sideBtnThreeColumn { width: 185px;
|
||||
position: relative;
|
||||
top: 4px;
|
||||
bottom: -3px; }
|
||||
|
||||
/****THIS IS THE DEFAULT INPUT BOX IN NON-TABBED AND 2 COLUMN WIZARD***********/
|
||||
select.itemTextTwoColumnLong { width: 283px;
|
||||
position: relative;
|
||||
top: 4px;
|
||||
bottom: -3px; }
|
||||
|
||||
/****THIS SELECTION BOX IS INDENTED UNDER A HEADING AND RULE SECTION***********/
|
||||
select.sidebtnB { width: 164px;
|
||||
position: relative;
|
||||
top: 4px;
|
||||
left: 8px;
|
||||
bottom: -3px; }
|
||||
|
||||
/****THIS SELECTION BOX IS BELOW AND ASSOCIATED WITH A CHECKBOX****************/
|
||||
select.sidebtn2 { width: 164px;
|
||||
position: relative;
|
||||
top: 11px;
|
||||
left: 17px;
|
||||
bottom: -3px; }
|
||||
|
||||
select.sidebtnIndent { width: 175px;
|
||||
position: relative;
|
||||
top: 4px;
|
||||
left: 18px;
|
||||
bottom: -3px; }
|
||||
|
||||
/****THIS SELECTION BOX IS BELOW AND ASSOCIATED WITH A CHECKBOX AND HEADING****/
|
||||
select.sidebtn2AShort { width: 168px;
|
||||
position: relative;
|
||||
top: 4px;
|
||||
left: 25px;
|
||||
bottom: -3px; }
|
||||
|
||||
/****THIS SELECTION BOX IS IN A TABBED, TWO COLUM WIZARD AND FOR < << > >>*****/
|
||||
select.sidebtn3 { width: 177px;
|
||||
position: relative;
|
||||
top: 4px;
|
||||
bottom: -3px; }
|
||||
|
||||
/****THIS IS A SELECTION BOX IN NON-TABBED AND 2 COLUMN WIZARD WITH A BUTTON***/
|
||||
select.TwoColumnLongButton { width: 259px;
|
||||
position: relative;
|
||||
top: 4px;
|
||||
bottom: -3px; }
|
||||
|
||||
/****THIS IS A SELECTION BOX IN NON-TABBED AND 2 COLUMN WIZARD WITH A BUTTON***/
|
||||
select.IndentListBoxWithButton { width: 283px;
|
||||
position: relative;
|
||||
top: 4px;
|
||||
bottom: -3px;
|
||||
left: 18px; }
|
||||
|
||||
/****THIS IS THE DEFAULT OBJECT DROP DOWN IN 2 COLUMN AND TABBED WIZARD********/
|
||||
object.itemtext { font-family: Tahoma, MS Sans Serif, Arial, Sans Serif;
|
||||
font-weight: normal;
|
||||
font-size: 8pt;
|
||||
color: buttontext;
|
||||
width: 193px;
|
||||
height: 2em;
|
||||
position: relative;
|
||||
top: 4px;
|
||||
margin-bottom: 0px; }
|
||||
|
||||
/****THIS IS THE DEFAULT OBJECT DROP DOWN IN 3 COLUMN AND NON-TABBED WIZARD****/
|
||||
object.itemtextThreeColumn { font-family: Tahoma, MS Sans Serif, Arial, Sans Serif;
|
||||
font-weight: normal;
|
||||
font-size: 8pt;
|
||||
color: buttontext;
|
||||
width: 185px;
|
||||
height: 2em;
|
||||
position: relative;
|
||||
top: 4px;
|
||||
margin-bottom: 0px; }
|
||||
|
||||
/****THIS IS THE DEFAULT OBJECT DROP DOWN IN NON-TABBED AND 2 COLUMN WIZARD****/
|
||||
object.itemTextTwoColumnLong{ font-family: Tahoma, MS Sans Serif, Arial, Sans Serif;
|
||||
font-weight: normal;
|
||||
font-size: 8pt;
|
||||
color: buttontext;
|
||||
width: 283px;
|
||||
height: 2em;
|
||||
position: relative;
|
||||
top: 4px;
|
||||
margin-bottom: 0px; }
|
||||
|
||||
.dropdowncombo { font-family: Tahoma, MS Sans Serif, Arial, Sans Serif;
|
||||
font-weight: normal;
|
||||
font-size: 8pt;
|
||||
color: buttontext; }
|
||||
|
||||
/****MOVES RADIO TEXT UP A BIT WHEN INLINE*************************************/
|
||||
span.upABit { position: relative;
|
||||
top: -2px; }
|
||||
|
||||
/****THIS DEFINES A STANDARD BUTTON IN THE CONTENT SECTION*********************/
|
||||
.buttonClass { margin-top: 0px;
|
||||
margin-bottom: -6px; }
|
||||
|
||||
/****THIS DEFINES ADD/REMOVE BUTTONS IN THE CONTENT SECTION********************/
|
||||
.buttonClass2 { width: 75px;
|
||||
padding-top: 1px;
|
||||
margin-top: 7px; }
|
||||
|
||||
/****THIS DEFINES A "..." BUTTON IN THE CONTENT SECTION OUT OF THE SPAN TAG****/
|
||||
.buttonClass3 { height: 19px;
|
||||
width: 20px;
|
||||
position: relative;
|
||||
left: 1px;
|
||||
top: 0px; }
|
||||
|
||||
/****THIS DEFINES A "..." BUTTON IN THE CONTENT SECTION WITHIN THE SPAN TAG***/
|
||||
.buttonClass3Custom { height: 19px;
|
||||
width: 20px;
|
||||
position: relative;
|
||||
left: 4px;
|
||||
top: 3px; }
|
||||
|
||||
/****THIS DEFINES A "..." BUTTON IN THE CONTENT SECTION AND UNDER A CHECKBOX***/
|
||||
.buttonClass3Indent { height: 19px;
|
||||
width: 20px;
|
||||
position: relative;
|
||||
top: 0px;
|
||||
left: 10px; }
|
||||
|
||||
/****THIS DEFINES A ">>" BUTTON IN THE CONTENT SECTION************************/
|
||||
.buttonClass4 { margin-bottom: 4px;
|
||||
width: 25px; }
|
||||
|
||||
/****THIS DEFINES ADD/REMOVE BUTTONS HORIZONTALLY IN THE CONTENT SECTION******/
|
||||
.buttonClass5 { position: relative;
|
||||
top: 4px;
|
||||
width: 75px; }
|
||||
|
||||
/****THIS SETS THE LEFT MARGIN FOR THE REMOVE BUTTON***************************/
|
||||
#removeBtn { margin-left: 4px; }
|
||||
|
||||
/****THIS SETS THE LEFT MARGIN FOR INDENTED SECTION UNDER CHECKBOXES***********/
|
||||
label.indent { margin-left: 18px; }
|
||||
|
||||
/****THIS SETS THE LEFT MARGIN FOR INDENTED SECTION UNDER CHECKBOXES***********/
|
||||
label.indent2 { margin-left: 25px; }
|
||||
|
||||
/****THIS MOVES CHECK BOX AND RADIO TEXT UP A BIT******************************/
|
||||
label.upABit { position: relative;
|
||||
top: -2px; }
|
||||
|
||||
/****THIS BOLDS < << > >> BUTTONS**********************************************/
|
||||
b.bigFont { font-size: 135%; }
|
||||
|
||||
/****THESE ARE CUSTOM VERTICAL SPACING ELEMENTS********************************/
|
||||
p.spacer { margin-bottom: -28px; }
|
||||
|
||||
p.elementSpacer { margin-bottom: -12px; }
|
||||
|
||||
p.elementSpacer2 { margin-bottom: -19px; }
|
||||
|
||||
p.elementSpacer3 { margin-bottom: -3px; }
|
||||
|
||||
p.elementSpacer4 { margin-bottom: 7px; }
|
||||
|
||||
p.elementSpacer5 { margin-bottom: 5px; }
|
||||
|
||||
p.elementSpacer6 { margin-bottom: -24px; }
|
||||
|
||||
p.elementSpacer7 { margin-bottom: -11px; }
|
||||
|
||||
p.elementSpacer8 { margin-bottom: -15px; }
|
||||
|
||||
p.elementSpacer9 { margin-bottom: -7px; }
|
||||
|
||||
p.elementSpacer10 { margin-bottom: 6px; }
|
||||
|
||||
p.elementSpacer11 { margin-bottom: -1px; }
|
||||
|
||||
p.elementSpacer12 { margin-bottom: -17px; }
|
||||
|
||||
p.elementSpacer13 { margin-bottom: -23px; }
|
||||
|
||||
p.elementSpacer14 { margin-bottom: -25px; }
|
||||
|
||||
p.elementSpacer15 { margin-bottom: -13px; }
|
||||
|
||||
p.elementSpacer16 { margin-bottom: -22px; }
|
||||
|
||||
p.elementSpacer17 { margin-bottom: -32px; }
|
||||
|
||||
p.elementSpacer18 { margin-bottom: -14px; }
|
||||
|
||||
p.elementSpacer19 { margin-bottom: -10px; }
|
||||
|
||||
p.elementSpacer21 { margin-bottom: -16px; }
|
||||
|
||||
p.elementSpacer22 { margin-bottom: 3px; }
|
||||
|
||||
/*CUSTOM STYLES FOR THE 'CONTENT' FRAME****************************************/
|
||||
/******************************************************************************/
|
||||
|
||||
/*CUSTOM SPACING FOR MFC UI PAGE - SET UP FOR LOC PURPOSES*******************/
|
||||
/**************************************************************************/
|
||||
p.elementSpacer20 { margin-bottom: -13px; }
|
||||
|
||||
/*CUSTOM STYLE FOR MFC UI PAGE - SET UP FOR LOC PURPOSES*******************/
|
||||
/**************************************************************************/
|
||||
input.sideBtnLoc { width: 193px;
|
||||
position: relative;
|
||||
top: 3px; }
|
||||
|
||||
/*PLACES SPACE BETWEEN ADD/REMOVE BUTTONS**********************************/
|
||||
/**************************************************************************/
|
||||
span.spacer8 { width: 1px; }
|
||||
|
||||
/*SETS TEXT BOX TO APPROPRIATE WIDTH IN MFCAppWiz**************************/
|
||||
/**************************************************************************/
|
||||
#CLASS_NAMES { width: 399px; }
|
||||
|
||||
/*MOVES SELECT BOX UP IN CSharpIndexerWiz, Interface, Method,**************/
|
||||
/*InterfaceMethod, AND MemFunctionWiz**************************************/
|
||||
#PARAMETER_LIST { margin-top: -1px; }
|
||||
|
||||
/*MOVES SELECT BOX UP IN CSharpMethodWiz***********************************/
|
||||
/**************************************************************************/
|
||||
#PARAMETER_LIST1 { margin-top: -1px; }
|
||||
|
||||
/*SETS SELECTION BOX WIDTH IN CSharpInterfaceMethod AND CSharpMethodWiz****/
|
||||
/**************************************************************************/
|
||||
#PARAMETER_MODIFIER { width: 58px; }
|
||||
|
||||
/*SETS INDENT FOR ATLCustom AND MFCCustom Wizards**************************/
|
||||
/**************************************************************************/
|
||||
span.itemTextIndent1 { position: relative;
|
||||
left: 8px;
|
||||
top: -3px; }
|
||||
|
||||
/*SETS INDENT ON OBJECT FOR CSharpMethodWiz********************************/
|
||||
/**************************************************************************/
|
||||
span.customObjectIndent { margin-left: 8px; }
|
||||
|
||||
/*SETS CUSTOM INDENT FOR SECTION IN CSHARPMETHODWIZ************************/
|
||||
/**************************************************************************/
|
||||
span.sidebtn { position: relative;
|
||||
top: 4px;
|
||||
bottom: -3px; }
|
||||
|
||||
/*SETS CUSTOM INDENT FOR SECTION IN CSHARPMETHODWIZ************************/
|
||||
/**************************************************************************/
|
||||
span.itemtextspecial { position: relative;
|
||||
top: -20px;
|
||||
left: 9px;
|
||||
bottom: -3px; }
|
||||
|
||||
/*SETS CUSTOM INDENT FOR SECTION IN CSHARPMETHODWIZ************************/
|
||||
/**************************************************************************/
|
||||
span.sidebtnspecial { position: relative;
|
||||
top: -2px;
|
||||
left: 53px;
|
||||
bottom: -3px; }
|
||||
|
||||
/**************************************************************************/
|
||||
|
||||
|
||||
|
||||
|
||||
/*MODIFIED POSITIONING*****************************************************/
|
||||
/**************************************************************************/
|
||||
/*Position and border change + link to the script file (absolutely needed)!!*/
|
||||
table.three { table-layout: fixed;
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
left: -1px;
|
||||
border-right: solid 2px Window; }
|
||||
|
||||
/*Color change*/
|
||||
span.activeLink { color: WindowText;
|
||||
text-decoration: none;
|
||||
word-wrap: break-word;
|
||||
cursor: hand;
|
||||
width: 100%;
|
||||
padding-top: 1px;
|
||||
padding-bottom: 1px; }
|
||||
|
||||
/*Color change*/
|
||||
span.activeLink2 { color: WindowText;
|
||||
text-decoration: underline;
|
||||
word-wrap: break-word;
|
||||
cursor: hand;
|
||||
width: 100%;
|
||||
padding-top: 1px;
|
||||
padding-bottom: 1px; }
|
||||
|
||||
/*Color change*/
|
||||
span.inactiveLink { color: GrayText;
|
||||
text-decoration: none;
|
||||
word-wrap: break-word;
|
||||
cursor: default;
|
||||
width: 100%;
|
||||
padding-top: 1px;
|
||||
padding-bottom: 1px; }
|
||||
|
||||
/*Turned off dotted line*/
|
||||
span.vertLine1 { height: 100%;
|
||||
width: 1px;
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
left: -1px;
|
||||
bottom: 0px;
|
||||
z-index: 2; }
|
||||
|
||||
/*Style for width-control of the left-side links bar */
|
||||
.LinkPane { width: 1.9in; }
|
||||
|
||||
/*Removed bolding of text*/
|
||||
table.linkTextSelected { line-height: 95%;
|
||||
width: 1.7in;
|
||||
height: 2.6em;
|
||||
position: relative;
|
||||
left: 0.1in;
|
||||
z-index: 2; }
|
||||
|
||||
/*Removed bolding of text and made width bigger*/
|
||||
table.linkTextSelectedIndent { line-height: 95%;
|
||||
width: 1.7in;
|
||||
height: 2.6em;
|
||||
position: relative;
|
||||
top: -2px;
|
||||
left: 0.2in;
|
||||
z-index: 2; }
|
||||
|
||||
/*Changed left margin and position of top of element and made width bigger*/
|
||||
table.linkTextIndent { line-height: 95%;
|
||||
width: 1.6in;
|
||||
height: 2.6em;
|
||||
position: relative;
|
||||
top: -2px;
|
||||
left: 0.2in;
|
||||
z-index: 2; }
|
||||
|
||||
/*Removed background color, changed top, and bottom margins*/
|
||||
div.linkSelected { height: 2.6em;
|
||||
position: relative;
|
||||
top: -6px;
|
||||
left: 0px;
|
||||
right: 0px;
|
||||
z-index: 1;
|
||||
margin-bottom: -.7em; }
|
||||
|
||||
/*Changed top and bottom margins*/
|
||||
div.link { height: 2em;
|
||||
position: relative;
|
||||
top: -6px;
|
||||
left: 0px;
|
||||
right: 0px;
|
||||
z-index: 1;
|
||||
margin-bottom: -.7em; }
|
||||
|
||||
/*Comment out
|
||||
div.vertLine { background: url(Images/DottedVert.gif) repeat;
|
||||
height: 125%;
|
||||
width: 1px;
|
||||
position: relative;
|
||||
top: -12px;
|
||||
left: -1px; }*/
|
||||
|
||||
/*Deleted dotted line*/
|
||||
span.vertLine1 { height: 100%;
|
||||
width: 1px;
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
left: -1px;
|
||||
bottom: 0px;
|
||||
z-index: 2; }
|
||||
|
||||
/*Changed background color and add alpha*/
|
||||
td.three { background-color: Window;
|
||||
filter: Alpha(Opacity = 25); }
|
||||
|
||||
/*Removed all background image modification elements and set image to 0 opacity*/
|
||||
td.threeCustom { filter: Alpha(Opacity = 0); }
|
||||
|
||||
|
||||
/*Comment out
|
||||
td.dottedline { background: url(Images/DottedHori.gif) repeat; }*/
|
||||
|
||||
/*Removed border color*/
|
||||
div.inlineA { position: relative;
|
||||
top: 4px;
|
||||
width: 100%;
|
||||
height: 1px; }
|
||||
|
||||
/*Changed border color*/
|
||||
div.inlineB { position: relative;
|
||||
top: -9px;
|
||||
margin-bottom: -20px;
|
||||
width: 100%;
|
||||
height: 1px;
|
||||
border-top: solid ThreeDShadow 1px; }
|
||||
|
||||
/*Changed position of element*/
|
||||
h4.head { font-weight: bold;
|
||||
font-size: 10pt;
|
||||
color: windowtext;
|
||||
position: absolute;
|
||||
top: 16px;
|
||||
left: 120px;
|
||||
height: 58px; }
|
||||
|
||||
/*Hide element*/
|
||||
p.subhead { display: none;
|
||||
color: windowtext;
|
||||
position: relative;
|
||||
top: -1.5em;
|
||||
left: 1em; }
|
||||
|
||||
/*Changed alignment to right*/
|
||||
td.image { text-align: left; }
|
||||
|
||||
/*Added item to control positioning of element*/
|
||||
div.smallA { position: absolute;
|
||||
top: 0px;
|
||||
left: 12px;
|
||||
height: 78px;
|
||||
width: 110px;
|
||||
vertical-align: bottom; }
|
||||
|
||||
/*Added item to control positioning of element - 1 misspelling in html so dup of above*/
|
||||
div.smalA { position: absolute;
|
||||
top: 0px;
|
||||
left: 12px;
|
||||
height: 78px;
|
||||
width: 110px;
|
||||
vertical-align: bottom; }
|
||||
|
||||
/*Added item to control positioning of element*/
|
||||
div.small { position: absolute;
|
||||
top: 0px;
|
||||
left: 12px;
|
||||
height: 78px;
|
||||
width: 110px;
|
||||
vertical-align: bottom; }
|
||||
|
||||
/*Added all positioning informaiton*/
|
||||
img.smallest { background-color: activecaption;
|
||||
position: relative;
|
||||
bottom: 1px; }
|
||||
|
||||
/*Added item to control positioning of element*/
|
||||
img.small { position: relative;
|
||||
bottom: 1px; }
|
||||
|
||||
/*Add height specification*/
|
||||
td.rule { background-color: window;
|
||||
height: 1px; }
|
||||
|
||||
/*Info for new button*/
|
||||
#PreviousBtn { position: relative;
|
||||
right: -79px; }
|
||||
/*Info for new button*/
|
||||
#NextBtn { position: relative;
|
||||
right: -79px; }
|
||||
|
||||
/*Reposition button*/
|
||||
#FinishBtn { position: relative;
|
||||
right: -79px; }
|
||||
|
||||
/*Reposition button*/
|
||||
#CancelBtn { position: relative;
|
||||
right: -79px; }
|
||||
|
||||
/*Hide button*/
|
||||
#HelpBtn { display: none; }
|
||||
|
||||
|
||||
/**************************************************************************/
|
After Width: | Height: | Size: 1.1 KiB |
|
@ -0,0 +1,188 @@
|
|||
<?xml version="1.0" encoding="gb2312"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="9.00"
|
||||
Name="CCXAppWiz"
|
||||
ProjectGUID="{104F4414-0DA5-4982-A413-766DD1698469}"
|
||||
Keyword="CustomAppWizProj"
|
||||
TargetFrameworkVersion="196613"
|
||||
>
|
||||
<Platforms>
|
||||
<Platform
|
||||
Name="Win32"
|
||||
/>
|
||||
</Platforms>
|
||||
<ToolFiles>
|
||||
</ToolFiles>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
|
||||
IntermediateDirectory="$(ConfigurationName)"
|
||||
ConfigurationType="10"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
ConfigurationType="10"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
<References>
|
||||
</References>
|
||||
<Files>
|
||||
<Filter
|
||||
Name="Template Files"
|
||||
Filter="txt"
|
||||
>
|
||||
<File
|
||||
RelativePath=".\Templates\1033\AppDelegate.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Templates\1033\AppDelegate.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Templates\1033\HelloWorldScene.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Templates\1033\HelloWorldScene.h"
|
||||
>
|
||||
</File>
|
||||
<Filter
|
||||
Name="win32"
|
||||
>
|
||||
<File
|
||||
RelativePath=".\Templates\1033\win32\main.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Templates\1033\win32\main.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Templates\1033\win32\resource.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Templates\1033\win32\root.rc"
|
||||
>
|
||||
</File>
|
||||
<Filter
|
||||
Name="res"
|
||||
>
|
||||
<File
|
||||
RelativePath=".\Templates\1033\win32\res\root.ico"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
</Filter>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="HTML Files"
|
||||
Filter="htm"
|
||||
>
|
||||
<File
|
||||
RelativePath=".\HTML\1033\default.htm"
|
||||
DeploymentContent="true"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\HTML\1033\features.htm"
|
||||
DeploymentContent="true"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Image Files"
|
||||
Filter="bmp"
|
||||
>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Script Files"
|
||||
Filter="js"
|
||||
>
|
||||
<File
|
||||
RelativePath=".\Scripts\1033\default.js"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Miscellaneous Files"
|
||||
Filter="vsz;vsdir;ico;vcproj;csproj;css;inf"
|
||||
>
|
||||
<File
|
||||
RelativePath=".\CCXAppWiz.ico"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\CCXAppWiz.vsdir"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\CCXAppWiz.vsz"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\default.vcproj"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\1033\NewStyles.css"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Templates\1033\Templates.inf"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<File
|
||||
RelativePath=".\Images\Background_Cocos2d-x.gif"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Images\Cocos2d-x.gif"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\1033\Images\DottedHori.gif"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\1033\Images\DottedVert.gif"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\1033\Images\spacer.gif"
|
||||
>
|
||||
</File>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
</VisualStudioProject>
|
|
@ -0,0 +1 @@
|
|||
CCXAppWiz.vsz| |Cocos2d-win32 Application |1|An application that uses Cocos2d-x library for win32 platform.| |6777| |<EnterName>
|
|
@ -0,0 +1,6 @@
|
|||
VSWIZARD 7.0
|
||||
Wizard=VsWizard.VsWizardEngine
|
||||
|
||||
Param="WIZARD_NAME = Cocos2d-win32"
|
||||
Param="ABSOLUTE_PATH = ."
|
||||
Param="FALLBACK_LCID = 1033"
|
|
@ -0,0 +1,380 @@
|
|||
<HTML DIR="ltr">
|
||||
<HEAD>
|
||||
<TITLE>'Cocos2d-win32 Application Wizard'</TITLE>
|
||||
<META NAME="vs_targetSchema" CONTENT="http://schemas.microsoft.com/intellisense/ie5">
|
||||
<META HTTP-EQUIV="MSThemeCompatible" CONTENT="Yes">
|
||||
<STYLE TYPE="text/css">@import url();
|
||||
</STYLE>
|
||||
<!-- This closing tag is here only to avoid security warning -->
|
||||
</OBJECT>
|
||||
<SCRIPT>
|
||||
var strURL = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
|
||||
strURL += "VCWizards/";
|
||||
strURL += window.external.GetHostLocale();
|
||||
strURL += "/NewStyles.css";
|
||||
document.styleSheets(0).imports(0).href = strURL;
|
||||
</SCRIPT>
|
||||
<!-- -->
|
||||
<!-- The SYMBOL tag is used to set the default values for the user-defined symbols.-->
|
||||
<!-- -->
|
||||
<SYMBOL NAME='WIZARD_DIALOG_TITLE' TYPE="text" VALUE="Cocos2d-win32 Application Wizard"></SYMBOL>
|
||||
|
||||
<SYMBOL NAME='SOURCE_FILTER' TYPE="text" VALUE="cpp;c;cxx;def;odl;idl;hpj;bat;asm"></SYMBOL>
|
||||
<SYMBOL NAME="INCLUDE_FILTER" TYPE="text" VALUE="h;hpp;hxx;hm;inl;inc"></SYMBOL>
|
||||
<SYMBOL NAME="RESOURCE_FILTER" TYPE="text" VALUE="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;jpg;jpeg;jpe;png;manifest"></SYMBOL>
|
||||
|
||||
<SYMBOL NAME="CCX_CURRENT_YEAR" TYPE="text" VALUE="2003"></SYMBOL>
|
||||
|
||||
<!-- Page 2 Controls -->
|
||||
<SYMBOL NAME='CCX_USE_BOX2D' TYPE="checkbox" VALUE="true"></SYMBOL>
|
||||
<SYMBOL NAME='CCX_USE_COCOS_DENSHION_SIMPLE_AUDIO_ENGINE' TYPE="checkbox" VALUE="true"></SYMBOL>
|
||||
<SYMBOL NAME='CCX_HAS_MAIN_FORM' TYPE="checkbox" VALUE="true"></SYMBOL>
|
||||
|
||||
<!-- Page 3 Controls -->
|
||||
<SYMBOL NAME='WTL_COMBO_VIEW_TYPE' TYPE="select-one" VALUE='WTL_VIEWTYPE_GENERIC'></SYMBOL>
|
||||
|
||||
</HEAD>
|
||||
<BODY BGCOLOR="buttonface" TOPMARGIN="0" LEFTMARGIN="0" RIGHTMARGIN="0" BOTTOMMARGIN="0" ONLOAD="InitDocument(document);" ONKEYDOWN="OnKey();" ONKEYPRESS="OnPress();">
|
||||
<TABLE CLASS="ONE" HEIGHT="100%" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0">
|
||||
<COLGROUP>
|
||||
<COL WIDTH="178">
|
||||
<COL>
|
||||
<!--OPEN OF INTRODUCTORY INFORMATION TABLE//-->
|
||||
<TR VALIGN="top">
|
||||
<TD HEIGHT="79" WIDTH="100%" COLSPAN="2">
|
||||
<TABLE CLASS="TWO" BORDER="0" CELLPADDING="0" CELLSPACING="0">
|
||||
<COLGROUP>
|
||||
<COL WIDTH="12">
|
||||
<COL>
|
||||
<COL WIDTH="12">
|
||||
<TR>
|
||||
<TD VALIGN="top" HEIGHT="12" WIDTH="12">
|
||||
|
||||
</TD>
|
||||
<TD VALIGN="top" HEIGHT="12">
|
||||
|
||||
</TD>
|
||||
<TD VALIGN="top" HEIGHT="12" WIDTH="12">
|
||||
|
||||
</TD>
|
||||
<TD CLASS="IMAGE" VALIGN="bottom" WIDTH="110" ROWSPAN="2">
|
||||
<DIV CLASS="SMALLA" ID="Layer0">
|
||||
<IMG CLASS="SMALLEST" SRC="../../Images/Cocos2d-x.gif" WIDTH="63" HEIGHT="63" ALT="" BORDER="0">
|
||||
</DIV>
|
||||
</TD>
|
||||
<TD VALIGN="top" HEIGHT="12" WIDTH="6" ROWSPAN="2">
|
||||
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD VALIGN="top" HEIGHT="65" WIDTH="12">
|
||||
|
||||
</TD>
|
||||
<TD VALIGN="top" HEIGHT="65">
|
||||
<H4 CLASS="HEAD" ID="HEAD">Welcome to the Cocos2d-win32 Application Wizard</H4>
|
||||
<P CLASS="SUBHEAD" ID="SUBHEAD">This wizard generates a cocos2d-win32 application project
|
||||
with the properties you specify.</P>
|
||||
</TD>
|
||||
<TD VALIGN="top" HEIGHT="65" WIDTH="12">
|
||||
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD VALIGN="top" CLASS="RULE" COLSPAN="5" HEIGHT="2">
|
||||
<TABLE BORDER="0" WIDTH="100%" HEIGHT="1" CELLPADDING="0" CELLSPACING="0">
|
||||
<TR VALIGN="top">
|
||||
<TD HEIGHT="1" WIDTH="100%" BGCOLOR="buttonshadow"><IMG SRC="../../Images/spacer.gif" HEIGHT="1" WIDTH="1" ALT=""></TD>
|
||||
<TD HEIGHT="1" WIDTH="1" BGCOLOR="window"><IMG SRC="../../Images/spacer.gif" HEIGHT="1" WIDTH="1" ALT=""></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
</TR>
|
||||
<!--CLOSE OF INTRODUCTORY INFORMATION TABLE//-->
|
||||
<!--OPEN OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
|
||||
<TR VALIGN="top">
|
||||
<TD CLASS="THREE" VALIGN="top" HEIGHT="100%" WIDTH="178" STYLE="BACKGROUND-IMAGE: url(../../Images/Background_Cocos2d-x.gif)">
|
||||
<!--OPEN OF NAVIGATION TABLE//-->
|
||||
<TABLE CLASS="THREE" BORDER="0" CELLPADDING="0" CELLSPACING="0">
|
||||
<COLGROUP>
|
||||
<COL WIDTH="12">
|
||||
<COL WIDTH="166">
|
||||
<COL WIDTH="1">
|
||||
<TR>
|
||||
<TD VALIGN="top" COLSPAN="3" HEIGHT="12">
|
||||
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD VALIGN="top" HEIGHT="100%" WIDTH="12">
|
||||
|
||||
</TD>
|
||||
<TD VALIGN="top" HEIGHT="100%" WIDTH="165">
|
||||
<!--OPEN OF NAVIGATIONAL LINKS//-->
|
||||
<DIV CLASS="LINKSELECTED">
|
||||
<SPAN CLASS="VERTLINE1"><IMG SRC="../../Images/spacer.gif" WIDTH="1" HEIGHT="1" ALT="" BORDER="0">
|
||||
</SPAN><SPAN CLASS="HORILINE1">
|
||||
<TABLE WIDTH="167" HEIGHT="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0">
|
||||
<TR VALIGN="top">
|
||||
<TD CLASS="DOTTEDLINE" HEIGHT="1">
|
||||
</TD>
|
||||
</TR>
|
||||
<TR VALIGN="top">
|
||||
<TD HEIGHT="100%">
|
||||
<IMG SRC="../../Images/spacer.gif" WIDTH="1" HEIGHT="28" ALT="" BORDER="0">
|
||||
</TD>
|
||||
</TR>
|
||||
<TR VALIGN="top">
|
||||
<TD CLASS="DOTTEDLINE" HEIGHT="1">
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</SPAN>
|
||||
<TABLE WIDTH="160" HEIGHT="28" BORDER="0" CELLPADDING="0" CELLSPACING="0" CLASS="LINKTEXTSELECTED">
|
||||
<TR VALIGN="center">
|
||||
<TD WIDTH="156">
|
||||
<SPAN ID="Default" TITLE="Examine an overview of selections" onClick="Next(document, 'default.htm');" TABINDEX="1"> Overview</SPAN>
|
||||
</TD>
|
||||
<TD WIDTH="4">
|
||||
<IMG SRC="../../Images/spacer.gif" HEIGHT="1" WIDTH="4">
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</DIV>
|
||||
<DIV CLASS="LINK">
|
||||
<TABLE WIDTH="166" HEIGHT="28" BORDER="0" CELLPADDING="0" CELLSPACING="0" CLASS="LINKTEXT">
|
||||
<TR VALIGN="center">
|
||||
<TD WIDTH="162">
|
||||
<SPAN CLASS="ACTIVELINK" ID="Features" TITLE="Specify features for the cocos2d-x application." onClick="Next(document, 'features.htm');" TABINDEX="1">
|
||||
Features</SPAN>
|
||||
</TD>
|
||||
<TD WIDTH="4">
|
||||
<IMG SRC="../../Images/spacer.gif" HEIGHT="1" WIDTH="4">
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</DIV>
|
||||
<!--CLOSE OF NAVIGATIONAL LINKS//-->
|
||||
</TD>
|
||||
<TD WIDTH="1">
|
||||
<DIV CLASS="VERTLINE">
|
||||
<IMG SRC="../../Images/spacer.gif" WIDTH="1" HEIGHT="1" ALT="" BORDER="0">
|
||||
</DIV>
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<!--CLOSE OF NAVIGATION TABLE//-->
|
||||
</TD>
|
||||
<TD VALIGN="top" HEIGHT="100%">
|
||||
<!--OPEN OF CONTENT AND BUTTON TABLE//-->
|
||||
<TABLE CLASS="ONE" BORDER="0" CELLPADDING="0" CELLSPACING="0">
|
||||
<COLGROUP>
|
||||
<COL WIDTH="100%">
|
||||
<TR VALIGN="top">
|
||||
<TD HEIGHT="100%">
|
||||
<!--OPEN OF CONTENT//-->
|
||||
|
||||
<TABLE CLASS="CONTENT" BORDER="0" CELLPADDING="0" CELLSPACING="0">
|
||||
<COL WIDTH="12"><COL WIDTH="398"><COL WIDTH="12">
|
||||
<TR>
|
||||
<TD VALIGN="TOP" HEIGHT="12" COLSPAN="3">
|
||||
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD VALIGN="TOP" WIDTH="12">
|
||||
|
||||
</TD>
|
||||
|
||||
<TD VALIGN="TOP">
|
||||
<SPAN CLASS="ItemTextTop" ID="PROJECT_SETTINGS">These are the current project settings:</SPAN>
|
||||
<UL>
|
||||
<LI CLASS="LIST">
|
||||
<SPAN CLASS="SideBtnHidden" ID="CCX_PHYSICAL_ENGINE_SUMMARY" TITLE="">
|
||||
<LABEL FOR="CCX_PHYSICAL_ENGINE_SUMMARY"></LABEL>
|
||||
</SPAN>
|
||||
</LI>
|
||||
|
||||
<LI CLASS="LIST">
|
||||
<SPAN CLASS="SideBtnHidden" ID="CCX_AUDIO_ENGINE_SUMMARY" TITLE="">
|
||||
<LABEL FOR="CCX_AUDIO_ENGINE_SUMMARY"></LABEL>
|
||||
</SPAN>
|
||||
</LI>
|
||||
|
||||
</UL>
|
||||
|
||||
<SPAN CLASS="ItemText" ID="FinishText">Click <B>Finish</B> from any window to accept the current settings.</SPAN>
|
||||
|
||||
<P CLASS="ElementSpacer2"> </P>
|
||||
|
||||
<!-- SPAN CLASS="ItemText" ID="README_REMINDER" TITLE="">After you create the project, see the project's readme.txt file for information about the project features and files that are generated.</SPAN -->
|
||||
<SPAN CLASS="ItemText" ID="README_REMINDER" TITLE="">After you create the project, examine the project's files for more information about the classes and resources that are generated.<br />
|
||||
<br />
|
||||
<B>Recommend</B> to save the new project to cocos2d-x source's root directory,
|
||||
otherwise, modify the include directory and library directory menually.</SPAN>
|
||||
</TD>
|
||||
|
||||
<TD VALIGN="TOP" WIDTH="12">
|
||||
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<!--CLOSE OF CONTENT//-->
|
||||
</TD>
|
||||
</TR>
|
||||
<TR VALIGN="bottom">
|
||||
<TD HEIGHT="48">
|
||||
<!--OPEN OF BUTTON HTML//-->
|
||||
<TABLE HEIGHT="48" BORDER="0" CELLPADDING="0" CELLSPACING="0">
|
||||
<COLGROUP>
|
||||
<COL WIDTH="12">
|
||||
<COL>
|
||||
<COL WIDTH="75">
|
||||
<COL WIDTH="4">
|
||||
<COL WIDTH="75">
|
||||
<COL WIDTH="4">
|
||||
<COL WIDTH="75">
|
||||
<COL WIDTH="12">
|
||||
<TR>
|
||||
<TD VALIGN="top" CLASS="RULE" COLSPAN="8" HEIGHT="2">
|
||||
<TABLE BORDER="0" WIDTH="100%" HEIGHT="1" CELLPADDING="0" CELLSPACING="0">
|
||||
<TR VALIGN="top">
|
||||
<TD HEIGHT="1" WIDTH="100%" BGCOLOR="buttonshadow"><IMG SRC="../../Images/spacer.gif" HEIGHT="1" WIDTH="1" ALT=""></TD>
|
||||
<TD HEIGHT="1" WIDTH="1" BGCOLOR="window"><IMG SRC="../../Images/spacer.gif" HEIGHT="1" WIDTH="1" ALT=""></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD VALIGN="top" HEIGHT="11" COLSPAN="8">
|
||||
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD VALIGN="center" HEIGHT="23" WIDTH="12">
|
||||
|
||||
</TD>
|
||||
<TD VALIGN="top" HEIGHT="23">
|
||||
|
||||
</TD>
|
||||
<TD VALIGN="center" HEIGHT="23" WIDTH="75">
|
||||
<BUTTON CLASS="BUTTONS" ID="FinishBtn" ACCESSKEY="F" onClick="OnFinish(document);" type="button">
|
||||
<U>F</U>inish</BUTTON>
|
||||
</TD>
|
||||
<TD VALIGN="center" HEIGHT="23" WIDTH="4">
|
||||
|
||||
</TD>
|
||||
<TD VALIGN="center" HEIGHT="23" WIDTH="75">
|
||||
<BUTTON CLASS="BUTTONS" ID="CancelBtn" ACCESSKEY="C" onClick="window.external.Finish(document, 'cancel');" type="button">
|
||||
<U>C</U>ancel</BUTTON>
|
||||
</TD>
|
||||
<TD VALIGN="center" HEIGHT="23" WIDTH="4">
|
||||
|
||||
</TD>
|
||||
<TD VALIGN="center" HEIGHT="23" WIDTH="75">
|
||||
<BUTTON CLASS="BUTTONS" ID="HelpBtn" ACCESSKEY="H" onClick="window.external.OnHelp('vc.appwiz.custom.overview');" type="button">
|
||||
<U>H</U>elp</BUTTON>
|
||||
</TD>
|
||||
<TD VALIGN="center" HEIGHT="23" WIDTH="12">
|
||||
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD VALIGN="top" HEIGHT="12" COLSPAN="8">
|
||||
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<!--CLOSE OF BUTTON HTML//-->
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<!--CLOSE OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<SCRIPT LANGUAGE="JSCRIPT">
|
||||
|
||||
var tab_array = new Array();
|
||||
tab_array[0] = Default;
|
||||
tab_array[1] = Features;
|
||||
|
||||
function InitDocument(document)
|
||||
{
|
||||
setDirection();
|
||||
|
||||
if (window.external.FindSymbol('DOCUMENT_FIRST_LOAD'))
|
||||
{
|
||||
// This function sets the default symbols based
|
||||
// on the values specified in the SYMBOL tags above
|
||||
window.external.SetDefaults(document);
|
||||
}
|
||||
|
||||
// Load the document and initialize the controls with the appropriate symbol values
|
||||
window.external.Load(document);
|
||||
|
||||
// Do additional initialization
|
||||
OnInit();
|
||||
}
|
||||
|
||||
function Next(document, linkto)
|
||||
{
|
||||
window.external.Next(document, linkto);
|
||||
}
|
||||
|
||||
function OnFinish(document)
|
||||
{
|
||||
OnWizFinish(document);
|
||||
}
|
||||
|
||||
function OnInit()
|
||||
{
|
||||
if (window.external.FindSymbol("CCX_USE_BOX2D") && window.external.FindSymbol("CCX_USE_CHIPMUNK"))
|
||||
{
|
||||
CCX_PHYSICAL_ENGINE_SUMMARY.innerText = "Use Physical Engine: Box2D and Chipmunk";
|
||||
}
|
||||
else if (window.external.FindSymbol("CCX_USE_BOX2D"))
|
||||
{
|
||||
CCX_PHYSICAL_ENGINE_SUMMARY.innerText = "Use Physical Engine: Box2D";
|
||||
}
|
||||
else if (window.external.FindSymbol("CCX_USE_CHIPMUNK"))
|
||||
{
|
||||
CCX_PHYSICAL_ENGINE_SUMMARY.innerText = "Use Physical Engine: Chipmunk";
|
||||
}
|
||||
else // none physical engine
|
||||
{
|
||||
CCX_PHYSICAL_ENGINE_SUMMARY.innerText = "None Physical Engine";
|
||||
}
|
||||
|
||||
if (window.external.FindSymbol("CCX_USE_COCOS_DENSHION_SIMPLE_AUDIO_ENGINE"))
|
||||
{
|
||||
CCX_AUDIO_ENGINE_SUMMARY.innerText = "Use Audio Engine: Simple Audio Engine in Cocos Denshion";
|
||||
}
|
||||
else
|
||||
{
|
||||
CCX_AUDIO_ENGINE_SUMMARY.innerText = "None Audio Engine";
|
||||
}
|
||||
}
|
||||
|
||||
</SCRIPT>
|
||||
<SCRIPT ID="INCLUDE_SCRIPT" LANGUAGE="JSCRIPT"></SCRIPT>
|
||||
<SCRIPT ID="INCLUDE_COMMON" LANGUAGE="JSCRIPT"></SCRIPT>
|
||||
<!--
|
||||
Common.js is a script file which contains the helper functions
|
||||
used by the wizards. Include this line if you want to
|
||||
call these functions from your html scripts.
|
||||
//-->
|
||||
<SCRIPT>
|
||||
var strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
|
||||
strPath += "VCWizards/";
|
||||
strPath += window.external.GetHostLocale();
|
||||
var strScriptPath = strPath + "/Script.js";
|
||||
var strCommonPath = strPath + "/Common.js";
|
||||
document.scripts("INCLUDE_SCRIPT").src = strScriptPath;
|
||||
document.scripts("INCLUDE_COMMON").src = strCommonPath;
|
||||
</SCRIPT>
|
||||
</BODY>
|
||||
</HTML>
|
|
@ -0,0 +1,415 @@
|
|||
<HTML DIR="ltr">
|
||||
<HEAD>
|
||||
<TITLE>'Cocos2d-win32 Application Wizard'</TITLE>
|
||||
<META NAME="vs_targetSchema" CONTENT="http://schemas.microsoft.com/intellisense/ie5">
|
||||
<META HTTP-EQUIV="MSThemeCompatible" CONTENT="Yes">
|
||||
<STYLE TYPE="text/css">@import url();
|
||||
.style1
|
||||
{
|
||||
width: 180px;
|
||||
}
|
||||
</STYLE>
|
||||
<SCRIPT>
|
||||
var strURL = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
|
||||
strURL += "VCWizards/";
|
||||
strURL += window.external.GetHostLocale();
|
||||
strURL += "/NewStyles.css";
|
||||
document.styleSheets(0).imports(0).href = strURL;
|
||||
</SCRIPT>
|
||||
</HEAD>
|
||||
<BODY BGCOLOR="buttonface" TOPMARGIN="0" LEFTMARGIN="0" RIGHTMARGIN="0" BOTTOMMARGIN="0" ONLOAD="InitDocument(document);" ONKEYDOWN="OnKey();" ONKEYPRESS="OnPress();">
|
||||
<TABLE CLASS="ONE" HEIGHT="100%" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0">
|
||||
<COLGROUP>
|
||||
<COL WIDTH="178">
|
||||
<COL>
|
||||
<!--OPEN OF INTRODUCTORY INFORMATION TABLE//-->
|
||||
<TR VALIGN="top">
|
||||
<TD HEIGHT="79" WIDTH="100%" COLSPAN="2">
|
||||
<TABLE CLASS="TWO" BORDER="0" CELLPADDING="0" CELLSPACING="0">
|
||||
<COLGROUP>
|
||||
<COL WIDTH="12">
|
||||
<COL>
|
||||
<COL WIDTH="12">
|
||||
<TR>
|
||||
<TD VALIGN="top" HEIGHT="12" WIDTH="12">
|
||||
|
||||
</TD>
|
||||
<TD VALIGN="top" HEIGHT="12">
|
||||
|
||||
</TD>
|
||||
<TD VALIGN="top" HEIGHT="12" WIDTH="12">
|
||||
|
||||
</TD>
|
||||
<TD CLASS="IMAGE" VALIGN="bottom" WIDTH="110" ROWSPAN="2">
|
||||
<DIV CLASS="SMALLA" ID="Layer0">
|
||||
<IMG CLASS="SMALLEST" SRC="..\..\Images\Cocos2d-x.gif" WIDTH="63" HEIGHT="63" ALT="" BORDER="0">
|
||||
</DIV>
|
||||
</TD>
|
||||
<TD VALIGN="top" HEIGHT="12" WIDTH="6" ROWSPAN="2">
|
||||
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD VALIGN="top" HEIGHT="65" WIDTH="12">
|
||||
|
||||
</TD>
|
||||
<TD VALIGN="top" HEIGHT="65">
|
||||
<H4 CLASS="HEAD" ID="HEAD">
|
||||
Features</H4>
|
||||
<P CLASS="SUBHEAD" ID="SUBHEAD">Specify features for the cocos2d-x application.</P>
|
||||
</TD>
|
||||
<TD VALIGN="top" HEIGHT="65" WIDTH="12">
|
||||
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD VALIGN="top" CLASS="RULE" COLSPAN="5" HEIGHT="2">
|
||||
<TABLE BORDER="0" WIDTH="100%" HEIGHT="1" CELLPADDING="0" CELLSPACING="0">
|
||||
<TR VALIGN="top">
|
||||
<TD HEIGHT="1" WIDTH="100%" BGCOLOR="buttonshadow"><IMG SRC="../../Images/spacer.gif" HEIGHT="1" WIDTH="1" ALT=""></TD>
|
||||
<TD HEIGHT="1" WIDTH="1" BGCOLOR="window"><IMG SRC="../../Images/spacer.gif" HEIGHT="1" WIDTH="1" ALT=""></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
</TR>
|
||||
<!--CLOSE OF INTRODUCTORY INFORMATION TABLE//-->
|
||||
<!--OPEN OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
|
||||
<TR VALIGN="top">
|
||||
<TD CLASS="style1" VALIGN="top" HEIGHT="100%"
|
||||
STYLE="BACKGROUND-IMAGE: url(../../Images/Background_Cocos2d-x.gif)">
|
||||
<!--OPEN OF NAVIGATION TABLE//-->
|
||||
<TABLE CLASS="THREE" BORDER="0" CELLPADDING="0" CELLSPACING="0">
|
||||
<COLGROUP>
|
||||
<COL WIDTH="12">
|
||||
<COL WIDTH="166">
|
||||
<COL WIDTH="1">
|
||||
<TR>
|
||||
<TD VALIGN="top" COLSPAN="3" HEIGHT="12">
|
||||
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD VALIGN="top" HEIGHT="100%" WIDTH="12">
|
||||
|
||||
</TD>
|
||||
<TD VALIGN="top" HEIGHT="100%" WIDTH="165">
|
||||
<!--OPEN OF NAVIGATIONAL LINKS//-->
|
||||
<DIV CLASS="LINK">
|
||||
<TABLE WIDTH="166" HEIGHT="28" BORDER="0" CELLPADDING="0" CELLSPACING="0" CLASS="LINKTEXT">
|
||||
<TR VALIGN="center">
|
||||
<TD WIDTH="162">
|
||||
<SPAN CLASS="ACTIVELINK" ID="Default" TITLE="Examine an overview of selections" onClick="Next(document, 'default.htm');" TABINDEX="1">
|
||||
Overview</SPAN>
|
||||
</TD>
|
||||
<TD WIDTH="4">
|
||||
<IMG SRC="../../Images/spacer.gif" HEIGHT="1" WIDTH="4">
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</DIV>
|
||||
<DIV CLASS="LINKSELECTED">
|
||||
<SPAN CLASS="VERTLINE1"><IMG SRC="../../Images/spacer.gif" WIDTH="1" HEIGHT="1" ALT="" BORDER="0">
|
||||
</SPAN><SPAN CLASS="HORILINE1">
|
||||
<TABLE WIDTH="167" HEIGHT="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0">
|
||||
<TR VALIGN="top">
|
||||
<TD CLASS="DOTTEDLINE" HEIGHT="1">
|
||||
</TD>
|
||||
</TR>
|
||||
<TR VALIGN="top">
|
||||
<TD HEIGHT="100%">
|
||||
<IMG SRC="../../Images/spacer.gif" WIDTH="1" HEIGHT="28" ALT="" BORDER="0">
|
||||
</TD>
|
||||
</TR>
|
||||
<TR VALIGN="top">
|
||||
<TD CLASS="DOTTEDLINE" HEIGHT="1">
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</SPAN>
|
||||
<TABLE WIDTH="160" HEIGHT="28" BORDER="0" CELLPADDING="0" CELLSPACING="0" CLASS="LINKTEXTSELECTED">
|
||||
<TR VALIGN="center">
|
||||
<TD WIDTH="162">
|
||||
<SPAN ID="Features" TITLE="Specify features for the selected application type." onClick="Next(document, 'features.htm');" TABINDEX="1">
|
||||
Features</SPAN>
|
||||
</TD>
|
||||
<TD WIDTH="4">
|
||||
<IMG SRC="../../Images/spacer.gif" HEIGHT="1" WIDTH="4">
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</DIV>
|
||||
<!--CLOSE OF NAVIGATIONAL LINKS//-->
|
||||
</TD>
|
||||
<TD WIDTH="1">
|
||||
<DIV CLASS="VERTLINE">
|
||||
<IMG SRC="../../Images/spacer.gif" WIDTH="1" HEIGHT="1" ALT="" BORDER="0">
|
||||
</DIV>
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<!--CLOSE OF NAVIGATION TABLE//-->
|
||||
</TD>
|
||||
<TD VALIGN="top" HEIGHT="100%">
|
||||
<!--OPEN OF CONTENT AND BUTTON TABLE//-->
|
||||
<TABLE CLASS="ONE" BORDER="0" CELLPADDING="0" CELLSPACING="0">
|
||||
<COLGROUP>
|
||||
<COL WIDTH="100%">
|
||||
<TR VALIGN="top">
|
||||
<TD HEIGHT="100%">
|
||||
<!--OPEN OF CONTENT//-->
|
||||
<TABLE CLASS="CONTENT" BORDER="0" CELLPADDING="0" CELLSPACING="0">
|
||||
<COLGROUP>
|
||||
<COL WIDTH="12">
|
||||
<COL WIDTH="193">
|
||||
<COL WIDTH="12">
|
||||
<COL WIDTH="193">
|
||||
<COL WIDTH="12">
|
||||
<COL WIDTH="193">
|
||||
<COL WIDTH="12">
|
||||
<TR>
|
||||
<TD VALIGN="top" HEIGHT="12" COLSPAN="5">
|
||||
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR VALIGN="top">
|
||||
<TD VALIGN="top" WIDTH="12">
|
||||
|
||||
</TD>
|
||||
<TD VALIGN="top" COLSPAN="3">
|
||||
|
||||
<SPAN CLASS="itemText">Select physical engine:
|
||||
<br />
|
||||
<br />
|
||||
<INPUT CLASS="CheckBoxA" TYPE="checkbox" ID="CCX_USE_BOX2D" ACCESSKEY="B" TITLE="Application uses box2D." value="ON" NAME="CCX_USE_BOX2D" onClick="OnUseBox2D();">
|
||||
<DIV CLASS="itemTextCheckboxB" ID="CCX_USE_BOX2D_DIV" TITLE="Application uses box2D.">
|
||||
<LABEL FOR="CCX_USE_BOX2D"
|
||||
TITLE="Application uses box2D. Include "Box2d.h" if needs."
|
||||
ID="CCX_USE_BOX2D_LABEL">
|
||||
<U>B</U>ox2D</LABEL>
|
||||
</DIV>
|
||||
<BR>
|
||||
<INPUT CLASS="CheckBoxA" TYPE="checkbox" ID="CCX_USE_CHIPMUNK" ACCESSKEY="C" TITLE="Application uses Chipmunk." value="ON" NAME="CCX_USE_CHIPMUNK" onClick="OnUseChipmunk();">
|
||||
<DIV CLASS="itemTextCheckboxB" ID="CCX_USE_CHIPMUNK_DIV" TITLE="Application uses Chipmunk.">
|
||||
<LABEL FOR="CCX_USE_CHIPMUNK"
|
||||
TITLE="Application uses Chipmunk. Include "chipmunk.h" if needs."
|
||||
ID="CCX_USE_CHIPMUNK_LABEL">
|
||||
<U>C</U>hipmunk</LABEL>
|
||||
</DIV>
|
||||
</SPAN>
|
||||
|
||||
<P CLASS="ElementSpacer"> </P>
|
||||
|
||||
</TD>
|
||||
<TD VALIGN="top" COLSPAN="3">
|
||||
|
||||
|
||||
</TD> </TR>
|
||||
<TR>
|
||||
<TD VALIGN="top" WIDTH="12">
|
||||
|
||||
</TD>
|
||||
<TD VALIGN="top" HEIGHT="100%" COLSPAN="7">
|
||||
<SPAN CLASS="itemText">Select audio engine:
|
||||
<br />
|
||||
<br />
|
||||
<INPUT CLASS="CheckBoxA" TYPE="checkbox" ID="CCX_USE_COCOS_DENSHION_SIMPLE_AUDIO_ENGINE" ACCESSKEY="S" TITLE="Application uses CocosDenshion's SimpleAudioEngine." value="ON" NAME="CCX_USE_COCOS_DENSHION_SIMPLE_AUDIO_ENGINE onClick="OnUseCocosDenshionSimpleAudioEngine();">
|
||||
<DIV CLASS="itemTextCheckboxB" ID="CCX_USE_COCOS_DENSHION_SIMPLE_AUDIO_ENGINE_DIV" TITLE="Application uses CocosDenshion:SimpleAudioEngine.">
|
||||
<LABEL FOR="CCX_USE_COCOS_DENSHION_SIMPLE_AUDIO_ENGINE"
|
||||
TITLE="Application uses CocosDenshion:SimpleAudioEngine. Include "SimpleAudioEngine.h" if needs."
|
||||
ID="CCX_USE_COCOS_DENSHION_SIMPLE_AUDIO_ENGINE_LABEL">
|
||||
<U>S</U>imple Audio Engine in Cocos Denshion</LABEL>
|
||||
</DIV>
|
||||
</SPAN>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
</TABLE>
|
||||
<!--CLOSE OF CONTENT//-->
|
||||
</TD>
|
||||
</TR>
|
||||
<TR VALIGN="bottom">
|
||||
<TD HEIGHT="48">
|
||||
<!--OPEN OF BUTTON HTML//-->
|
||||
<TABLE HEIGHT="48" BORDER="0" CELLPADDING="0" CELLSPACING="0">
|
||||
<COLGROUP>
|
||||
<COL WIDTH="12">
|
||||
<COL>
|
||||
<COL WIDTH="75">
|
||||
<COL WIDTH="4">
|
||||
<COL WIDTH="75">
|
||||
<COL WIDTH="4">
|
||||
<COL WIDTH="75">
|
||||
<COL WIDTH="12">
|
||||
<TR>
|
||||
<TD VALIGN="top" CLASS="RULE" COLSPAN="8" HEIGHT="2">
|
||||
<TABLE BORDER="0" WIDTH="100%" HEIGHT="1" CELLPADDING="0" CELLSPACING="0">
|
||||
<TR VALIGN="top">
|
||||
<TD HEIGHT="1" WIDTH="100%" BGCOLOR="buttonshadow"><IMG SRC="../../Images/spacer.gif" HEIGHT="1" WIDTH="1" ALT=""></TD>
|
||||
<TD HEIGHT="1" WIDTH="1" BGCOLOR="window"><IMG SRC="../../Images/spacer.gif" HEIGHT="1" WIDTH="1" ALT=""></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD VALIGN="top" HEIGHT="11" COLSPAN="8">
|
||||
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD VALIGN="center" HEIGHT="23" WIDTH="12">
|
||||
|
||||
</TD>
|
||||
<TD VALIGN="top" HEIGHT="23">
|
||||
|
||||
</TD>
|
||||
<TD VALIGN="center" HEIGHT="23" WIDTH="75">
|
||||
<BUTTON CLASS="BUTTONS" ID="FinishBtn" ACCESSKEY="F" onClick="OnFinish(document);" type="button">
|
||||
<U>F</U>inish</BUTTON>
|
||||
</TD>
|
||||
<TD VALIGN="center" HEIGHT="23" WIDTH="4">
|
||||
|
||||
</TD>
|
||||
<TD VALIGN="center" HEIGHT="23" WIDTH="75">
|
||||
<BUTTON CLASS="BUTTONS" ID="CancelBtn" ACCESSKEY="C" onClick="window.external.Finish(document, 'cancel');" type="button">
|
||||
<U>C</U>ancel</BUTTON>
|
||||
</TD>
|
||||
<TD VALIGN="center" HEIGHT="23" WIDTH="4">
|
||||
|
||||
</TD>
|
||||
<TD VALIGN="center" HEIGHT="23" WIDTH="75">
|
||||
<BUTTON CLASS="BUTTONS" ID="HelpBtn" ACCESSKEY="H" onClick="window.external.OnHelp('vc.appwiz.custom.overview');" type="button">
|
||||
<U>H</U>elp</BUTTON>
|
||||
</TD>
|
||||
<TD VALIGN="center" HEIGHT="23" WIDTH="12">
|
||||
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD VALIGN="top" HEIGHT="12" COLSPAN="8">
|
||||
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<!--CLOSE OF BUTTON HTML//-->
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<!--CLOSE OF NAVIGATION, CONTENT, AND BUTTON TABLES//-->
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<SCRIPT LANGUAGE="JSCRIPT">
|
||||
|
||||
var tab_array = new Array();
|
||||
tab_array[0] = Default;
|
||||
tab_array[1] = Features;
|
||||
|
||||
function InitDocument(document)
|
||||
{
|
||||
setDirection();
|
||||
|
||||
if (window.external.FindSymbol('DOCUMENT_FIRST_LOAD'))
|
||||
{
|
||||
// This function sets the default symbols based
|
||||
// on the values specified in the SYMBOL tags above
|
||||
window.external.SetDefaults(document);
|
||||
}
|
||||
|
||||
// Load the document and initialize the controls with the appropriate symbol values
|
||||
window.external.Load(document);
|
||||
|
||||
// Do additional initialization
|
||||
OnInit();
|
||||
}
|
||||
|
||||
function Next(document, linkto)
|
||||
{
|
||||
window.external.Next(document, linkto);
|
||||
}
|
||||
|
||||
function OnFinish(document)
|
||||
{
|
||||
OnWizFinish(document);
|
||||
}
|
||||
|
||||
function OnInit()
|
||||
{
|
||||
CCX_USE_BOX2D.disabled = false;
|
||||
CCX_USE_CHIPMUNK.disabled = false;
|
||||
CCX_USE_COCOS_DENSHION_SIMPLE_AUDIO_ENGINE.disabled = false;
|
||||
|
||||
if (window.external.FindSymbol("CCX_USE_BOX2D"))
|
||||
{
|
||||
CCX_USE_BOX2D.checked = true;
|
||||
}
|
||||
|
||||
if (window.external.FindSymbol("CCX_USE_CHIPMUNK"))
|
||||
{
|
||||
CCX_USE_CHIPMUNK.checked = true;
|
||||
}
|
||||
|
||||
if (window.external.FindSymbol("CCX_USE_COCOS_DENSHION_SIMPLE_AUDIO_ENGINE"))
|
||||
{
|
||||
CCX_USE_COCOS_DENSHION_SIMPLE_AUDIO_ENGINE.checked = true;
|
||||
}
|
||||
}
|
||||
|
||||
function OnUseBox2D()
|
||||
{
|
||||
if(CCX_USE_BOX2D.checked)
|
||||
{
|
||||
window.external.AddSymbol("CCX_USE_BOX2D", true);
|
||||
}
|
||||
else
|
||||
{
|
||||
window.external.AddSymbol("CCX_USE_BOX2D", false);
|
||||
}
|
||||
}
|
||||
|
||||
function OnUseChipmunk()
|
||||
{
|
||||
if (CCX_USE_CHIPMUNK.checked)
|
||||
{
|
||||
window.external.AddSymbol("CCX_USE_CHIPMUNK", true);
|
||||
}
|
||||
else
|
||||
{
|
||||
window.external.AddSymbol("CCX_USE_CHIPMUNK", false);
|
||||
}
|
||||
}
|
||||
|
||||
function OnUseCocosDenshionSimpleAudioEngine()
|
||||
{
|
||||
if (CCX_USE_COCOS_DENSHION_SIMPLE_AUDIO_ENGINE.checked)
|
||||
{
|
||||
window.external.AddSymbol("CCX_USE_COCOS_DENSHION_SIMPLE_AUDIO_ENGINE", true);
|
||||
}
|
||||
else
|
||||
{
|
||||
window.external.AddSymbol("CCX_USE_COCOS_DENSHION_SIMPLE_AUDIO_ENGINE", false);
|
||||
}
|
||||
}
|
||||
|
||||
</SCRIPT>
|
||||
<SCRIPT ID="INCLUDE_SCRIPT" LANGUAGE="JSCRIPT"></SCRIPT>
|
||||
<SCRIPT ID="INCLUDE_COMMON" LANGUAGE="JSCRIPT"></SCRIPT>
|
||||
<!--
|
||||
Common.js is a script file which contains the helper functions
|
||||
used by the wizards. Include this line if you want to
|
||||
call these functions from your html scripts.
|
||||
//-->
|
||||
<SCRIPT>
|
||||
var strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
|
||||
strPath += "VCWizards/";
|
||||
strPath += window.external.GetHostLocale();
|
||||
var strScriptPath = strPath + "/Script.js";
|
||||
var strCommonPath = strPath + "/Common.js";
|
||||
document.scripts("INCLUDE_SCRIPT").src = strScriptPath;
|
||||
document.scripts("INCLUDE_COMMON").src = strCommonPath;
|
||||
</SCRIPT>
|
||||
</BODY>
|
||||
</HTML>
|
After Width: | Height: | Size: 811 B |
After Width: | Height: | Size: 2.6 KiB |
|
@ -0,0 +1,400 @@
|
|||
function OnFinish(selProj, selObj)
|
||||
{
|
||||
try
|
||||
{
|
||||
var strProjectPath = wizard.FindSymbol('PROJECT_PATH');
|
||||
var strProjectName = wizard.FindSymbol('PROJECT_NAME');
|
||||
|
||||
// var WizardVersion = wizard.FindSymbol('WIZARD_VERSION');
|
||||
// if(WizardVersion >= 8.0)
|
||||
// {
|
||||
// }
|
||||
|
||||
// Create symbols based on the project name
|
||||
var strSafeProjectName = CreateSafeName(strProjectName);
|
||||
wizard.AddSymbol("SAFE_PROJECT_NAME", strSafeProjectName);
|
||||
wizard.AddSymbol("NICE_SAFE_PROJECT_NAME", strSafeProjectName.substr(0, 1).toUpperCase() + strSafeProjectName.substr(1))
|
||||
wizard.AddSymbol("UPPERCASE_SAFE_PROJECT_NAME", strSafeProjectName.toUpperCase());
|
||||
|
||||
// Set current year symbol
|
||||
var d = new Date();
|
||||
var nYear = 0;
|
||||
nYear = d.getFullYear();
|
||||
if(nYear >= 2003)
|
||||
wizard.AddSymbol("CCX_CURRENT_YEAR", nYear);
|
||||
var FileSys = new ActiveXObject("Scripting.FileSystemObject");
|
||||
var strUserTarget = strProjectName + ".win32.vcproj.user";
|
||||
var strUserPath = FileSys.BuildPath(strProjectPath, strUserTarget);
|
||||
|
||||
if (!FileSys.FolderExists(strProjectPath))
|
||||
FileSys.CreateFolder(strProjectPath);
|
||||
|
||||
var file = FileSys.OpenTextFile(strUserPath, 2, true);
|
||||
if (file == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
var strUserValue = "<?xml version=\"1.0\" encoding=\"utf-8\"?><VisualStudioUserFile ProjectType=\"Visual C++\" Version=\"9.00\" ShowAllFiles=\"true\"></VisualStudioUserFile>";
|
||||
file.WriteLine(strUserValue);
|
||||
file.Close();
|
||||
|
||||
// Create project and configurations
|
||||
selProj = CreateCustomProject(strProjectName, strProjectPath);
|
||||
AddConfigurations(selProj, strProjectName);
|
||||
AddFilters(selProj);
|
||||
|
||||
var InfFile = CreateCustomInfFile();
|
||||
AddFilesToCustomProj(selProj, strProjectName, strProjectPath, InfFile);
|
||||
AddPchSettings(selProj);
|
||||
InfFile.Delete();
|
||||
|
||||
selProj.Object.Save();
|
||||
|
||||
}
|
||||
catch(e)
|
||||
{
|
||||
if (e.description.length != 0)
|
||||
SetErrorInfo(e);
|
||||
return e.number
|
||||
}
|
||||
}
|
||||
|
||||
function CreateCustomProject(strProjectName, strProjectPath)
|
||||
{
|
||||
try
|
||||
{
|
||||
var strProjTemplatePath = wizard.FindSymbol('PROJECT_TEMPLATE_PATH');
|
||||
var strProjTemplate = '';
|
||||
strProjTemplate = strProjTemplatePath + '\\default.vcproj';
|
||||
|
||||
var Solution = dte.Solution;
|
||||
var strSolutionName = "";
|
||||
if (wizard.FindSymbol("CLOSE_SOLUTION"))
|
||||
{
|
||||
Solution.Close();
|
||||
strSolutionName = wizard.FindSymbol("VS_SOLUTION_NAME");
|
||||
if (strSolutionName.length)
|
||||
{
|
||||
var strSolutionPath = strProjectPath.substr(0, strProjectPath.length - strProjectName.length);
|
||||
Solution.Create(strSolutionPath, strSolutionName);
|
||||
}
|
||||
}
|
||||
|
||||
var strProjectNameWithExt = '';
|
||||
strProjectNameWithExt = strProjectName + '.win32.vcproj';
|
||||
|
||||
var oTarget = wizard.FindSymbol("TARGET");
|
||||
var prj;
|
||||
if (wizard.FindSymbol("WIZARD_TYPE") == vsWizardAddSubProject) // vsWizardAddSubProject
|
||||
{
|
||||
var prjItem = oTarget.AddFromTemplate(strProjTemplate, strProjectNameWithExt);
|
||||
prj = prjItem.SubProject;
|
||||
}
|
||||
else
|
||||
{
|
||||
prj = oTarget.AddFromTemplate(strProjTemplate, strProjectPath, strProjectNameWithExt);
|
||||
}
|
||||
return prj;
|
||||
}
|
||||
catch(e)
|
||||
{
|
||||
throw e;
|
||||
}
|
||||
}
|
||||
|
||||
function AddFilters(proj)
|
||||
{
|
||||
try
|
||||
{
|
||||
// Add the folders to your project
|
||||
var strSrcFilter = wizard.FindSymbol('SOURCE_FILTER');
|
||||
var group = proj.Object.AddFilter('source');
|
||||
group.Filter = strSrcFilter;
|
||||
|
||||
strSrcFilter = wizard.FindSymbol('INCLUDE_FILTER');
|
||||
group = proj.Object.AddFilter('include');
|
||||
group.Filter = strSrcFilter;
|
||||
|
||||
strSrcFilter = wizard.FindSymbol('RESOURCE_FILTER');
|
||||
group = proj.Object.AddFilter('resource');
|
||||
group.Filter = strSrcFilter;
|
||||
}
|
||||
catch(e)
|
||||
{
|
||||
throw e;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Configurations data
|
||||
var nNumConfigs = 2;
|
||||
|
||||
var astrConfigName = new Array();
|
||||
astrConfigName[0] = "Debug";
|
||||
astrConfigName[1] = "Release";
|
||||
|
||||
function AddConfigurations(proj, strProjectName)
|
||||
{
|
||||
try
|
||||
{
|
||||
var nCntr;
|
||||
for(nCntr = 0; nCntr < nNumConfigs; nCntr++)
|
||||
{
|
||||
// Check if it's Debug configuration
|
||||
var bDebug = false;
|
||||
if(astrConfigName[nCntr].search("Debug") != -1)
|
||||
bDebug = true;
|
||||
|
||||
// General settings
|
||||
var config = proj.Object.Configurations(astrConfigName[nCntr]);
|
||||
|
||||
// if(wizard.FindSymbol("CCX_USE_UNICODE"))
|
||||
config.CharacterSet = charSetUnicode;
|
||||
// else
|
||||
// config.CharacterSet = charSetMBCS;
|
||||
|
||||
config.OutputDirectory = '$(SolutionDir)$(ConfigurationName)'
|
||||
config.IntermediateDirectory = '$(ConfigurationName).win32';
|
||||
|
||||
// Compiler settings
|
||||
var CLTool = config.Tools('VCCLCompilerTool');
|
||||
|
||||
// Additional Inlcude Directories
|
||||
var strAddIncludeDir = '.;.\\win32;..\\cocos2dx;..\\cocos2dx\\include;..\\cocos2dx\\platform\\win32\\third_party\\OGLES';
|
||||
if (wizard.FindSymbol('CCX_USE_BOX2D'))
|
||||
{
|
||||
strAddIncludeDir += ';..\\;..\\Box2D';
|
||||
}
|
||||
if (wizard.FindSymbol('CCX_USE_CHIPMUNK'))
|
||||
{
|
||||
strAddIncludeDir += ';..\\chipmunk\\include\\chipmunk';
|
||||
}
|
||||
if (wizard.FindSymbol('CCX_USE_COCOS_DENSHION_SIMPLE_AUDIO_ENGINE'))
|
||||
{
|
||||
strAddIncludeDir += ';..\\CocosDenshion\\Include';
|
||||
}
|
||||
CLTool.AdditionalIncludeDirectories = strAddIncludeDir;
|
||||
|
||||
CLTool.UsePrecompiledHeader = pchNone; // pchUseUsingSpecific;
|
||||
CLTool.WarningLevel = warningLevel_3;
|
||||
if(bDebug)
|
||||
{
|
||||
CLTool.RuntimeLibrary = rtMultiThreadedDebug;
|
||||
CLTool.MinimalRebuild = true;
|
||||
CLTool.DebugInformationFormat = debugEditAndContinue;
|
||||
CLTool.BasicRuntimeChecks = runtimeBasicCheckAll;
|
||||
CLTool.Optimization = optimizeDisabled;
|
||||
}
|
||||
else
|
||||
{
|
||||
CLTool.RuntimeLibrary = rtMultiThreaded;
|
||||
CLTool.ExceptionHandling = false;
|
||||
CLTool.DebugInformationFormat = debugDisabled;
|
||||
}
|
||||
|
||||
var strDefines = GetPlatformDefine(config);
|
||||
strDefines += "_WINDOWS;STRICT;";
|
||||
if(bDebug)
|
||||
strDefines += "_DEBUG";
|
||||
else
|
||||
strDefines += "NDEBUG";
|
||||
CLTool.PreprocessorDefinitions = strDefines;
|
||||
|
||||
// Disable special warning
|
||||
CLTool.DisableSpecificWarnings = "4251";
|
||||
|
||||
// Linker settings
|
||||
var LinkTool = config.Tools('VCLinkerTool');
|
||||
LinkTool.SubSystem = subSystemWindows;
|
||||
LinkTool.TargetMachine = machineX86;
|
||||
if(bDebug)
|
||||
{
|
||||
LinkTool.LinkIncremental = linkIncrementalYes;
|
||||
LinkTool.GenerateDebugInformation = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
LinkTool.LinkIncremental = linkIncrementalNo;
|
||||
}
|
||||
|
||||
// Additional Library Directories
|
||||
var strAddDepends = 'libcocos2d.lib libgles_cm.lib';
|
||||
if (wizard.FindSymbol('CCX_USE_BOX2D'))
|
||||
{
|
||||
strAddDepends += ' libBox2d.lib';
|
||||
}
|
||||
if (wizard.FindSymbol('CCX_USE_CHIPMUNK'))
|
||||
{
|
||||
strAddDepends +=' libchipmunk.lib';
|
||||
}
|
||||
if (wizard.FindSymbol('CCX_USE_COCOS_DENSHION_SIMPLE_AUDIO_ENGINE'))
|
||||
{
|
||||
strAddDepends += ' libCocosDenshion.lib';
|
||||
}
|
||||
LinkTool.AdditionalLibraryDirectories = '$(OutDir)';
|
||||
LinkTool.AdditionalDependencies = strAddDepends;
|
||||
|
||||
// Resource settings
|
||||
var RCTool = config.Tools("VCResourceCompilerTool");
|
||||
RCTool.Culture = rcEnglishUS;
|
||||
RCTool.AdditionalIncludeDirectories = "$(IntDir)";
|
||||
if(bDebug)
|
||||
RCTool.PreprocessorDefinitions = "_DEBUG";
|
||||
else
|
||||
RCTool.PreprocessorDefinitions = "NDEBUG";
|
||||
|
||||
// MIDL settings
|
||||
var MidlTool = config.Tools("VCMidlTool");
|
||||
MidlTool.MkTypLibCompatible = false;
|
||||
if(IsPlatformWin32(config))
|
||||
MidlTool.TargetEnvironment = midlTargetWin32;
|
||||
if(bDebug)
|
||||
MidlTool.PreprocessorDefinitions = "_DEBUG";
|
||||
else
|
||||
MidlTool.PreprocessorDefinitions = "NDEBUG";
|
||||
MidlTool.HeaderFileName = strProjectName + ".h";
|
||||
MidlTool.InterfaceIdentifierFileName = strProjectName + "_i.c";
|
||||
MidlTool.ProxyFileName = strProjectName + "_p.c";
|
||||
MidlTool.GenerateStublessProxies = true;
|
||||
MidlTool.TypeLibraryName = "$(IntDir)/" + strProjectName + ".tlb";
|
||||
MidlTool.DLLDataFileName = "";
|
||||
|
||||
// Post-build settings
|
||||
// var PostBuildTool = config.Tools("VCPostBuildEventTool");
|
||||
// PostBuildTool.Description = "Performing registration...";
|
||||
// PostBuildTool.CommandLine = "\"$(TargetPath)\" /RegServer";
|
||||
}
|
||||
}
|
||||
catch(e)
|
||||
{
|
||||
throw e;
|
||||
}
|
||||
}
|
||||
|
||||
function AddPchSettings(proj)
|
||||
{
|
||||
try
|
||||
{
|
||||
// var files = proj.Object.Files;
|
||||
// var fStdafx = files("StdAfx.cpp");
|
||||
//
|
||||
// var nCntr;
|
||||
// for(nCntr = 0; nCntr < nNumConfigs; nCntr++)
|
||||
// {
|
||||
// var config = fStdafx.FileConfigurations(astrConfigName[nCntr]);
|
||||
// config.Tool.UsePrecompiledHeader = pchCreateUsingSpecific;
|
||||
// }
|
||||
}
|
||||
catch(e)
|
||||
{
|
||||
throw e;
|
||||
}
|
||||
}
|
||||
|
||||
function DelFile(fso, strWizTempFile)
|
||||
{
|
||||
try
|
||||
{
|
||||
if (fso.FileExists(strWizTempFile))
|
||||
{
|
||||
var tmpFile = fso.GetFile(strWizTempFile);
|
||||
tmpFile.Delete();
|
||||
}
|
||||
}
|
||||
catch(e)
|
||||
{
|
||||
throw e;
|
||||
}
|
||||
}
|
||||
|
||||
function CreateCustomInfFile()
|
||||
{
|
||||
try
|
||||
{
|
||||
var fso, TemplatesFolder, TemplateFiles, strTemplate;
|
||||
fso = new ActiveXObject('Scripting.FileSystemObject');
|
||||
|
||||
var TemporaryFolder = 2;
|
||||
var tfolder = fso.GetSpecialFolder(TemporaryFolder);
|
||||
|
||||
var strWizTempFile = tfolder.Path + "\\" + fso.GetTempName();
|
||||
|
||||
var strTemplatePath = wizard.FindSymbol('TEMPLATES_PATH');
|
||||
var strInfFile = strTemplatePath + '\\Templates.inf';
|
||||
wizard.RenderTemplate(strInfFile, strWizTempFile);
|
||||
|
||||
var WizTempFile = fso.GetFile(strWizTempFile);
|
||||
|
||||
return WizTempFile;
|
||||
}
|
||||
catch(e)
|
||||
{
|
||||
throw e;
|
||||
}
|
||||
}
|
||||
|
||||
function GetTargetName(strName, strProjectName)
|
||||
{
|
||||
try
|
||||
{
|
||||
var strTarget = strName;
|
||||
|
||||
var nIndex = strName.indexOf("root");
|
||||
|
||||
if (nIndex >= 0)
|
||||
{
|
||||
strTarget = strName.substring(0, nIndex) + strProjectName + strName.substring(nIndex + 4, strName.length);
|
||||
}
|
||||
|
||||
return strTarget;
|
||||
}
|
||||
catch(e)
|
||||
{
|
||||
throw e;
|
||||
}
|
||||
}
|
||||
|
||||
function AddFilesToCustomProj(proj, strProjectName, strProjectPath, InfFile)
|
||||
{
|
||||
try
|
||||
{
|
||||
var projItems = proj.ProjectItems
|
||||
|
||||
var strTemplatePath = wizard.FindSymbol('TEMPLATES_PATH');
|
||||
|
||||
var strTpl = '';
|
||||
var strName = '';
|
||||
|
||||
var strTextStream = InfFile.OpenAsTextStream(1, -2);
|
||||
while (!strTextStream.AtEndOfStream)
|
||||
{
|
||||
strTpl = strTextStream.ReadLine();
|
||||
if (strTpl != '')
|
||||
{
|
||||
strName = strTpl;
|
||||
var strTarget = GetTargetName(strName, strProjectName);
|
||||
var strTemplate = strTemplatePath + '\\' + strTpl;
|
||||
var strFile = strProjectPath + '\\' + strTarget;
|
||||
|
||||
var bCopyOnly = false; //"true" will only copy the file from strTemplate to strTarget without rendering/adding to the project
|
||||
var strExt = strName.substr(strName.lastIndexOf("."));
|
||||
if (strExt == ".bmp" || strExt == ".ico" || strExt == ".gif" || strExt == ".rtf" || strExt == ".css")
|
||||
bCopyOnly = true;
|
||||
wizard.RenderTemplate(strTemplate, strFile, bCopyOnly);
|
||||
|
||||
// don't add these files to the project
|
||||
if(strTarget == strProjectName + ".h" ||
|
||||
strTarget == strProjectName + "ps.mk" ||
|
||||
strTarget == strProjectName + "ps.def")
|
||||
continue;
|
||||
|
||||
proj.Object.AddFile(strFile);
|
||||
}
|
||||
}
|
||||
strTextStream.Close();
|
||||
}
|
||||
catch(e)
|
||||
{
|
||||
throw e;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,67 @@
|
|||
#include "AppDelegate.h"
|
||||
#include "cocos2d.h"
|
||||
|
||||
#include "HelloWorldScene.h"
|
||||
|
||||
using namespace cocos2d;
|
||||
|
||||
AppDelegate::AppDelegate()
|
||||
:m_pMainWnd(NULL)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
AppDelegate::~AppDelegate()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bool AppDelegate::applicationDidFinishLaunching()
|
||||
{
|
||||
// init the window
|
||||
#if defined(CCX_PLATFORM_UPHONE)
|
||||
if (!(m_pMainWnd = new CCXEGLView(this)) ||
|
||||
! m_pMainWnd->Create(&TRectangle(0,0,GetScreenWidth(),GetScreenHeight())))
|
||||
#elif defined(CCX_PLATFORM_WIN32)
|
||||
if (!(m_pMainWnd = new CCXEGLView()) ||
|
||||
! m_pMainWnd->Create(L"cocos2d-win32", 320, 480) )
|
||||
#else
|
||||
#error
|
||||
#endif
|
||||
{
|
||||
CCX_SAFE_DELETE(m_pMainWnd);
|
||||
return false;
|
||||
}
|
||||
|
||||
// init director
|
||||
CCDirector * pDirector = CCDirector::sharedDirector();
|
||||
pDirector->setOpenGLView(m_pMainWnd);
|
||||
pDirector->setDeviceOrientation(kCCDeviceOrientationLandscapeLeft);
|
||||
// pDirector->setDeviceOrientation(kCCDeviceOrientationPortrait);
|
||||
pDirector->setDisplayFPS(true);
|
||||
|
||||
#if defined(CCX_PLATFORM_UPHONE)
|
||||
// set the resource path
|
||||
CCFileUtils::setResourcePath("/NEWPLUS/TDA_DATA/Data/cocos2d_tests/");
|
||||
#endif
|
||||
|
||||
|
||||
CCScene * pScene = HelloWorld::scene();
|
||||
CCLayer * pLayer = CCLayer::node();
|
||||
pLayer->autorelease();
|
||||
|
||||
pScene->addChild(pLayer);
|
||||
pDirector->runWithScene(pScene);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
void AppDelegate::applicationDidEnterBackground()
|
||||
{
|
||||
CCDirector::sharedDirector()->stopAnimation();
|
||||
}
|
||||
|
||||
void AppDelegate::applicationWillEnterForeground()
|
||||
{
|
||||
CCDirector::sharedDirector()->startAnimation();
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
#ifndef __APP_DELEGATE_H__
|
||||
#define __APP_DELEGATE_H__
|
||||
|
||||
#include "cocos2d.h"
|
||||
|
||||
class AppDelegate : public cocos2d::CCXApplication
|
||||
{
|
||||
public:
|
||||
AppDelegate();
|
||||
~AppDelegate();
|
||||
|
||||
virtual bool applicationDidFinishLaunching();
|
||||
virtual void applicationDidEnterBackground();
|
||||
virtual void applicationWillEnterForeground();
|
||||
|
||||
protected:
|
||||
cocos2d::CCXEGLView *m_pMainWnd;
|
||||
|
||||
// private:
|
||||
// Int32 m_nTimer;
|
||||
};
|
||||
|
||||
|
||||
#endif // __APP_DELEGATE_H__
|
||||
|
|
@ -0,0 +1,53 @@
|
|||
|
||||
#include "HelloWorldScene.h"
|
||||
|
||||
using namespace cocos2d;
|
||||
|
||||
CCScene* HelloWorld::scene()
|
||||
{
|
||||
// 'scene' is an autorelease object
|
||||
CCScene *scene = CCScene::node();
|
||||
|
||||
// 'layer' is an autorelease object
|
||||
HelloWorld *layer = HelloWorld::node();
|
||||
|
||||
// add layer as a child to scene
|
||||
scene->addChild(layer);
|
||||
|
||||
// return the scene
|
||||
return scene;
|
||||
}
|
||||
|
||||
// on "init" you need to initialize your instance
|
||||
bool HelloWorld::init()
|
||||
{
|
||||
//////////////////////////////
|
||||
// 1. super init first
|
||||
if ( !CCLayer::init() )
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/////////////////////////////
|
||||
// 2. add your codes below...
|
||||
|
||||
// add a label shows "Hello World"
|
||||
// create and initialize a label
|
||||
CCLabel* pLabel = CCLabel::labelWithString("HelloWorld", "Thonburi", 64);
|
||||
|
||||
// ask director the window size
|
||||
CGSize size = CCDirector::sharedDirector()->getWinSize();
|
||||
|
||||
// position the label on the center of the screen
|
||||
pLabel->setPosition( ccp(size.width / 2, size.height / 2) );
|
||||
|
||||
// add the label as a child to this layer
|
||||
this->addChild(pLabel);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
void HelloWorld::menuCloseCallback(NSObject* pSender)
|
||||
{
|
||||
CCDirector::sharedDirector()->end();
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
|
||||
#ifndef _HELLOWORLD_LAYER_H_
|
||||
#define _HELLOWORLD_LAYER_H_
|
||||
|
||||
#include "cocos2d.h"
|
||||
|
||||
class HelloWorld : public cocos2d::CCLayer
|
||||
{
|
||||
public:
|
||||
// Here's a difference. Method 'init' in cocos2d-x returns bool, instead of returning 'id' in cocos2d-iphone
|
||||
virtual bool init();
|
||||
|
||||
// there's no 'id' in cpp, so we recommand to return the exactly class pointer
|
||||
static cocos2d::CCScene* scene();
|
||||
|
||||
// a selector callback
|
||||
virtual void menuCloseCallback(NSObject* pSender);
|
||||
|
||||
// implement the "static node()" method manually
|
||||
LAYER_NODE_FUNC(HelloWorld);
|
||||
};
|
||||
|
||||
#endif // _HELLOWORLD_SCENE_H_
|
|
@ -0,0 +1,12 @@
|
|||
win32/res/root.ico
|
||||
win32/root.rc
|
||||
win32/resource.h
|
||||
|
||||
win32/main.h
|
||||
win32/main.cpp
|
||||
|
||||
Classes/AppDelegate.h
|
||||
Classes/AppDelegate.cpp
|
||||
|
||||
Classes/HelloWorldScene.h
|
||||
Classes/HelloWorldScene.cpp
|
|
@ -0,0 +1,21 @@
|
|||
#include "main.h"
|
||||
#include "../AppDelegate.h"
|
||||
|
||||
HINSTANCE g_hInstance;
|
||||
|
||||
int APIENTRY _tWinMain(HINSTANCE hInstance,
|
||||
HINSTANCE hPrevInstance,
|
||||
LPTSTR lpCmdLine,
|
||||
int nCmdShow)
|
||||
{
|
||||
UNREFERENCED_PARAMETER(hPrevInstance);
|
||||
UNREFERENCED_PARAMETER(lpCmdLine);
|
||||
|
||||
g_hInstance = hInstance;
|
||||
|
||||
int nRet = 0;
|
||||
AppDelegate app;
|
||||
nRet = app.Run();
|
||||
|
||||
return nRet;
|
||||
}
|
|
@ -0,0 +1,16 @@
|
|||
#ifndef __MAIN_H__
|
||||
#define __MAIN_H__
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
|
||||
// Windows Header Files:
|
||||
#include <windows.h>
|
||||
|
||||
// C RunTime Header Files
|
||||
#include <stdlib.h>
|
||||
#include <malloc.h>
|
||||
#include <memory.h>
|
||||
#include <tchar.h>
|
||||
|
||||
extern HINSTANCE g_hInstance;
|
||||
|
||||
#endif // __WINMAIN_H__
|
After Width: | Height: | Size: 1.1 KiB |
|
@ -0,0 +1,22 @@
|
|||
//{{NO_DEPENDENCIES}}
|
||||
// Microsoft Visual C++ generated include file.
|
||||
// Used by [!output PROJECT_NAME].RC
|
||||
//
|
||||
|
||||
[!if WTL_COM_SERVER]
|
||||
#define IDS_PROJNAME 100
|
||||
#define IDR_[!output UPPERCASE_SAFE_PROJECT_NAME] 100
|
||||
[!endif]
|
||||
|
||||
#define ID_FILE_NEW_WINDOW 32771
|
||||
|
||||
// Next default values for new objects
|
||||
//
|
||||
#ifdef APSTUDIO_INVOKED
|
||||
#ifndef APSTUDIO_READONLY_SYMBOLS
|
||||
#define _APS_NEXT_RESOURCE_VALUE 201
|
||||
#define _APS_NEXT_CONTROL_VALUE 1000
|
||||
#define _APS_NEXT_SYMED_VALUE 101
|
||||
#define _APS_NEXT_COMMAND_VALUE 32775
|
||||
#endif
|
||||
#endif
|
|
@ -0,0 +1,86 @@
|
|||
// Microsoft Visual C++ generated resource script.
|
||||
//
|
||||
#include "resource.h"
|
||||
|
||||
#define APSTUDIO_READONLY_SYMBOLS
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Generated from the TEXTINCLUDE 2 resource.
|
||||
//
|
||||
#define APSTUDIO_HIDDEN_SYMBOLS
|
||||
#include "windows.h"
|
||||
#undef APSTUDIO_HIDDEN_SYMBOLS
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
#undef APSTUDIO_READONLY_SYMBOLS
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// English (U.S.) resources
|
||||
|
||||
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
|
||||
#ifdef _WIN32
|
||||
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
||||
#pragma code_page(1252)
|
||||
#endif //_WIN32
|
||||
|
||||
#ifdef APSTUDIO_INVOKED
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// TEXTINCLUDE
|
||||
//
|
||||
|
||||
1 TEXTINCLUDE
|
||||
BEGIN
|
||||
"resource.h\0"
|
||||
END
|
||||
|
||||
#endif // APSTUDIO_INVOKED
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Icon
|
||||
//
|
||||
|
||||
// Icon with lowest ID value placed first to ensure application icon
|
||||
// remains consistent on all systems.
|
||||
IDR_MAINFRAME ICON "res\\[!output PROJECT_NAME].ico"
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Version
|
||||
//
|
||||
|
||||
VS_VERSION_INFO VERSIONINFO
|
||||
FILEVERSION 1,0,0,1
|
||||
PRODUCTVERSION 1,0,0,1
|
||||
FILEFLAGSMASK 0x3fL
|
||||
#ifdef _DEBUG
|
||||
FILEFLAGS 0x1L
|
||||
#else
|
||||
FILEFLAGS 0x0L
|
||||
#endif
|
||||
FILEOS 0x4L
|
||||
FILETYPE 0x2L
|
||||
FILESUBTYPE 0x0L
|
||||
BEGIN
|
||||
BLOCK "StringFileInfo"
|
||||
BEGIN
|
||||
BLOCK "040904B0"
|
||||
BEGIN
|
||||
VALUE "CompanyName", "\0"
|
||||
VALUE "FileDescription", "[!output PROJECT_NAME] Module\0"
|
||||
VALUE "FileVersion", "1, 0, 0, 1\0"
|
||||
VALUE "InternalName", "[!output PROJECT_NAME]\0"
|
||||
VALUE "LegalCopyright", "Copyright [!output WTL_CURRENT_YEAR]\0"
|
||||
VALUE "OriginalFilename", "[!output PROJECT_NAME].exe\0"
|
||||
VALUE "ProductName", "[!output PROJECT_NAME] Module\0"
|
||||
VALUE "ProductVersion", "1, 0, 0, 1\0"
|
||||
END
|
||||
END
|
||||
BLOCK "VarFileInfo"
|
||||
BEGIN
|
||||
VALUE "Translation", 0x0409, 0x04B0
|
||||
END
|
||||
END
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
#endif // !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
|
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioProject ProjectType="Visual C++" Version="9.00">
|
||||
<Platforms>
|
||||
<Platform
|
||||
Name="Win32"/>
|
||||
</Platforms>
|
||||
<Configurations>
|
||||
<Configuration Name="Debug|Win32"></Configuration>
|
||||
<Configuration Name="Release|Win32"></Configuration>
|
||||
</Configurations>
|
||||
</VisualStudioProject>
|
||||
|
|
@ -0,0 +1,215 @@
|
|||
// Setup program for the Cocos2d-win32 App Wizard for VC++ 9.0 (Orcas)
|
||||
|
||||
main();
|
||||
|
||||
function main()
|
||||
{
|
||||
// Decode command line arguments
|
||||
var bDebug = false;
|
||||
var bElevated = false;
|
||||
var Args = WScript.Arguments;
|
||||
for(var i = 0; i < Args.length; i++)
|
||||
{
|
||||
if(Args(i) == "/debug")
|
||||
bDebug = true;
|
||||
else if(Args(i) == "/elevated")
|
||||
bElevated = true;
|
||||
}
|
||||
|
||||
// See if UAC is enabled
|
||||
var Shell = WScript.CreateObject("Shell.Application");
|
||||
if(!bElevated && Shell.IsRestricted("System", "EnableLUA"))
|
||||
{
|
||||
// Check that the script is being run interactively.
|
||||
if(!WScript.Interactive)
|
||||
{
|
||||
WScript.Echo("ERROR: Elevation required.");
|
||||
return;
|
||||
}
|
||||
|
||||
// Now relaunch the script, using the "RunAs" verb to elevate
|
||||
var strParams = "\"" + WScript.ScriptFullName + "\"";
|
||||
if (bDebug)
|
||||
strParams += " /debug";
|
||||
strParams += " /elevated";
|
||||
Shell.ShellExecute(WScript.FullName, strParams, null, "RunAs");
|
||||
return;
|
||||
}
|
||||
|
||||
// Create shell object
|
||||
var WSShell = WScript.CreateObject("WScript.Shell");
|
||||
// Create file system object
|
||||
var FileSys = WScript.CreateObject("Scripting.FileSystemObject");
|
||||
|
||||
// Get the folder containing the script file
|
||||
var strValue = FileSys.GetParentFolderName(WScript.ScriptFullName);
|
||||
if(strValue == null || strValue == "")
|
||||
strValue = ".";
|
||||
|
||||
var strSourceFolder = FileSys.BuildPath(strValue, "CCXAppWiz");
|
||||
if(bDebug)
|
||||
WScript.Echo("Source: " + strSourceFolder);
|
||||
|
||||
if(!FileSys.FolderExists(strSourceFolder))
|
||||
{
|
||||
WScript.Echo("ERROR: Cannot find Wizard folder (should be: " + strSourceFolder + ")");
|
||||
return;
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
var strVC9Key = "HKLM\\Software\\Microsoft\\VisualStudio\\9.0\\Setup\\VC\\ProductDir";
|
||||
strValue = WSShell.RegRead(strVC9Key);
|
||||
}
|
||||
catch(e)
|
||||
{
|
||||
try
|
||||
{
|
||||
var strVC9Key_x64 = "HKLM\\Software\\Wow6432Node\\Microsoft\\VisualStudio\\9.0\\Setup\\VC\\ProductDir";
|
||||
strValue = WSShell.RegRead(strVC9Key_x64);
|
||||
}
|
||||
catch(e)
|
||||
{
|
||||
WScript.Echo("ERROR: Cannot find where Visual Studio 9.0 is installed.");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
var strDestFolder = FileSys.BuildPath(strValue, "vcprojects");
|
||||
if(bDebug)
|
||||
WScript.Echo("Destination: " + strDestFolder);
|
||||
if(!FileSys.FolderExists(strDestFolder))
|
||||
{
|
||||
WScript.Echo("ERROR: Cannot find destination folder (should be: " + strDestFolder + ")");
|
||||
return;
|
||||
}
|
||||
|
||||
// Copy files
|
||||
try
|
||||
{
|
||||
var strSrc = FileSys.BuildPath(strSourceFolder, "CCXAppWiz.ico");
|
||||
var strDest = FileSys.BuildPath(strDestFolder, "CCXAppWiz.ico");
|
||||
FileSys.CopyFile(strSrc, strDest);
|
||||
|
||||
strSrc = FileSys.BuildPath(strSourceFolder, "CCXAppWiz.vsdir");
|
||||
strDest = FileSys.BuildPath(strDestFolder, "CCXAppWiz.vsdir");
|
||||
FileSys.CopyFile(strSrc, strDest);
|
||||
}
|
||||
catch(e)
|
||||
{
|
||||
var strError = "no info";
|
||||
if(e.description.length != 0)
|
||||
strError = e.description;
|
||||
WScript.Echo("ERROR: Cannot copy file (" + strError + ")");
|
||||
return;
|
||||
}
|
||||
|
||||
// Read and write CCXAppWiz.vsz, add engine version and replace path when found
|
||||
try
|
||||
{
|
||||
var strSrc = FileSys.BuildPath(strSourceFolder, "CCXAppWiz.vsz");
|
||||
var strDest = FileSys.BuildPath(strDestFolder, "CCXAppWiz.vsz");
|
||||
|
||||
var ForReading = 1;
|
||||
var fileSrc = FileSys.OpenTextFile(strSrc, ForReading);
|
||||
if(fileSrc == null)
|
||||
{
|
||||
WScript.Echo("ERROR: Cannot open source file " + strSrc);
|
||||
return;
|
||||
}
|
||||
|
||||
var ForWriting = 2;
|
||||
var fileDest = FileSys.OpenTextFile(strDest, ForWriting, true);
|
||||
if(fileDest == null)
|
||||
{
|
||||
WScript.Echo("ERROR: Cannot open destination file" + strDest);
|
||||
return;
|
||||
}
|
||||
|
||||
while(!fileSrc.AtEndOfStream)
|
||||
{
|
||||
var strLine = fileSrc.ReadLine();
|
||||
if(strLine.indexOf("Wizard=VsWizard.VsWizardEngine") != -1)
|
||||
strLine += ".9.0";
|
||||
else if(strLine.indexOf("WIZARD_VERSION") != -1)
|
||||
strLine = "Param=\"WIZARD_VERSION = 9.0\"";
|
||||
else if(strLine.indexOf("ABSOLUTE_PATH") != -1)
|
||||
strLine = "Param=\"ABSOLUTE_PATH = " + strSourceFolder + "\"";
|
||||
fileDest.WriteLine(strLine);
|
||||
}
|
||||
|
||||
fileSrc.Close();
|
||||
fileDest.Close();
|
||||
}
|
||||
catch(e)
|
||||
{
|
||||
var strError = "no info";
|
||||
if(e.description.length != 0)
|
||||
strError = e.description;
|
||||
WScript.Echo("ERROR: Cannot read and write CCXAppWiz.vsz (" + strError + ")");
|
||||
return;
|
||||
}
|
||||
|
||||
// Create Cocos2d-x folder
|
||||
var strDestCCXFolder = "";
|
||||
try
|
||||
{
|
||||
strDestCCXFolder = FileSys.BuildPath(strDestFolder, "Cocos2d-x");
|
||||
if(!FileSys.FolderExists(strDestCCXFolder))
|
||||
FileSys.CreateFolder(strDestCCXFolder);
|
||||
if(bDebug)
|
||||
WScript.Echo("CCX Folder: " + strDestCCXFolder);
|
||||
}
|
||||
catch(e)
|
||||
{
|
||||
var strError = "no info";
|
||||
if(e.description.length != 0)
|
||||
strError = e.description;
|
||||
WScript.Echo("ERROR: Cannot create CCX folder (" + strError + ")");
|
||||
return;
|
||||
}
|
||||
|
||||
// Read and write additional CCXAppWiz.vsdir, add path to the wizard location
|
||||
try
|
||||
{
|
||||
var strSrc = FileSys.BuildPath(strSourceFolder, "CCXAppWiz.vsdir");
|
||||
var strDest = FileSys.BuildPath(strDestCCXFolder, "CCXAppWiz.vsdir");
|
||||
|
||||
var ForReading = 1;
|
||||
var fileSrc = FileSys.OpenTextFile(strSrc, ForReading);
|
||||
if(fileSrc == null)
|
||||
{
|
||||
WScript.Echo("ERROR: Cannot open source file " + strSrc);
|
||||
return;
|
||||
}
|
||||
|
||||
var ForWriting = 2;
|
||||
var fileDest = FileSys.OpenTextFile(strDest, ForWriting, true);
|
||||
if(fileDest == null)
|
||||
{
|
||||
WScript.Echo("ERROR: Cannot open destination file" + strDest);
|
||||
return;
|
||||
}
|
||||
|
||||
while(!fileSrc.AtEndOfStream)
|
||||
{
|
||||
var strLine = fileSrc.ReadLine();
|
||||
if(strLine.indexOf("CCXAppWiz.vsz|") != -1)
|
||||
strLine = "..\\" + strLine;
|
||||
fileDest.WriteLine(strLine);
|
||||
}
|
||||
|
||||
fileSrc.Close();
|
||||
fileDest.Close();
|
||||
}
|
||||
catch(e)
|
||||
{
|
||||
var strError = "no info";
|
||||
if(e.description.length != 0)
|
||||
strError = e.description;
|
||||
WScript.Echo("ERROR: Cannot read and write CCX\\CCXAppWiz.vsdir (" + strError + ")");
|
||||
return;
|
||||
}
|
||||
|
||||
WScript.Echo("App Wizard successfully installed!");
|
||||
}
|
|
@ -1,65 +0,0 @@
|
|||
<?xml version="1.0" encoding="gb2312"?>
|
||||
<VisualStudioUserFile
|
||||
ProjectType="Visual C++"
|
||||
Version="9.00"
|
||||
ShowAllFiles="false"
|
||||
>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
>
|
||||
<DebugSettings
|
||||
Command="$(TargetPath)"
|
||||
WorkingDirectory=""
|
||||
CommandArguments=""
|
||||
Attach="false"
|
||||
DebuggerType="3"
|
||||
Remote="1"
|
||||
RemoteMachine="WALZER-NOTEBOOK"
|
||||
RemoteCommand=""
|
||||
HttpUrl=""
|
||||
PDBPath=""
|
||||
SQLDebugging=""
|
||||
Environment=""
|
||||
EnvironmentMerge="true"
|
||||
DebuggerFlavor=""
|
||||
MPIRunCommand=""
|
||||
MPIRunArguments=""
|
||||
MPIRunWorkingDirectory=""
|
||||
ApplicationCommand=""
|
||||
ApplicationArguments=""
|
||||
ShimCommand=""
|
||||
MPIAcceptMode=""
|
||||
MPIAcceptFilter=""
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
>
|
||||
<DebugSettings
|
||||
Command="$(TargetPath)"
|
||||
WorkingDirectory=""
|
||||
CommandArguments=""
|
||||
Attach="false"
|
||||
DebuggerType="3"
|
||||
Remote="1"
|
||||
RemoteMachine="WALZER-NOTEBOOK"
|
||||
RemoteCommand=""
|
||||
HttpUrl=""
|
||||
PDBPath=""
|
||||
SQLDebugging=""
|
||||
Environment=""
|
||||
EnvironmentMerge="true"
|
||||
DebuggerFlavor=""
|
||||
MPIRunCommand=""
|
||||
MPIRunArguments=""
|
||||
MPIRunWorkingDirectory=""
|
||||
ApplicationCommand=""
|
||||
ApplicationArguments=""
|
||||
ShimCommand=""
|
||||
MPIAcceptMode=""
|
||||
MPIAcceptFilter=""
|
||||
/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
</VisualStudioUserFile>
|